I cant get "server = domain" to work

John Doe johnny_5five at lycos.com
Tue Feb 13 01:04:33 GMT 2001


Ok, here is my situation,

I have a Samba server (Sam) and an NT Domain controller(NewT) on a domain called Dominic.  I am trying to be able to log into Sam using NewT to verify the passwords and usernames.  I did have it working with the "security = server" option, but i eventually want to be able to dynamically add users to Sam, along with what groups they belong too (hopefully using the "add user script = " and the "delete user script = " options).  This means that i need "security = domain".  I stopped the smb daemons, added Sam to the domain on NewT(as a "Windows NT workstation or server"), then typed the following command on Sam to add him to the domain:
smbpasswd -j Dominic -r NewT    ,
edited the smb.conf file to this:
###################### SMB.CONF ######################
[global]
netbios name = Sam
encrypt passwords = yes
security = domain
domain logons = yes  ##I have tried without this line 
#also
workgroup = Dominic
password server = NewT
guest ok = yes

######################################################
#I have also played with many of these options
#(i dont think most of 'em matter, but you nevr know
#log file = directory/samba.log
#max log file = 1000
#local master = no
#dns proxy = no
#guest account = ftp
######################################################

[share1]
read only = yes
write list = user1 ##(username is "user1")
path = directory/share


################ END SMB.CONF #######################

and then i restarted the daemons.

I tried to log in using a username (user1) that worked with "security = server" (ie, it is a valid unix account and a valid NT account).

I have also tried many variations of the above and have came up with nothing.

I know simular questions have been asked and i apologize, but i am kinda new to this game, and i have not been able to figure this one out, thankyou to anyone who can help, i really appreciate it :)






Get your small business started at Lycos Small Business at http://www.lycos.com/business/mail.html




More information about the samba-ntdom mailing list