[Samba] Printing stops after upgrading to 3.0.8-2

Frank B. Brokken f.b.brokken at rc.rug.nl
Fri Dec 3 17:37:14 GMT 2004


Dear list subscribers,

    Recently I upgraded my samba version from 2.0.5 to 3.0.8-2. The setup I
use is basically very simple: a W 98 box should be able to access some
disk-shares and a printed, connected to a Linux box, running Debian's sarge
distribution. Accessing the disks is no problem, but the printer can't be
accessed any more. 

    My log.smbd logfile shows lines suggesting there may be something the
matter with a new password scheme, but after browsing the docs and several of
this mailing list's archives I found no clues helping me out. 

    I would appreciate receiving any suggestion or pointer leading to the
solution of my problem. Thanks in advance for any help that can be offered.

    Here is my current smb.conf file:


# Global parameters
[global]
    workgroup = OOSTUM
    passdb backend = smbpasswd, guest
    passwd program = /usr/bin/passwd %u
    passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
    syslog = 0
    max log size = 500
    socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
    preferred master = Yes
    domain master = Yes
    wins support = Yes
    panic action = /usr/share/samba/panic-action %d
    invalid users = root
    log level = 5

[homes]
    comment = Home Directories
    read only = No

[hdu]
    comment = Knarfix' Root Directory
    path = /
    guest ok = Yes

[printers]
    comment = All Printers
    path = /var/spool/public
    guest ok = Yes
    printable = Yes
    printing = bsd
    print command = lpr -r -P'%p' %s
    lpq command = lpq -P'%p'
    lprm command = lprm -P'%p' %j
    browseable = No

[lp]
    comment = lp
    path = /var/spool/public
    read only = No
    guest ok = Yes
    printable = Yes
    printing = bsd
    print command = lpr -r -P'%p' %s
    lpq command = lpq -P'%p'
    lprm command = lprm -P'%p' %j
    printer name = lp
    oplocks = No
    share modes = Yes

and here are the relevant parts of the log.smbd file, showing the kind of
errors I get when I try to print:

[2004/12/03 17:57:49, 10] passdb/pdb_smbpasswd.c:mod_smbfilepwd_entry(715)
  mod_smbfilepwd_entry: opening file /etc/samba/smbpasswd
[2004/12/03 17:57:49, 6] passdb/pdb_smbpasswd.c:mod_smbfilepwd_entry(828)
  mod_smbfilepwd_entry: entry exists for user esther
[2004/12/03 17:57:49, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/12/03 17:57:49, 5] auth/auth.c:check_ntlm_password(271)
  check_ntlm_password: sam authentication for user [ESTHER] FAILED with error NT_STATUS_WRONG_PASSWORD
[2004/12/03 17:57:49, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [ESTHER] -> [ESTHER] FAILED with error NT_STATUS_WRONG_PASSWORD

So, it appears that something has changed in the password handling, but I fail
to see what that might be, especially since I'm not aware of any changes I
applied when upgrading to the newer lever, while everything worked fine before
the upgrade. In particular: neither on the Windows box nor on the Linux box
the passwords of user `esther' were changed.

Again: any help is most welcome.

Thanks in advance,

-- 
    Frank B. Brokken
    Computing Center, University of Groningen
    (+31) 50 363 9281
    Public PGP key: http://pgp.surfnet.nl:11371/
    Key Fingerprint: 8E36 9FC4 1DAA FCDF 1A0D  B19F DAC4 BE50 38C6 6170


More information about the samba mailing list