[Samba] Help: session setup failed: NT_STATUS_LOGON_FAILURE

Josh Konkol susesambaboy at yahoo.com
Mon Feb 25 06:45:05 GMT 2002


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 at 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





More information about the samba mailing list