I am able to join the domain initially with root username and password. When i reboot and try to logon to the domain it tells me: The system could not log you on because the domain DARCSTAR is unavailable. Additionally, i am having a problem with logging in from smbclient with any user except for root: I type: smbclient -L FILESERVER -U sean password: session_setup_failed: NT_STATUS_LOGON_FAILURE Are these 2 problems related in anyway? I've been messing with this for over a week now and I cannot figure it out. also, in win2k when i open the run window and type : \\FILESERVER\ it opens a username/password box, if i put in sean and the password it pops the box right up again. In the samba.log file it says something to the effect of: Couldn't find user 'sean' in passdb i double checked and sean$ does exist in /etc/samba/smb.conf I am not at the server right now so I do not have exact errors messages. If necessary I can post my smb.conf later today. thank you. -------------- next part -------------- HTML attachment scrubbed and removed
did you add them to the smbpasswd and is samba's password encryption set to yes? -----Original Message----- From: Sean Chambers [mailto:sean@gwchosting.com] Sent: Thursday, December 12, 2002 8:49 AM To: samba@lists.samba.org Subject: [Samba] Problem with smbclient and domain logon I am able to join the domain initially with root username and password. When i reboot and try to logon to the domain it tells me: The system could not log you on because the domain DARCSTAR is unavailable. Additionally, i am having a problem with logging in from smbclient with any user except for root: I type: smbclient -L FILESERVER -U sean password: session_setup_failed: NT_STATUS_LOGON_FAILURE Are these 2 problems related in anyway? I've been messing with this for over a week now and I cannot figure it out. also, in win2k when i open the run window and type : \\FILESERVER\ <file://\\FILESERVER\> it opens a username/password box, if i put in sean and the password it pops the box right up again. In the samba.log file it says something to the effect of: Couldn't find user 'sean' in passdb i double checked and sean$ does exist in /etc/samba/smb.conf I am not at the server right now so I do not have exact errors messages. If necessary I can post my smb.conf later today. thank you. -------------- next part -------------- HTML attachment scrubbed and removed
Sean Chambers wrote:> also, in win2k when i open the run window and type : \\FILESERVER\ > <file://\\FILESERVER\> > it opens a username/password box, if i put in sean and the password it > pops the box right up again. In the samba.log file it says something to > the effect of: > Couldn't find user 'sean' in passdbAFAIK, you have to create machine trust accounts in order to allow them to access your Samba PDC with a W2K workstation. After this, you create user accounts too. There it is machinename$ to be used, not user$ :-) Remember to add -d /dev/null and -s /bin/false to useradd command when creating Machine Trust Account. Also do a passwd -l "machinename$". Then a smbpasswd -a -m "machinename$". I can be more precise with a detailed example if you wish, but: This is all very well explained in "Sam's teach yourself samba in 24 hours", chapter 22, surely the best samba book I ever bought. ;-) Cheers -- Jean-Paul ARGUDO