Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm working inside a domain environment, served by Active Directory from a Windows 2008 host. I'm a regular "Domain User", with no special privileges and will not be able to get any.

When trying to setup my own Linux system to login via ssh with kerberos, I've run into a snag: I can't add a principal of the form: host/@DOMAIN

Which brings me to the question: is there any way around this to get single-sign-on (SSO) functionality?

If not, is there some other mechanism to accomplish SSO? (I'm guessing this would require setting up my own internal KDC).

share|improve this question

1 Answer 1

You need to join the linux machine to the AD, so the machine account and an associated key is created. net ads join from Samba package an easy way for that. I think this is the (only) part you need AD administrator privileges. Then you can populate the keytab with SPNs; adding an SPN record to the machine account then requires only "Validated write to SPN" privilege.

There is a way to map SPNs (and keytab entries) mapped to arbitrary domain accounts using ktpass.exe utility but this surely requires access to the domain controller with administrative privileges.

Without that you won't be able to use AD as your Kerberos realm. There are other options like - as you suggested - setting up a parallel Kerberos environment with own KDC, which would additionally involve configuration of every service you want to support this realm.

Kerberos is not the only SSO option thought. An integrated key/password encrypted store like KWallet or Apple Keychain might provide even better SSO feel while requiring zero configuration.

Hope this helps.

share|improve this answer
    
Thanks, but I'm not able to do either of those, hence my motivation for the question. I can't join the domain because it's privileged to Domain Admins, and I don't have access to a domain controller where an SPN could be generated. –  Garen May 3 '12 at 2:55
    
please see the updated answer –  yarek May 3 '12 at 11:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.