On Fri, 2007-07-20 at 15:34 -0500, Jim Summers wrote: > Jim Summers wrote: > > Hello All, > > > > I have been attempting to get autofs5 to work with my ldap config. The > > way I am set up is: > > > > FC6 / FC7 clients and redhat servers. > > auto.home info for each user is stored in ldap > > auto.master is stored locally on each client > > > > The mounts do not happen. Here is what I see when starting autofs: > > ====== > > Jul 20 13:22:53 lch automount[3427]: Starting automounter version > > 5.0.1-11, master map auto.master > > Jul 20 13:22:53 lch automount[3427]: using kernel protocol version 5.00 > > Jul 20 13:22:53 lch automount[3427]: master_error: syntax error while > > parsing map. > > Jul 20 13:22:53 lch automount[3427]: mounted indirect mount on /misc > > with timeout 300, freq 75 seconds > > Jul 20 13:22:53 lch automount[3427]: mounted indirect mount on /net with > > timeout 300, freq 75 seconds > > ====== > > Here is the auto.master: > > ====== > > /home ldap://129.15.1.203/ou=auto.home,dc=it,dc=ou,dc=edu > > I may have stumbled onto the problem. In the dn above, notice that it has > dc=ou. I was trying various things and thought, let's remove that and see > what happens. Sure enough the log messages start showing the attempt to get > the /home stuff but it fails because the ldap tree doesn't match. I can then > put the dc=ou back in and it just fails with that syntax error. This was all > fine in the autofs4 version. The ldap is setup that way to match domain for > instance, it.ou.edu.
Good piece of detective work. I'll have a look and see how to fix it. > > I can test if I can find the place in the code to change it back to the way > that version4 was doing things and then re-compile. Don't think you have much chance of relating the v5 code back to v4 code. Don't waste your time, I see the problem and I'll sort out a fix. Ian _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
