Hi,
I am trying to implement automount using nis.schema for my ldap. The script is as follows:
dn: nisMapName=auto.master,dc=example,dc=com
objectClass: top
objectClass: nisMap
nisMapName: auto.master
dn: cn=/mounts,nisMapName=auto.master,dc=example,dc=com
objectClass: nisObject
cn: /mounts
nisMapEntry: ldap ldap-server.example.com:nisMapName=auto.mounts,dc=example,dc=com
nisMapName: ldap
dn: nisMapName=auto.mounts,dc=example,dc=com
objectClass: top
objectClass: nisMap
nisMapName: auto.mounts
dn: cn=shared,nisMapName=auto.mounts,dc=example,dc=com
objectClass: nisObject
cn: shared
nisMapEntry: -fstype=nfs,hard,intr,nodev,nosuid nfs-server.example.com:/shared
nisMapName: ldap
I have implemented on the same lines.
When I add the nis.schema to ldap schema list and run
/usr/lib/openldap/slapd restart there is an error which says repeated attribute in nis.schema 1.3.1........
Please suggest me what should I do?
Thanks,
Naveen