[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: rc file for openldap command line commands
Hi,
Thanks, I missed that command. If I want to set the root dn
as the one in the local file, am I understanding that the form
is the same as password file? If the rootdn in slapd.conf is:
rootdn "cn=Manager,dc=myorg,dc=com"
rootpw secret
Then is the password file:
Manager:secret:#:#:gecos:/tmp:/bin/csh
or
Manager:{CRYPT}secret:....
or
Manager:secret
or
Manager:{CRYPT}secret
Of course, {CRYPT}secret, would be encoded and -x used in the command line.
So far, none of the formats have seen to work.
The overall idea here is that I am populating the ldap db and I don't want
the root pw to show up in the process list. Of course, there might be other
apps. along this line of a command line and not wanting to show the pw.
Thanks,
Cheers,
Douglas
-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Peter
Marschall
Sent: Saturday, July 05, 2003 5:33 AM
To: Douglas B. Jones; openldap-software@OpenLDAP.org
Cc: Douglas B Jones
Subject: Re: rc file for openldap command line commands
Hi,
On Friday 04 July 2003 05:13, Douglas B. Jones wrote:
> With ldapsearch and company, you can use '-W' or '-w pw'. Is
> there a way to have it look at a ~/.ldaprc type file for your
> password or a current directory file? I want to avoid having
> to type ('-W') the password in each time right now, but I still
> want to have it authenticate.
Try
-y FILE
where FILE is a file containing the password
Peter
--
Peter Marschall
eMail: peter@adpm.de