Re: [SLE] ldapmod problem
- From: Ralf Haferkamp <rhafer@xxxxxxx>
- Date: Mon, 24 Jul 2006 12:11:46 +0200
On Tuesday 18 July 2006 09:08, Martin Hochreiter wrote:
Hi !
I want to apply the ldif mentioned below
on my ldap server but I get following error:
(I think the problem is the renaming of the
DN but how can I do that?)
----------------------------ERROR--------------------------------
modifying entry "uid=ronald labenbacher,cn=rkt,o=rk"
ldap_modify: Naming violation (64)
additional info: value of naming attribute 'uid' is not present
in entry
--------------------------------------------------------------------------
--------------------------LDIF-------------------------
dn: uid=ronald labenbacher,cn=rkt,o=rk
changetype: modify
add: objectClass
objectClass: CourierMailAccount
-
replace: homeDirectory
homeDirectory: /home/ronald.labenbacher
-
add: mail
mail: ronald.labenbacher@xxxxxxxxxxxxxxxx
-
add: mailbox
mailbox: /home/ronald.labenbacher/Maildir
-
replace: cn
cn: ronald labenbacher
remove this:
-and replace it with (note the empty line at the start):
replace: uid
uid: ronald_labenbacher,cn=rkt,o=rk
-----------------------snip--------------------------
dn: uid=ronald labenbacher,cn=rkt,o=rk
changetype: modrdn
newrdn: uid=ronald_labenbacher
deleteoldrdn: 1
-----------------------snip--------------------------
For details see the ldapmodify and slapd.replog (for the LDIF syntax) man
pages. Alternatively you can rename the DN with the "ldapmodrdn" command.
--
Ralf
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx
- References:
- [SLE] ldapmod problem
- From: Martin Hochreiter
- [SLE] ldapmod problem
- Prev by Date: [SLE] rbldnsd anyone?
- Next by Date: Re: [SLE] Suse 10 Root nearly full
- Previous by thread: [SLE] ldapmod problem
- Next by thread: [SLE] SPAM: Suse Firewall2 on suse 10.1
- Index(es):
Relevant Pages
|