Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Synchronize SAMBA and Win2k Domain Passwords?

Status
Not open for further replies.

ag6969

Technical User
Jun 4, 2001
85
CA
I currently have Samba running in a Windows 2000 Mixed Mode Domain. Everything works great, from win2000/XP clients. There is one annoyance, and that is clients are prompted for a password when accessing the server. THey are accepted without any problems, since I created UNIX/Samba passwords, but is there a way to synchronize the Domain passwords with the Samba passwords? The smb.conf file contains:
[global]
workgroup=DOMAIN_NAME
security=domain
password server=DOMAIN_CONTROLLER_NAME
null passwords=yes
encrypt passwords=yes
winbind seperator=winbind uid=10000-20000
winbind gid=10000-20000
winbind enum users=yes

I have thought Winbind allowed this? Is there any way to have the Samba server use the Domain controller to authenticate? I don't want to have numerous passwords, and obviously Win2k passwords will expire, meaning numerous passwords. I read a little about Samba-TNG, but can't find any decent documentation, even at their website. If anyone has accomplished this (CONGRATULATIONS!), I would appreciate the help. Thanks.
 
There are tools to enable password sync with Windows servers. One that I have used is Microsoft Services for Unix. This product includes some code that you compile and install on the UNIX (or unix like) machine. I believe that this has been used with Linux but I haven't tried it.

However I don't believe this is necessary to achieve what you want.

WINBIND is one way of making users authenticate to a Windows server. I've haven't had the need to use it as there are other simpler ways for pure file sharing. See the HOWTO guide (referenced below). In particular, see sections 2.5 through 2.5.2. Most of the popular books also provide more information on this topic as well.

I would sugges the simpler options unless you have a need for what WINDBIND does.

This is a pointer to the SAMBA HOWTO collection:

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top