unexpected result of query

2008-12-15 Thread Karsten Kankowski
Hello dear knowing nice guys! I add an own schema to my OpenLDAP server which contains a lot of software configuration data. Now I would like to querey against ist but.. Yess some unexpected results: Here the schema i query for: Below a object called cu=DA350_XX0,cu=codice,cu=a-d,cu=natco,dc=ca

Search Filter in Active Directory

2008-12-15 Thread Ambuj
Hi , Can any body suggest me the search filter based on the ADGUID to update fields in active directory I am using search.Filter = String.Format(CultureInfo.InvariantCulture, "(&(GUID= {0})(objectClass=person))", a); where a is the variable which contains the value of ADGUID Please re

Re: Search Filter in Active Directory

2008-12-15 Thread Karsten Kankowski
Hi Ambj, well, If I browse one of our AD, following objects are used: top person organizationalPerson contact In none of theses object a atribute GUID is included. Well, do you able to browse ( via Jexplore ore something else ) the AD to see which objects are available?. The object "person" OID

Re: unexpected result of query

2008-12-15 Thread Graham Barr
On Dec 15, 2008, at 7:40 AM, Karsten Kankowski wrote: cn=catiav5,cu=catiav5,cu=sequence,cu=DA350_XX0,cu=codice,. cn=reader,cu=HPUX32,cu=adobe,cu=cosoft,cu=DA350_XX0,cu=codice,. To query this tree i try to pass following parameters my $attr=['*']; $ldap->search ( base => "cu=DA350_XX0,cu

Re: unexpected result of query

2008-12-15 Thread Chris Ridd
On 15 Dec 2008, at 16:19, Graham Barr wrote: Filters only compare actual attributes, not parts of the DN. Which is why you only Nod, though you could do an extensible match which just matched parts of the DN. An exercise for the reader... Cheers, Chris