One SAMBA server for windows three workgroups

adilbws used Ask the Experts™
Dear Experts,
I want use single samba server with the workgroup name WG1 and it should be providing domain authentication for 3 workgroups i.e WG1, WG2 AND WG3.

How can I achieve the desired.


Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
I think you need to change your samba as a DC (domain controller) something like

# Global parameters
        local master = Yes
        domain master = Yes
        preferred master = yes
        os level = 128
        domain logons = yes
        hosts allow =
        security = user
        encrypt passwords = Yes
        smb passwd file = /etc/samba/smbpasswd
        passwd program = /usr/bin/passwd %u
        passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*upd
        username map = /etc/samba/smbusers
        unix password sync = Yes
        log file = /var/log/samba/log.%m
        max log size = 50
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = Yes
        wins proxy = Yes
        wins support = yes
        name resolve order = wins lmhosts hosts bcast
        remote announce =
Oh I mean edit your smb.conf as the above I show, might work :)
Also for the client of WG1 to 3, set the wins ip to your samba server, as the above example
Top Expert 2005
A single copy of Samba on a given system can only support a single NT Domain or workgroup. So you could configure the system to be a PDC for only one of those three domains in the general case. The exception to this would be if the server had three NIC's, one for each domain. That would require instances of Samba installations each with its own temp files, config files, etc. I've never had occasion to try this, but I believe it could be made to work.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by jlevie
Please leave any comments here within the next seven days.


EE Cleanup Volunteer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial