Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Re: Re: Re: RFC: Net::LDAP::Simple

by kennethwlangley (Novice)
on Apr 17, 2003 at 17:31 UTC ( #251267=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: RFC: Net::LDAP::Simple
in thread RFC: Net::LDAP::Simple

I'm not really sure what you asking for in the last sentence, but I did read your meditation about WIP delivery system. My taste is to leverage what already exists (in this case using an ldap bind call to authenticate users). Do you ever anticipate implementing a password policy that requires changes (e.g. once a quarter)? In my project I have to be able to support a password policy for accounts in the directory -- so I think my authentication method has to be a bind as the user. Our directory is public so I don't think allowing anonymous access to userPassword would be a good idea.

Here is a code sample of what we're a prototyping:
# anonymous bind to determine user DN $msg = $ldap->bind(); $msg = $ldap->search ( base => $BASE, filter => "(uid=$uid)" ); die "no entries" if ! $msg->count; my $entry = $msg->shift_entry; my $dn = $entry->dn; $msg = $ldap->bind( $dn, password => $secret );

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://251267]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2022-01-26 07:42 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (69 votes). Check out past polls.