Re: Change Password Revisited

2006-08-28 Thread Justin Alcorn
Paul wrote: Here's example code from PerLDAP at http://www.perldap.org for exactly what you're trying to do: (Note: They call CRYPT to change the password, you would want at least SHA or SSHA ... or write the password in clear text over the wire (the Directory Server will encrypt it for storage

Suggestions regarding Authen-SASL & libnet

2006-08-28 Thread Jürgen Herz
Hi, using an program that incorporates the above libs, I experienced some problems with them. The program uses Authen-SASL 2.03 which seems "a bit old", but all in all I still think the changes would also do 2.10 good. 1. Net::POP3 In auth () I don't like my $mechanisms = $capa->{SASL} || 'CRA

Re: Suggestions regarding Authen-SASL & libnet

2006-08-28 Thread Achim Grolms
On Monday 28 August 2006 18:54, Jürgen Herz wrote: > my $mechanisms = $capa->{SASL}; > return () unless $mechanisms; > instead would still work the same for users but save the try. Graham says: "The reason it tries CRAM-MD5 i because there were servers out there that would accept it but did n

Help with script

2006-08-28 Thread scottrshaw
I am trying to write a script that searches ldap for a group and then prints out the members of that group. I stripped it down to the bare essentials to figure out why it's not working. When I run it, I get the attributes for the group name, but I don't get any members back, and I get an error me

Re: Suggestions regarding Authen-SASL & libnet

2006-08-28 Thread Jürgen Herz
Hi Achim thank you for answering. > Graham says: > "The reason it tries CRAM-MD5 i because there were servers > out there that would accept it but did not publish it in capa. If > there server does not support it then it will return an error when > you try." > The change you suggest breaks intero

Re: Suggestions regarding Authen-SASL & libnet

2006-08-28 Thread Achim Grolms
On Tuesday 29 August 2006 00:45, Jürgen Herz wrote: > Ok, I reckoned with that argument. I'd say if their SASL support isn't > recognized, it's their own fault. Sure. Graham's point is - a change in behaviour will break existing code that relies on Net::POP3 and that behaviour. My point is: Ther