Ian Kent wrote:
> On Fri, 25 Aug 2006, Guillaume Rousse wrote:
> 
>> Ian Kent wrote:
>>>> I'll try to run it in the debugger, but I have to fix my debug package
>>>> first.
>> gdbdoesn't complain anymore about missing symbols, but despite my
>> attempts, I've been unable to set a working break point on faulty
>> function (get_query_dn).
> 
> Is your LDAP client able to query this stuff with only the information 
> used in the autofs queries (the ones you see in the debug output)?
Not sure to understand you here. I get nothing else in my debug output
than: failed to get query dn

Using informations from the config file, however, such as the automount
map class, I can retrieve all those maps easily from ldapsearch:
[EMAIL PROTECTED] ~]$ ldapsearch -x objectClass=automountMap
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: objectClass=automountMap
# requesting: ALL
#

# auto.master, autofs, village.inria.fr
dn: ou=auto.master,ou=autofs,dc=village,dc=inria,dc=fr
objectClass: top
objectClass: automountMap
ou: auto.master

# auto.home.beaune, autofs, village.inria.fr
dn: ou=auto.home.beaune,ou=autofs,dc=village,dc=inria,dc=fr
objectClass: top
objectClass: automountMap
ou: auto.home.beaune
...
# search result
search: 2
result: 0 Success

# numResponses: 7
# numEntries: 6

-- 
Guillaume Rousse
Projet Estime, INRIA
Domaine de Voluceau
Rocquencourt - B.P. 105
78153 Le Chesnay Cedex - France

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to