So directory manager is the *value* of the attribute, the attribute is CN 
(common name) the DN, what it's explicitly asking for is the Distinguished 
Name, which is the absolute location of the user in the directory you are 
trying to use. For example 

CN = directory manager 
DN = cn=directory manager, cn=config 

so 

db2bak.pl -D "cn=directory manager,cn=config" etc etc 

will be the correct syntax you want to use. Hope this helps. 

Dan 



----- Original Message -----

From: "Isabella Ghiurea" <[email protected]> 
To: [email protected] 
Sent: Wednesday, August 13, 2014 1:51:44 PM 
Subject: [389-users] db2bak.pl issuess 


HI List, 
I'm new to 389DS trying to cfg my full backups, using db2bak.pl 
running as: root or ldap-ds :db2bak.pl -D 'directory manager' - w pass - a 
/var/lib/mybackups/ds_back , this faills with 
Ldap_bind :Invalid DN syntax (34) 
What do I miss? 


-- 
389 users mailing list 
[email protected] 
https://admin.fedoraproject.org/mailman/listinfo/389-users 
--
389 users mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/389-users

Reply via email to