Re: Question on FDS Usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


This is close, you just need to use the right DN for the Directory Manager. Try:
ldapadd -x -D "cn=Directory Manager" ...

Directory Manager is a special DN that doesn't exist inside your suffix.

----- Original Message ----- From: "Alex Ackerman" <alex@xxxxxxxxxxxxx>
To: <fedora-directory-users@xxxxxxxxxx>
Sent: Saturday, March 25, 2006 4:04 PM
Subject:  Question on FDS Usage


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

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users




--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux