I'm not able to add posix users/groups to this newly created ldap directory. OpenLDAP version is 2.4.19.
The LDIF I've populated the LDAP directory is probably the problem, but I'm not sure what I need to do next...
dn: dc=company,dc=net,dc=au objectClass: dcObject objectClass: organization o: Company Pty Ltd dc: company dn: cn=manager,dc=company,dc=net,dc=au objectClass: organizationalRole cn: Manager dn: ou=People,dc=company,dc=net,dc=au objectClass: organizationalUnit objectClass: top ou: People dn: ou=Groups,dc=company,dc=net,dc=au objectClass: organizationalUnit objectClass: top ou: Groups
Could someone please educate me :)
Update: I've added
nis.schema, which I expected to fix the problem as it has all the posix* classes I was after. However, I now get the following error:
/etc/openldap/schema/nis.schema: line 203 objectclass: AttributeType not found: "manager" /opt/openldap/etc/openldap/slapd.conf: line 6: <include> handler exited with 1! slapd destroy: freeing system resources. slapd stopped. connections_destroy: nothing to destroy.
The relevant section of
nis.schema, ~line 203 is as follows...
objectclass ( 220.127.116.11.18.104.22.168 NAME 'ipHost' DESC 'Abstraction of a host, an IP device' SUP top AUXILIARY MUST ( cn $ ipHostNumber ) MAY ( l $ description $ manager ) )
I'll continue reading.