Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Help Kerberizing NFS with Active Directory

I have configured and integrated a number of iMac's into our existing Active Directory and everything is working as expected, id resolve and users can login and access services


I am however unable to get kerberized NFS to work. Non-kerberized works perfectly, and Kerberized Linux clients work workout a problem.


Using wireshark I can see it tries to use des3-cbc-sha1 as it's encryption type when performing the mount and fails because of this is not supported (ERR_ETYPE_NOSUPP). I believe only the following are (at least only these exist in the keytab for the file server and available on the Win2k8 DC):


aes256-sha1

aes128-sha1

des-cbc-crc

des-cbc-md5

arcfour-hmac-md5


As this is integrated with Active Directory I don't believe setting anything in /etc/krb5.conf or /Library/Preferences/edu.mit.Kerberos influences the Kerberos behaviour (at least I have not seen any changes occuring when adding things such as:


[libdefaults]

default_etypes = arcfour-hmac-md5

default_etypes_des = des-cbc-md5,des-cbc-crc


So my question is has anyone managed to influence the configuration of opendirectory to use an alternative encryption type when using AD?


More than happy to provide any further information!

Mac OS X (10.7.2)

Posted on Jan 19, 2012 1:39 AM

Reply
7 replies

Apr 3, 2013 7:27 PM in response to pancentric

I just found out today that Windows Server 2008 R2 no longer supports DES encryption by default. You have to enable it. Look here. http://technet.microsoft.com/en-ca/library/dd560670(v=ws.10).aspx


Once I did that, I was able to do NFS mounts using Kerberos.


The Mac client does an ipv6 DNS check so you need make sure that succeeds. Wireshark is your friend here.

Apr 4, 2013 2:53 PM in response to Bernie Case

Working from memory here.


*Mac OS X 10.8 joined to freshly built Windows server 2008 R2 AD domain at 2008 R2 functional level.

*NFS server is a NetApp filer running OnTap 7.3.4. It is joined to the AD domain.

*Mac and filer have AD domain controllers for DNS.

*Reverse lookup zones exist on DNS servers. Needed for linux kerberos clients. Not sure about Mac. Kerberos uses DNS to verify server name, IP match.

*Mac also has a /etc/krb.conf file which does not exist by default. The important line in here is allow_weak_crypto = 1 or something like that under [libdefaults]. Otherwise, define the realms and default realms as documented on many web sites.

*I had to create a GPO for the domain controllers to allow DES encryption.

*I log on to Mac as an AD user (username@domainname) and mount the filer export to a folder under my profile:

mount_nfs -o sec=krb5,rw filer:/export/path somefolder


HTH

Jun 24, 2013 11:26 AM in response to ehbuller

Is anyone still watching this thread?


I have an update and a few glitches to work out.


We used automount to mount the home folderat login. That ensures the folder is mounted before any files are touched. My original LaunchAgent ran too late and files werre created on the local disk instead of the remote file system. Ugly! Auotmount is working great.


Now the glitches.


1. We have times when a user logs on and their home folder is mounted but they get Permission denoied when accesing the folder. We have to leave them logged in for 5 minutes, log off, and log back in. then the tickets are created and they have access to the home folder. I haven't been able to pinpoint the cause for the 5 minutes delay. Anyone else see this? Any ideas?


2. The login daemon does not request renewable tickets. We have users who run programs for extended periods (days, weeks). We need to make sure they get renewable tickets so any data does not get lost once the original tgt expires (10 hours and not configurable). See the comments at the end of this article: http://jpolok.home.cern.ch/jpolok/kerberos-macosx.html

Help Kerberizing NFS with Active Directory

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.