Bug 11591 - smbclient cant connect to remote server using kerberos.
smbclient cant connect to remote server using kerberos.
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
x86 Linux
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2015-11-08 21:40 UTC by marcio
Modified: 2015-11-09 10:37 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description marcio 2015-11-08 21:40:45 UTC
-I have a trouble when I try connect to my samba server 4.1 using Ubuntu 14.04 client (using the same steps on Fedora 22 client I can connect fine).

-klist and kinit works fine in both systems;
-kerberos version 5 1.12;
-using the "smbclient -K //server/share -d3" I got (snipped):

Doing kerberos session setup
krb5_init_context failed (invalid argument)
cli_session_setup_kerberos: spnego_gen_krb5_negTokenInit failed: invalid argument
SPNEGO login failed: Undetermined error
session setup failed: NT_STATUS_UNSUCCESSFUL

Here my krb5.conf:
#File modified by ipa-client-install

includedir /var/lib/sss/pubconf/krb5.include.d/

default_realm = OTHERNAME
dns_lookup_realm = true
dns_lookup_kdc = true
rdns = false
ticket_lifetime = 24h
forwardable = yes

pkinit_anchors = FILE:/etc/ipa/ca.crt

.othername = OTHERNAME
othername = OTHERNAME

default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log

I cant identify if I have missing or incorrect parameters in any .conf file. I appreciate any help about this issue.
Thank you