[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: how to generate initial password
- To: <openldap-software@OpenLDAP.org>
- Subject: RE: how to generate initial password
- From: "Rigler, Steve" <SRigler@MarathonOil.com>
- Date: Sat, 21 Jun 2003 14:49:44 -0500
- Content-class: urn:content-classes:message
- Thread-index: AcM3uBLIWHRKEKJsSGOB4+j01rPwZwAdg9nA
- Thread-topic: how to generate initial password
Wouldn't it need to be:
print "userPassword: {crypt}$my_passwd\n";
-Steve
-----Original Message-----
From: Beast [mailto:beast@setuid.com]
Sent: Saturday, June 21, 2003 12:22 AM
To: openldap-software@OpenLDAP.org
Subject: how to generate initial password
Hello,
I'm import users from some other system (not *nix) so i need to
generate initial user password (which is same as username).
I'm using this perl script to generate the passowrd, but it did't works
(user can not login due to invalid credentials).
$my_passwd = crypt($username, $salt);
print "userPassword: {crypt}$username\n";
any clue?
Tks.
--beast