[Samba] ldap+kerberos+samba

Friedrich Locke friedrich.locke at gmail.com
Mon Feb 18 12:52:42 MST 2013


Dear list members,

i am trying to get ldap + samba + kerberos working and have tried to
make the proper configuration.
Integrating samba + ldap was pretty easy, but getting kerberos to work
seems a nightmare.

Here it is what i tried (copy and pasted from my link client):

harley at 802-1x:/etc/samba$ kdestroy
harley at 802-1x:/etc/samba$ kinit
harley at UFV.BR's Password:
harley at 802-1x:/etc/samba$ klist
Credentials cache: FILE:/tmp/krb5cc_1000
        Principal: harley at UFV.BR

  Issued                Expires               Principal
Feb 18 15:53:33 2013  Feb 18 19:53:33 2013  krbtgt/UFV.BR at UFV.BR
harley at 802-1x:/etc/samba$ smbclient //802-1x.cpd.ufv.br/printers -k
session setup failed: NT_STATUS_LOGON_FAILURE
harley at 802-1x:/etc/samba$ klist
Credentials cache: FILE:/tmp/krb5cc_1000
        Principal: harley at UFV.BR

  Issued                Expires               Principal
Feb 18 15:53:33 2013  Feb 18 19:53:33 2013  krbtgt/UFV.BR at UFV.BR
Feb 18 15:53:44 2013  Feb 18 19:53:33 2013  cifs/802-1x.cpd.ufv.br at UFV.BR
harley at 802-1x:/etc/samba$



We can realize that smbclient is fetching the ticket to cifs service.
But why NT_STATUS_LOGON_FAILURE ?
Nothing appears on smbd logs.

Any advice ?

Thank you for your time and cooperation.

Best regards.


More information about the samba mailing list