Ok, this may seem like old hat to some of you, but I'm feeling like I'm
playing stump the dummy with my computer. I am trying to modify my
directory's schema to add support for Open-XChange. I have a schema file
that I have converted to FDS format from the shipped OpenLDAP format
(thanks to tools on the Fedora Directory Server site), but I can't seem
to add this to the server. I first tried:
Code:
[root@bastet ~]# ldapmodify -h localhost -x -f openxchange.ldif2
modifying entry "cn=schema"
ldap_modify: Insufficient access (50)
additional info: Insufficient 'write' privilege to the
'attributeTypes' attribute of entry 'cn=schema'.
I then tried:
Code:
[root@bastet ~]# ldapadd -x -D "cn=Directory Manager,dc=domain,dc=net" -h
localhost -W -f openxchange.ldif2
Enter LDAP Password:
ldap_bind: No such object (32)
matched DN: dc=domain,dc=net
As you can see, I'm getting really stumped. What is the right command
that I'm missing? I'm new to the directory server realm and this has
been my attempt at trying to learn. Thanks for any assistance you can
provide.
Alex
An excert of the schema follows:
#
################################################################################
#
dn: cn=schema
#
################################################################################
#
attributeTypes: (
1.1.2.1.1.1
NAME ( 'mailEnabled' )
DESC 'Is the user enabled or not, for pam_ldap,postfix etc.
filtering...'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768}
SINGLE-VALUE
)
#
################################################################################
#
attributeTypes: (
1.1.2.1.1.2
NAME ( 'alias' )
DESC 'email alias'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768}
)
#
################################################################################
#
attributeTypes: (
1.1.2.1.1.3
NAME ( 'imapServer' )
DESC 'Users Imap Server'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768}
SINGLE-VALUE
)
...
------------------------------------
This email has been ClamScanned!
www.clamav.net