[Samba] Kerberos+Ldap+Samba+Cups

Kessia Pinheiro kessiapinheiro at gmail.com
Tue Feb 13 14:37:49 GMT 2007

Hi all,

I installed a Linux box to enter in NT domain. I installed Kerberos5,
cups 1.1.23 and samba 3.0.24. I'm trying to integrate my box to print
in a shared printer in a Windows Server, using a kerberos ticket. I
put a URI: smb:// in cups admin config, but
this not work. I get a error when restart in log.smbd:

[2007/02/09 15:58:55, 3] libsmb/clikrb5.c:ads_krb5_mk_req(552)
 ads_krb5_mk_req: krb5_cc_get_principal failed (No credentials cache found)
[2007/02/09 15:58:55, 3] printing/nt_printing.c:check_published_printers(3228)
 ads_connect failed: Cannot read password
[2007/02/09 15:58:55, 0] printing/nt_printing.c:nt_printing_init(649)
 nt_printing_init: error checking published printers: WERR_ACCESS_DENIED

And that error in error.log in cups:

E [13/Feb/2007:11:36:35 -0300] [Job 11] Session setup failed: SUCCESS - 0
E [13/Feb/2007:11:36:35 -0300] [Job 11] Session setup failed:
E [13/Feb/2007:11:36:36 -0300] [Job 11] Tree connect failed
E [13/Feb/2007:11:36:36 -0300] [Job 11] Unable to connect to CIFS
host, will retry in 60 seconds...

So, what can to be happening???

With URI: smb://username:passwd@
i can print normally...

Kessia Pinheiro
Gmail+GTalk/Email: kessiapinheiro [at] gmail [dot] com
Linux Counter User #389695 [http://counter.li.org]

More information about the samba mailing list