[Samba] Problems accessing a file share using kerberos

Pedro Côrte-Real pedro at pedrocr.net
Fri Feb 19 20:08:48 MST 2010


Hi,

I'm trying to access a file share on what I believe is a netapp server
using kerberos authentication. I've done a kinit and gotten
credentials and then ran:

$ smbclient -U pedrocr //gsb-filer2/pedrocr -k -d10

This actually increased the number of credentials klist shows so looks
good in that regard. Howeever, I got the error:

"""
SPNEGO login failed: NT_STATUS_MORE_PROCESSING_REQUIRED
lang_tdb_init: /usr/share/samba/en_US.UTF-8.msg: No such file or directory
session setup failed: NT_STATUS_MORE_PROCESSING_REQUIRED
did you forget to run kinit?
"""

Searching around I found this relating to this error on NetApp:

http://lists.samba.org/archive/smb-clients/2008-September/000785.html

Seems like it doesn't like the workgroup name, even though here I'm
not using one. I've tried 20 different combinations of how to do it,
with and without the workgroup name (which should be "win") and it
still wouldn't work.

I also tried using this without kerberos like so:

$ smbclient -U win/pedrocr%mypassword //gsb-filer2/pedrocr

this actually returns NT_STATUS_WRONG_PASSWORD although the password
is indeed correct.

I'm running Ubuntu 9.10 with smbclient version 3.4.0-3ubuntu5.4. Do I
need to actually install samba itself and connect it to the domain for
this to work? I'm doing all this on the Stanford campus network in
case anyone knows anything about that install in particular.

Cheers,

Pedro


More information about the samba mailing list