getsmbfilepwent: malformed password entry (uid not number)

Tom Bartos tbartos at tombartos.com
Mon Oct 1 23:11:02 GMT 2001


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


More information about the samba mailing list