On Tue, 2007-11-20 at 18:39 +0000, Sharpe, Sam J 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/e > n-US/RHEL510/Deployment_Guide/s2-nfs-config-autofs-LDAP.html > > > > I created automount.ldif > > > > # cat automount.ldif > > # auto.master, tobyhouse.com > > dn: automountMapName=auto.master,dc=tobyhouse,dc=com > > objectClass: top > > objectClass: automountMap > > automountMapName: auto.master > > > > but it fails if I try to add it... > > Starting at the beginning... Have you setup LDAP to serve > dc=tobyhouse,dc=com first? Can you snip out the database configuration > section of your slapd.conf for us and tell us what steps you took before > you got to this blocker? > > You're trying to add an object into the root of that database, and the > only reason I can immediately think of why that won't work is if you > haven't setup the LDAP database correctly first or that DN already > exists. (I'm assuming that the DN isn't invalid because it contains > automountMapName as you say you have already loaded the schema) ---- yeah - sorry...I've got a reasonable well functioning LDAP setup providing for user accounts, samba acounts, mail delivery...
# 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 # numResponses: 1 of course automountMapName is not indexed but still...there aren't any existing entries there. # ldapsearch -x '(uid=craig)' gecos # extended LDIF # # LDAPv3 # base <> with scope subtree # filter: (uid=craig) # requesting: gecos # # craig, People, tobyhouse.com dn: uid=craig,ou=People,dc=tobyhouse,dc=com gecos: Craig White # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 Craig _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
