Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-29-2003, 05:42 AM   #1
LQ Newbie
Registered: Jan 2003
Location: UK
Distribution: FC4
Posts: 8

Rep: Reputation: 0
Samba Using NT Password Server


I have recently setup a file server using Samba. It is working almost perfectly however I have come across one obstacle - user authentication.
I am running a Windows NT 4.0 Server with all of the user accounts setup and was of the understanding that if I setup Samba to use that server as a password server the accounts wouldn't need to be setup on the Linux box. Please tell me if I've got this completely round my neck.
At present there are two accounts on Linux, one for root and one for administrator (with a few more restrictions than root). I have setup a share with 0777 access permissions on the folder and it shows up under Network Neighborhood. However if I try and access it (while logged into the NT network) it will ask for a username and password. If I enter the administrator password it works fine, however I was hoping that the NT authentication would take care of everything.
At present my smb.conf file has the following:

security = server

password server = NTServer

encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

NTServer also has an entry in the lmhosts file for the IP address.
The Samba installation is 2.2.7a and was installed as part of the RedHat 9 installation.
I'm at a loss for what I can do. One option is to put the authentication into the net use statement in the login script, but if there's a better way I'd rather use it.

Thanks in advance for any help or advice,

Old 08-29-2003, 10:18 PM   #2
LQ Newbie
Registered: Aug 2003
Posts: 5

Rep: Reputation: 0
Since noone has answered you yet...

I was under the impression that while samba would validate the user name off the password server the user still had to be added to the local samba server.

I believe you can set it to validate the username/password and then force a local user. Loss of security at the user level, but at least only domain users can access the box.


I hope i'm wrong and that someone lets me know.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba as a password Server PAB Linux - Networking 2 03-03-2005 10:46 AM
What password I should enter at attempt of access to the catalogue of a samba-server? ukrainet Linux - Newbie 1 12-21-2004 08:36 AM
Redhat 9 samba server... XP Password Prob? Nickj Linux - Networking 1 09-08-2004 12:00 PM
Logon samba on other samba password list hernandi Linux - Networking 0 10-14-2003 01:40 PM
Just change Samba password, not Unix password? sorrodos Linux - Networking 1 08-14-2003 08:52 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration