On Tue, 2007-11-20 at 11:13 -0700, Craig White wrote:
> because of the discussion on auto home via LDAP, I thought I would try
> to implement...
> 
> according to here...
> https://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/en-US/RHEL510/Deployment_Guide/s2-nfs-config-autofs-LDAP.html
> 
----
OK - moving on, I now have this much going...

# ldapsearch -x '(objectclass=automountMap)' -b 'dc=tobyhouse,dc=com'
# extended LDIF
#
# LDAPv3
# base <dc=tobyhouse,dc=com> with scope subtree
# filter: (objectclass=automountMap)
# requesting: ALL
#

# auto.master, tobyhouse.com
dn: ou=auto.master,dc=tobyhouse,dc=com
objectClass: automountMap
objectClass: top
ou: auto.master

# auto.misc, tobyhouse.com
dn: ou=auto.misc,dc=tobyhouse,dc=com
ou: auto.misc
objectClass: automountMap
objectClass: top

# auto.home, tobyhouse.com
dn: ou=auto.home,dc=tobyhouse,dc=com
ou: auto.home
objectClass: automountMap
objectClass: top

# search result
search: 2
result: 0 Success

but I fall apart here and I can't see any support anywhere for
autoMountMapName per the instructions...

# ldapsearch -x '(automountMapName=*)' -b 'dc=tobyhouse,dc=com'
# extended LDIF
#
# LDAPv3
# base <dc=tobyhouse,dc=com> with scope subtree
# filter: (automountMapName=*)
# requesting: ALL
#

# search result
search: 2
result: 0 Success

and not only can I not find it with an ldapsearch, I can't possibly
create an entry with the ou=automountMapName because I can't locate any
schema support for it...

# grep -r automountMap /etc/openldap/schema/*
/etc/openldap/schema/redhat/autofs.schema:objectclass
( 1.3.6.1.4.1.2312.4.2.2 NAME 'automountMap' SUP top STRUCTURAL

# grep -r automountMapName /etc/openldap/schema/*
# grep -r automountMapname /etc/openldap/schema/*
#

I can see in
/usr/share/doc/autofs-5.0.1/ldap-automount-rfc2307-bis-auto.master
that the entry is there but I can't find any schema support for creating
entries with a dn that begins

automountMapName= anything

What is the clue piece that I am missing?

Craig

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to