[Date Prev][Date Next]
Adding attributetypes and objectclasses with ldapmodify?
I have successfully added attributetypes and objectclasses following the
methods outlined in creating a schema file
and including that file in my slapd.conf file.
I was wondering if I could do the same action using ldapmodify and a ldif
file? Am I correct that this is not possible
using the openldap software but is possible with other vendor's
This is the ldif file which I was using...
attributetypes: ( 22.214.171.124.4.1.4203.666.1.200 NAME 'anyAccess' EQUALITY
caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX
dn: cn=schema dc=lxldap
objectclasses: ( 126.96.36.199.4.1.4203.666.1.2001 NAME 'PitBull' DESC 'PitBull'
SUP person STRUCTURAL MAY ( anyAccess ) )
ldapmodify -x -D "cn=schema" -f ldif
Any help would be appreciated.