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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba, with windows user authentication.

Status
Not open for further replies.

hunterhunter

IS-IT--Management
Feb 13, 2006
5
US
Hello,
I have a Samba server that I'd like to implement windows authentication. Here's what I'd like to happen.

I'd like a user to be able to login to his/her windows machine and have the Samba share mapped automatically via a startup script. I already have the share in place, but here's my question.

How do I setup Samba so that it looks to the Windows servers to authenticate a user, instead of the users typing in a password every time they want to use the share?

If you could give me details I'd appreciate it, because I'm still a Linux novice. Also, if you could make it really easy that would be nice too!

Thanks!
 
If your Windows environment is controlled by a PDC,
Create a new machine account on the PDC for the Samba server as a Pre-Windows 2000 machine.
Stop Samba
In the smb.conf, set
security = domain
password server = *
username map = /some/path/smbusers

In smbusers:
#UNIXNAME = WINDOWSNAME
root = NTDOM\administrator

Add the Samba machine to your domain.
Samba 2.x = smbpasswd -j NTDOM
Samba 3.x = net join NTDOM



"If you always do what you've always done, you will always be where you've always been."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top