Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

krb5 auth protocol loading failed #89

Closed
esindril opened this issue Feb 26, 2014 · 1 comment
Closed

krb5 auth protocol loading failed #89

esindril opened this issue Feb 26, 2014 · 1 comment

Comments

@esindril
Copy link
Contributor

Recompiling the Castor-XRootD plugin against the current master branch of XRootD, I get the following error:

Plugin loaded unreleased secunix v20140224-6a25b71 from sec.protocol /usr/lib64/libXrdSecunix.so
=====> sec.protocol /usr/lib64/ unix
Plugin loaded unreleased seckrb5 v20140224-6a25b71 from sec.protocol /usr/lib64/libXrdSeckrb5.so
Template for exports not set
Seckrb5: Unable to start sequence on the keytab file FILE:/etc/krb5.keytab;
Permission denied
=====> sec.protocol /usr/lib64 krb5 host/@CERN.CH
Plugin loaded unreleased secgsi v20140224-6a25b71 from sec.protocol libXrdSecgsi.so

And in /etc/ I have:
[root@lxc2dev6 Castor_git]> ls -lrt /etc/krb5.keytab
-rw------- 1 root root 842 Jun 20 2012 /etc/krb5.keytab

Before (using XRootD 3.3.x) this was not an issue. I assume the problem comes from this commit:
http://xrootd.cern.ch/cgi-bin/cgit.cgi/xrootd/commit/src/XrdSeckrb5?id=f44d455d78109794a46714764cd57e79bc105969

Could you please have a look and let me know if I need to change anything on my side ( i.e. in the plugin) ?

Thanks,
Elvin

@ljanyst
Copy link
Contributor

ljanyst commented Mar 3, 2014

Hi Elvin,

this is a feature, we removed the functionality that allowed the daemon to change its effective UID, and thus be able to read these files. In master, the keytab (and ssh certificate chains) needs to be readable by the xrootd deamon process. You need to adjust your filesystem ACLs.

Cheers,
Lukasz

@ljanyst ljanyst closed this as completed Mar 3, 2014
alja pushed a commit to alja/xrootd that referenced this issue Apr 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants