[Freeipa-devel] automount in LDAP
Dmitri Pal
dpal at redhat.com
Tue Nov 11 14:38:57 UTC 2008
Simo Sorce wrote:
> On Mon, 2008-11-10 at 18:08 -0500, Rob Crittenden wrote:
>
>> Ok, for clarification, this is why I'm proposing having the
>> location/name/whatever in the DN.
>>
>
> Understood and I second that.
>
>
>> You have to supply a base search DN in the autofs config file, on
>> Linux
>> anyway.
>>
>> So if we cleverly supply this baseDN it is easy to support multiple
>> configurations.
>>
>> autofs searches for its base configuration like this:
>>
>> SRCH base="dc=example,dc=com" scope=2
>> filter="(&(objectClass=automountMap)(automountMapName=auto.master))"
>> attrs="automountMapName"
>>
>
> Is this filter hardcoded into the autofs binary? Or is it possible to
> change via a configuration directive?
>
>
>> So if we can set that base to something where a unique auto.master
>> will
>> be found we can control what is in that master. It seems like that is
>> the only thing that truly needs to be unique.
>>
>
> Yes, if the filter cannot be changed we will have "named" configurations
> where the names will be used to create a container.
>
> Like: cn=fooname,cn=automount,dc=example,dc=com
> And this should probably be the auto.master object.
>
... but if it can be changed we can use it to find different "master"
maps from different clients.
Then the master maps can be name like auto.master.<something>
Is this the case?
Dmitri
> Simo.
>
>
More information about the Freeipa-devel
mailing list