From Bugzilla Helper: User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.2.1) Gecko/20021130 Description of problem: I have found this issue on other versions but it does not yet seem to be a reported bug on 8.0. I am authenticating against LDAP (works fine) but the automounter is confused in thinking that the automount maps should come from yp instead of ldap. Clearly he's getting something right (see results), but the yp bit messes things up. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Run "authconfig" and authenticate against an LDAP server 2. Set up auto.home in LDAP 3. Log in as an LDAP user. Actual Results: [root@moby root]# service autofs status Configured Mount Points: ------------------------ /usr/sbin/automount /ldhome yp ldap ldap.cc3.com:ou=auto.home,dc=cc3unix,dc=com Active Mount Points: -------------------- [root@moby root]# su - chrish su: warning: cannot change directory to /ldhome/chrish: No such file or directory -bash-2.05b$ Expected Results: /ldhome/chrish should be mounted when user chrish logs in. Additional info: I have an enterprise support contract on this machine.
I have to confirm but I think this may have been caused by the ldap migration scripts (bundled in RHL) which incorrectly create auto.master entries with a space where a colon should go to separate fields. I manually adjusted the value accordingly and everything started working on its own.
This appears to be a configuration error in the original /etc/auto.master file which was passed to the migration script, as I was able to duplicate the behavior you're describing by removing the colon between "ldap" and the directory server's hostname and running the migration script again. With the colon reintroduced, the migration script produced the desired LDIF, which when imported into a directory server was properly read by the autofs-ldap-auto-master helper and the init script. Closing as WORKSFORME.