Why I always get the following message when checking by smbclient? root@bsdsr[/usr/local/etc/rc.d]#smbclient -L localhost -U% added interface ip=192.168.1.254 bcast=192.168.1.255 nmask=255.255.255.0 session setup failed: NT_STATUS_LOGON_FAILURE Something wrong with my settings? TKS for your help!! smb.conf as below # Samba config file created using SWAT # from 192.168.1.200 (192.168.1.200) # Date: 2002/02/23 15:31:00 # Global parameters [global] client code page = 950 workgroup = MYHOME netbios name = BSDSR server string = Samba %v on thomas' FreeBSD interfaces = 192.168.1.254/24 encrypt passwords = Yes update encrypted = Yes null passwords = Yes smb passwd file = /usr/local/samba/private/smbpasswd unix password sync = Yes log file = /var/log/log.%m max log size = 50 os level = 65 preferred master = True domain master = True valid chars = 0xb9 guest account = guest hosts allow = 192.168.1. 127. [homes] comment = Home Directories read only = No create mask = 0700 directory mask = 0700 browseable = No locking = No oplocks = No [netlogon] comment = Network Logon Service path = /usr/local/samba/netlogon share modes = No [lj5l] comment = HP LaserJet 5L on FreeBSD path = /var/spool/samba read only = No printable = Yes printer name = HP LaserJet 5L browseable = No oplocks = No
I think you'll find it's because you don't have a "root" user set up on the NT / 2000 machine you're trying to connect to. I'm not sure on this one, but that's my guess. If anyone else on the list can offer better information, I'm sure they will. :) Anthony. At 06:32 p 23/02/2002, it was written:>Why I always get the following message when checking by smbclient? > >root@bsdsr[/usr/local/etc/rc.d]#smbclient -L localhost -U% >added interface ip=192.168.1.254 bcast=192.168.1.255 nmask=255.255.255.0 >session setup failed: NT_STATUS_LOGON_FAILURE > >Something wrong with my settings? >TKS for your help!! > >smb.conf as below ># Samba config file created using SWAT ># from 192.168.1.200 (192.168.1.200) ># Date: 2002/02/23 15:31:00 > ># Global parameters >[global] > client code page = 950 > workgroup = MYHOME > netbios name = BSDSR > server string = Samba %v on thomas' FreeBSD > interfaces = 192.168.1.254/24 > encrypt passwords = Yes > update encrypted = Yes > null passwords = Yes > smb passwd file = /usr/local/samba/private/smbpasswd > unix password sync = Yes > log file = /var/log/log.%m > max log size = 50 > os level = 65 > preferred master = True > domain master = True > valid chars = 0xb9 > guest account = guest > hosts allow = 192.168.1. 127. > >[homes] > comment = Home Directories > read only = No > create mask = 0700 > directory mask = 0700 > browseable = No > locking = No > oplocks = No > >[netlogon] > comment = Network Logon Service > path = /usr/local/samba/netlogon > share modes = No > >[lj5l] > comment = HP LaserJet 5L on FreeBSD > path = /var/spool/samba > read only = No > printable = Yes > printer name = HP LaserJet 5L > browseable = No > oplocks = No
Josh Konkol
2002-Feb-25 06:45 UTC
[Samba] Help: session setup failed: NT_STATUS_LOGON_FAILURE
You need a security= setting in your global parameters. The default is security=user. I would guess if you want the Samba server to be part of your domain but NOT be the PDC you would set it to Domain. Hope this helps. Josh On Saturday 23 February 2002 01:32, you wrote:> Why I always get the following message when checking by smbclient? > > root@bsdsr[/usr/local/etc/rc.d]#smbclient -L localhost -U% > added interface ip=192.168.1.254 bcast=192.168.1.255 nmask=255.255.255.0 > session setup failed: NT_STATUS_LOGON_FAILURE > > Something wrong with my settings? > TKS for your help!! > > smb.conf as below > # Samba config file created using SWAT > # from 192.168.1.200 (192.168.1.200) > # Date: 2002/02/23 15:31:00 > > # Global parameters > [global] > client code page = 950 > workgroup = MYHOME > netbios name = BSDSR > server string = Samba %v on thomas' FreeBSD > interfaces = 192.168.1.254/24 > encrypt passwords = Yes > update encrypted = Yes > null passwords = Yes > smb passwd file = /usr/local/samba/private/smbpasswd > unix password sync = Yes > log file = /var/log/log.%m > max log size = 50 > os level = 65 > preferred master = True > domain master = True > valid chars = 0xb9 > guest account = guest > hosts allow = 192.168.1. 127. > > [homes] > comment = Home Directories > read only = No > create mask = 0700 > directory mask = 0700 > browseable = No > locking = No > oplocks = No > > [netlogon] > comment = Network Logon Service > path = /usr/local/samba/netlogon > share modes = No > > [lj5l] > comment = HP LaserJet 5L on FreeBSD > path = /var/spool/samba > read only = No > printable = Yes > printer name = HP LaserJet 5L > browseable = No > oplocks = No_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Cedric Spence
2002-Dec-11 01:43 UTC
[Samba] Help: session setup failed: NT_STATUS_LOGON_FAILURE
I am trying to join a win2k machine to a samba Domain. Samba is the only PDC on the Network everytime I try to add the windows 2000 computer to the Domain using the root user, I get the error " The following error occured attempting to join the domain "nextechvt" The Specified user dooes not exist' I used the smbclient tool to troubleshoot and get this error when I use smbclient -L //server gets "session setup failed: NT_STATUS_LOGON_FAILURE". Can Anyone Help Me