Re: Net::Ldap suddenly stopped working ..

2006-03-10 Thread Adrian De los Santos
On Mar 10, 2006, at 11:30 AM, Adrian De los Santos wrote: On Mar 10, 2006, at 11:28 AM, Chris Ridd wrote: On 10/3/06 5:22, Adrian De los Santos <[EMAIL PROTECTED]> wrote: On Mar 9, 2006, at 6:28 PM, Graham Barr wrote: Has anything changed in your perl installation ? What versions of Ne

Re: Net::Ldap suddenly stopped working ..

2006-03-10 Thread Chris Ridd
On 10/3/06 6:14, Adrian De los Santos <[EMAIL PROTECTED]> wrote: > > On Mar 10, 2006, at 11:51 AM, Chris Ridd wrote: > >> On 10/3/06 5:30, Adrian De los Santos <[EMAIL PROTECTED]> wrote: >> >>> And.. how i get that raw dump ? >> >> You were most of the way there already - just call >> >>

Re: Net::Ldap suddenly stopped working ..

2006-03-10 Thread Adrian De los Santos
On Mar 10, 2006, at 11:51 AM, Chris Ridd wrote: On 10/3/06 5:30, Adrian De los Santos <[EMAIL PROTECTED]> wrote: And.. how i get that raw dump ? You were most of the way there already - just call $ldap->debug(2); before calling the search or whatever it was. Thanks and sorry for my

Re: retrieve all possible attributes for a class

2006-03-10 Thread [EMAIL PROTECTED]
Looking at the source code of schema.pm my $sup = $elem->{sup} or next; push @oc, @$sup; it already walks the superclasses. So to get all possible attributes for a class, just ask for all "must" and "may" attributes for a class. Cheers, Hans Chris Ridd schreef: On 10/3/06 2:18, Hirmk

Re: Net::Ldap suddenly stopped working ..

2006-03-10 Thread Chris Ridd
On 10/3/06 5:22, Adrian De los Santos <[EMAIL PROTECTED]> wrote: > On Mar 9, 2006, at 6:28 PM, Graham Barr wrote: > >> >> Has anything changed in your perl installation ? >> >> What versions of Net::LDAP and Convert::ASN1 do you have installed ? >> >> I suspect the decoding actually got messed

Re: Net::Ldap suddenly stopped working ..

2006-03-10 Thread Adrian De los Santos
On Mar 9, 2006, at 6:28 PM, Graham Barr wrote: Has anything changed in your perl installation ? What versions of Net::LDAP and Convert::ASN1 do you have installed ? I suspect the decoding actually got messed up before the bit you pasted into you message. That is a big packet to have an offset

Re: 'decode error 16<=>30' on $mesg->code && die $mesg->error;

2006-03-10 Thread Christian Sengstock
2006/3/10, Chris Ridd <[EMAIL PROTECTED]>: > On 7/3/06 3:38, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi list, > > a while ago i installed the smbldap-tools 0.8.5 on a 'SUSE LINUX > > Enterprise Server 9 (x86_64)' system. Now the 'smbldap-tools' (using > > the Net::LDAP lib) aren't worki

Re: retrieve all possible attributes for a class

2006-03-10 Thread Chris Ridd
On 10/3/06 2:18, Hirmke Michael <[EMAIL PROTECTED]> wrote: > Thx for your answer. > Though it is not, what I wanted to hear, I have to live with this fact. Recently a new method was added to Schema.pm that determines an attribute's syntax by looking through the supertypes. I think it would be rea

RE: retrieve all possible attributes for a class

2006-03-10 Thread Hirmke Michael
Hi, > From: Chris Ridd [mailto:[EMAIL PROTECTED] [...] > > and auxiliary classes? Do I really have to query the class, > then query for > > the next superior class, then query for the attributes of > this class and so > > on? > > Yes. 8-( [...] > It should return all of the *allowed* auxilia

Re: 'decode error 16<=>30' on $mesg->code && die $mesg->error;

2006-03-10 Thread Chris Ridd
On 7/3/06 3:38, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi list, > a while ago i installed the smbldap-tools 0.8.5 on a 'SUSE LINUX > Enterprise Server 9 (x86_64)' system. Now the 'smbldap-tools' (using > the Net::LDAP lib) aren't working anymore but they worked perfectly > before. I can't

Re: retrieve all possible attributes for a class

2006-03-10 Thread Chris Ridd
On 8/3/06 4:40, Hirmke Michael <[EMAIL PROTECTED]> wrote: > Hi *, > > what is the best/preferred method for retrieving *all* possible attributes > for an object including all the attributes of both of it's classes superior > and auxiliary classes? Do I really have to query the class, then query f

Re: aci parsing

2006-03-10 Thread Chris Ridd
On 10/3/06 1:30, Gergely Sánta <[EMAIL PROTECTED]> wrote: > Hi! > > Is there some easy way to parse an aci attribute? I neet to know, if > user have permissions to execute a create/modify/delete command, before > that command is sent to LDAP. There's no standard syntax for access controls in LDA

aci parsing

2006-03-10 Thread Gergely Sánta
Hi! Is there some easy way to parse an aci attribute? I neet to know, if user have permissions to execute a create/modify/delete command, before that command is sent to LDAP. EdE

Bind Problem Net Ldap

2006-03-10 Thread Narendra Deshpande
Hi,          I am trying to use NET::LDAP module to connect to AD/LDAP server. The webserver is IPlanet and the machine is solaris. I am able to bind to the LDAP server successfully with plain text as password. $ldap->bind ( dn => 'username',        password => 'password' ); But when it has spec