Ameet Chaubal
1999-Apr-13 16:23 UTC
getsmbfilepwent: malformed password entry (uid not number)
Hi all I am sure that there is some mention of this error in the docs somewhere but I could not find it. So, sorry for repeating it here. I have installed samba 2.0.3 on solaris 2.5.1 I carried out all the tests described in the documentation. They were all successful. Bu from an NT server I can't do this net use z: \\server_name\\tmp System error 86 has occurred The specified network passwd is not corrent In the log files I have following lines. [1999/04/13 12:17:21, 0] passdb/smbpass.c:getsmbfilepwent(184) getsmbfilepwent: malformed password entry (uid not number) [1999/04/13 12:17:21, 1] smbd/password.c:pass_check_smb(500) Couldn't find user 'foobar' in smb_passwd file. [1999/04/13 12:17:21, 3] smbd/error.c:error_packet(138) error packet at line 781 cmd=115 (SMBsesssetupX) eclass=2 ecode=2 [1999/04/13 12:17:21, 3] smbd/error.c:error_packet(143) error string = No such file or directory I do have the smbpasswd file in the private directory with the correct user. There is no uid with a negative number. Please Help thank you Ameet Chaubal
Tom Bartos
2001-Sep-30 22:29 UTC
getsmbfilepwent: malformed password entry (uid not number)
What do these errors mean? I have thousands of thease in each of the log files in /var/log/samba/machinename.log Question: How do I add the pcguest user to the smbpasswd file ( I didn't know what password to assign to that user ) this could be the reason why I am having such a tough time accessing the samba shares from my authorized machines. [2001/09/30 22:10:37, 0] passdb/smbpass.c:getsmbfilepwent(302) getsmbfilepwent: malformed password entry (uid not number) [2001/09/30 22:10:37, 0] passdb/smbpass.c:getsmbfilepwent(302) getsmbfilepwent: malformed password entry (uid not number) [2001/09/30 22:10:37, 0] passdb/smbpass.c:getsmbfilepwent(302) getsmbfilepwent: malformed password entry (uid not number) [2001/09/30 22:10:37, 0] passdb/smbpass.c:getsmbfilepwent(302) getsmbfilepwent: malformed password entry (uid not number) [2001/09/30 22:10:37, 1] smbd/password.c:pass_check_smb(505) Couldn't find user 'pcguest' in smb_passwd file. Thanks -Tom -------------- next part -------------- HTML attachment scrubbed and removed
Tom Bartos
2001-Oct-01 23:11 UTC
getsmbfilepwent: malformed password entry (uid not number)
what document should I be reading to figure out how to configure SAMBA so these errors don't show up in /var/log/samba/servername.log I added pcguest to smbpasswd -a pcguest pw/guest and that didn't fix the problem. My network is a mix of Win2k and WinME [2001/10/01 22:59:02, 0] passdb/smbpass.c:getsmbfilepwent(302) getsmbfilepwent: malformed password entry (uid not number) [2001/10/01 22:59:02, 0] passdb/smbpass.c:getsmbfilepwent(302) getsmbfilepwent: malformed password entry (uid not number) [2001/10/01 22:59:02, 0] passdb/smbpass.c:getsmbfilepwent(302) getsmbfilepwent: malformed password entry (uid not number) [2001/10/01 22:59:02, 0] passdb/smbpass.c:getsmbfilepwent(302) getsmbfilepwent: malformed password entry (uid not number) [2001/10/01 22:59:02, 0] passdb/smbpass.c:getsmbfilepwent(302) getsmbfilepwent: malformed password entry (uid not number) [2001/10/01 22:59:02, 0] passdb/smbpass.c:getsmbfilepwent(302) getsmbfilepwent: malformed password entry (uid not number) [root@spagetti samba]# cat /etc/samba/smb.conf # Samba config file created using SWAT # from localhost.localdomain (127.0.0.1) # Date: 2001/09/21 22:28:58 # Global parameters [global] netbios name = SPAGETTI server string = Samba Server interfaces = localhost 192.168.1.10/24 security = DOMAIN # security = SHARE encrypt passwords = Yes # smb passwd file = /etc/smbpasswd map to guest = Bad User null passwords = Yes ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt debug level = 1 syslog = 3 log file = /var/log/samba/%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No guest account = pcguest hosts allow = 192.168.1. [printers] comment = ALL Printers path = /var/spool/lpd/lp create mask = 0700 guest ok = Yes printable = Yes browseable = No [homes] comment = Home Directories path = /usr/pub writeable = Yes hosts allow = 192.168.1. 127.0.0.1 max connections = 100 write cache size = 100 [web] comment = generic web folders path = /var/www/html writeable = Yes hosts allow = 192.168.1. 127.0.0.1 max connections = 100 write cache size = 100 [web2] comment = toms web folders path = /usr/pub/www/tombartos writeable = Yes hosts allow = 192.168.1. 127.0.0.1 max connections = 100 write cache size = 100 [Epson880] path = /var/spool/lpd/lp writeable = Yes guest ok = Yes printable = Yes print command = lpr -r -h -P %p %s printer = lp -------------- next part -------------- HTML attachment scrubbed and removed