On Wed, 2007-09-05 at 10:43 -0700, Simon Gao wrote: > Ian Kent wrote: > > On Wed, 2007-09-05 at 10:15 +0800, wengang wang wrote: > > > >> Hi, > >> A custom complained that: > >> //<== > >> In RHEL4 it was possible to set a "basedn" variable in the > >> /etc/sysconfig/autofs file which served as a basedn for LDAP lookups > >> performed by the automounter. > >> > >> However, this has been removed in RHEL5. > >> //<== > >> It is true that setting it in /etc/openldap/ldap.conf is an alternative, > >> > > > > No. > > > > > >> the custom doesn't want do as that because /etc/openldap/ldap.conf is > >> automatically edited by the redhat config tools authconfig and > >> system-config-authentication. > >> So I want to know for what the basedn is removed from > >> /etc/sysconfig/autofs. I checked all the change logs and readmes in > >> autofs-5.0.1, but didn't find basedn metioned. > >> > > > > In version 5 the base dn is calculated, depending on how you specify the > > map. > > > > Describe the problem and I'll try and give a sensible answer. > > > > Ian > > > I also have a related question about basedn in /etc/sysconfig/autofs. > > You can put in root level basedn like "dc=example,dc=com", or more lower > level like "ou=autofs,ou=services,dc=example,dc=com". Would later case > help the search by being more specific and therefore getting autofs map > lot quicker? Or it makes not significant difference?
This configuration option is RHEL4 specific. I would need to revisit that code to answer that. Perhaps Jeff will be able to help. Ian _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
