"smbclient -L servername -N" not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I would appreciate any ideas on how to correct the problem that we are having that is outlined below. Thanks for your help.

I have been running samba for a long time. Currently we are having problems with it filling up /var/log/messages with

Feb  7 10:45:02 servername smbd[2157]:   Can't become connected user!
Feb 7 10:45:02 servername smbd[2158]: [2008/02/07 10:45:02, 0] smbd/ service.c:make_connec
tion_snum(928)

In doing the list of checks on samba and nmbd, I find that only

smbclient -L servername -N
Anonymous login successful
Domain=[DEPT] OS=[Unix] Server=[Samba 3.0.25b-1.el4_6.4]
tree connect failed: NT_STATUS_LOGON_FAILURE

doesn't work.

smbclient -L servername -U username

works fine.


rpm -aq | grep samba
samba-common-3.0.25b-1.el4_6.4
samba-client-3.0.25b-1.el4_6.4
system-config-samba-1.2.21-1.el4.1
samba-3.0.25b-1.el4_6.4
samba-swat-3.0.25b-1.el4_6.4

uname -r
2.6.9-67.0.1.ELsmp

Our guest account, chemug in samba, cannot log into the system. Regular accounts on samba are having no
problems connecting to and printing through our server.


more smb.conf
# Global parameters

[global]
	workgroup = DEPT

	netbios name = servername
	server string = servername - DEPT Samba Server
	interfaces = 128.148.nn.nn/24 127.0.0.1

	security = user
	smb passwd file = /etc/samba/smbpasswd

	log file = /var/log/samba/log.%m
	max log size = 50
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	dns proxy = yes
	os level = 255
	preferred master = yes

	domain master = yes
#	Added 1/7/06
	local master = yes
	wins proxy = no
	wins support = yes

#	Added 9/06
	password server = yes
#
#       Added to reduce network traffic
	name resolve order = host wins bcast

remote announce = 128.148.nn.255/DEPT 128.148.mmm.255/DEPT 128.148.ooo.255/DEPT 128.148.ppp.255/DEPT 128.148.qqq.255/DEPT

invalid users = bin daemon sys adm tty disk lp mem kmem wheel mail news uucp m an games gopher dip ftp floppy utmp xfs console pppusers popusers slipusers slocate gd
m filesystem root
	valid users = @deptusers @dept2users @users @stockroom @guest
	username map = /etc/samba/smbusers
	domain logons = yes
	guest ok = yes

	guest account = chemug
hosts allow = 128.148.mmm. 128.148.nn. 128.148.ooo. 128.148.ppp. 128.148.qqq.
128.148.rrr.31 128.148.rrr.10 127.
	dos filetimes = Yes
	dos filetime resolution = Yes
##	Changes for cups
	load printers = yes
	printing = cups
	printcap name = /etc/printcap

#	Helps to eliminate "Access Denied"
#	on Windows NT, 2000, and XP
#
	password server = None
	use client driver = yes

#	Add 9/06

	disable spoolss = yes

[homes]
	comment = Home Directories
	writeable = yes
[printers]
	comment = All Printers
	path = /var/spool/samba
	guest ok = Yes
	printable = Yes

[1-Mac]
	comment = Distributed Software for MacIntoshes
	path = /chemusers/1-Mac
	volume = Utilities for MacIntoshes
	guest ok = yes
[1-Win]
	comment = Distributed Software for Windows
	path = /chemusers/1-Win
	volume = Utilities for Window Computers
	guest ok = yes

[Milling]
	comment = Contains the drop boxes for Milling requests
	path = /chemusers/milling
	volume = Milling Drop Box
	writeable = yes
	valid users = @chemusers
	force group = chemusers

[Stockroom]
	comment = Database for the Stockroom Applications
	path = /home/stockroom
	volume = Database for the Stockroom
	valid users = @stockroom
	writeable = yes
	create mask = 660
	directory mask = 0770

netstat -nlp | grep LISTEN| grep -v LISTENING

tcp 0 0 0.0.0.0:905 0.0.0.0:* LISTEN 4115/rpc.statd

tcp 0 0 0.0.0.0:781 0.0.0.0:* LISTEN 4418/rpc.mountd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 4095/portmap

tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 29710/smbd tcp 0 0 0.0.0.0:767 0.0.0.0:* LISTEN 4403/rpc.rquotad

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux