I'm still experiencing this issue.  Ubuntu hardy, patched up to date as
of this writing.

pj...@patslinux01 ~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 8.04.3 LTS
Release:        8.04
Codename:       hardy

pj...@patslinux01 ~ $ uname -a
Linux patslinux01.mayo.edu 2.6.24-23-generic #1 SMP Wed Apr 1 21:43:24 UTC 2009 
x86_64 GNU/Linux

pj...@patslinux01 ~ $ klist
Credentials cache: FILE:/tmp/krb5cc_1000
        Principal: pj...@mfad.mfroot.org

  Issued           Expires          Principal
Sep  3 14:48:04  Sep  4 00:48:04  krbtgt/mfad.mfroot....@mfad.mfroot.org
Sep  3 14:48:09  Sep  4 00:48:04  rchnas06...@mfad.mfroot.org

# SMB Client connects using kerberos credentials

pj...@patslinux01 ~ $ smbclient -k //rchnas06n2/Users500M 
OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
smb: \> 
pj...@patslinux01 ~ $ 

# mount.cifs does not, and prompts for a password:

pj...@patslinux01 ~ $ mount.cifs //rchnas06n2/Users500M/PJS11 mnt/pjs11 -o 
sec=krb5 --verbose
parsing options: sec=krb5
Password: (simply pressed return, here)

mount.cifs kernel mount options 
unc=//rchnas06n2\Users500M,ip=129.176.156.20,user=pjs11,pass=,ver=1,sec=krb5,uid=1000,gid=1000,prefixpath=PJS11
 
mount error 5 = Input/output error
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

pj...@patslinux01 ~ $ more /etc/request-key.conf
(...snip copious comments)
#OP     TYPE    DESCRIPTION     CALLOUT INFO    PROGRAM ARG1 ARG2 ARG3 ...
#====== ======= =============== =============== ===============================
create  user    debug:*         negate          /bin/keyctl negate %k 30 %S
create  user    debug:loop:*    *               |/bin/cat
create  user    debug:*         *               
/usr/share/keyutils/request-key-debug.sh %k %d %c %S
#create cifs.spnego *           *               /usr/sbin/cifs.upcall -c %k %d
create  cifs.spnego *           *               /usr/sbin/cifs.upcall %k %d
negate  *       *               *               /bin/keyctl negate %k 30 %S

Do the 64 bit packages have the necessary patches in them?
-- Pat

-- 
cifs does not support kerberos authentication
https://bugs.launchpad.net/bugs/236830
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to