[Samba] Printing problem! CUPS, XP-pro

Torben Thomsen torben at itcampus.dk
Thu Apr 29 15:16:56 GMT 2004


Hi,
I'we tried posting this before without any luck!

I share a printer and some shares on my samba 3.0.2a-debian server. No 
fancy domain-logon, just plain workgroup connect (smb.conf below).

The problem is, sometimes when i choose to print from my XP-pro machine, 
the printer don't react... The shares work fine, and i read/write from 
them, but i can't print. Neither cups, samba or syslog throws any error 
in the log, and the printjob just halts in the XP-printqueue in the 
systray. The printer shows itself as ready, but if  I try to change any 
options in the printer preferences, I get a CAN'T SAVE CONFIGURATION error!

The problem is solved only upon a samba-restart, and then I print and 
change options without any problems... until next time I can't print 
(The log below is from samba after a restart)

 From XP-home, where i type passwd on each connection to the shares, I 
print everytime without any problems.

Please help
Thanks
Torben


--- smb.conf ---
[global]
    netbios name = SERVER
    workgroup = NR4
    server string = server
    security = user
    encrypt passwords = true
    passdb backend = smbpasswd
    socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=4096 
SO_SNDBUF=4096
    dns proxy = no
    load printers = yes
    printing = cups
    printcap name = cups
    log file = /var/log/samba/samba.log
    log level = 2

[printers]
   comment = Printere
   path = /tmp
   browseable = yes
   public = yes
   guest ok = yes
   writable = yes
   printable = yes
   printer admin = @lpadmin


SAMBA LOG

[2004/04/26 16:05:54, 2] smbd/reply.c:reply_special(105)
   netbios connect: name1=NR4          name2=XPPRO
[2004/04/26 16:05:54, 2] smbd/reply.c:reply_special(112)
   netbios connect: local=server remote=xppro, name type = 0
[2004/04/26 16:05:54, 2] smbd/sesssetup.c:setup_new_vc_session(591)
   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.
[2004/04/26 16:05:54, 2] smbd/sesssetup.c:setup_new_vc_session(591)
   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.
[2004/04/26 16:05:54, 2] auth/auth.c:check_ntlm_password(305)
   check_ntlm_password:  authentication for user [torben] -> [torben] -> 
[torben] succeeded


More information about the samba mailing list