Operating System - HP-UX
1836216 Members
3507 Online
110096 Solutions
New Discussion

Setting up CIFS/SAMBA in 2 domains on 11i

 
Norman Dignard
Regular Advisor

Setting up CIFS/SAMBA in 2 domains on 11i

We're in the progress of migrating users to a new network. My server has been multi-homed into both networks/domains and I need to setup samba access to both networks for windows clients in seperate domains.

I've read somewhere a while ago that this is possible. I've been able to get samba to join each domain by changing the smb.conf file however I need to samba to startup allowing access from both.

Can someone tell me how to set this up?

Thanks
Norm
2 REPLIES 2
Geoff Wild
Honored Contributor

Re: Setting up CIFS/SAMBA in 2 domains on 11i

Don't know if this will work, but what about:

(the netbios names goes into wins):

[global]
netbios name = srv_domain1
netbios aliases = srv_domain2
wins server = 1.2.3.4


include = /usr/local/samba/lib/smb.conf.%L
log file = /usr/local/samba/lib/log.%L

smb.conf.srv.domain1
================
; Workgroup and password servers.
workgroup = DOMAIN1
password server = NT01 NT02 NT03 NT04

smb.conf.srv.domain2
================
; Workgroup and password servers.
workgroup = DOMAIN2
password server = EX01 EX02

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.