Being new to LDAP I am having a hard time getting autofs+LDAP to work. I have the following LDIF file that refuses to get loaded when I try to merge it:
Code:
dn: ou=auto.master,dc=yallanet,dc=com
ou: auto.master
objectClass: top
objectClass: automountMap
dn: ou=auto.home,dc=yallanet,dc=com
ou: auto.home
objectclass: top
objectClass: organizationalUnit
dn: cn=/home,ou=auto.master,dc=yallanet,dc=com
objectClass: automount
automountInformation: ldap:majestix.yallanet.com:ou=auto.home,dc=yallanet,dc=com --timeout 60
cn: /home
dn: cn=yallaone,ou=auto.home,dc=yallanet,dc=com
objectClass: automount
description: yallaone home dir
automountInformation: -rw,hard,intr asterix:/export/home/yallaone
cn: yallaone
I try adding it with this command:
Code:
ldapadd -x -D "cn=Manager,dc=yallanet,dc=com" -c -W -f automount.ldif
And get the following result:
Code:
Enter LDAP Password:
adding new entry "ou=auto.master,dc=yallanet,dc=com"
ldap_add: Invalid syntax (21)
additional info: objectClass: value #1 invalid per syntax
adding new entry "ou=auto.home,dc=yallanet,dc=com"
ldap_add: Already exists (68)
adding new entry "cn=/home,ou=auto.master,dc=yallanet,dc=com"
ldap_add: Invalid syntax (21)
additional info: objectClass: value #0 invalid per syntax
adding new entry "cn=yallaone,ou=auto.home,dc=yallanet,dc=com"
ldap_add: Invalid syntax (21)
additional info: objectClass: value #0 invalid per syntax
I've spent a good 8-10 hours on this one today and have now hit a solid brick wall and would thus appreciate any hints on how to proceed.
PS. My passwd, group and shadow went beautifully in...
PPS. I have included nis, inetorgperson, cosine and core schemas
PPPS. Have not enabled any authentication yet - figured I'd better get the basics going before starting to restrict myself...
Thanks much for any insight!
-Y1