On 08/13/2014 12:39 PM, Dan Lavu wrote:
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

It's "cn=directory manager" by default, no cn=config in there.


so

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

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

Dan




From: "Isabella Ghiurea" <Isabella.Ghiurea@nrc-cnrc.gc.ca>
To: 389-users@lists.fedoraproject.org
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
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users



--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users