Maarten,
You should try to play a little with the Adsearch UDF (too lazy to retreive the link in the UDF section). It will give you some idea of the naming context in AD
Beware, as this function add 2 informations that are not comming from AD : Accountname, Iscontainer and IsGroup.

With LDAP, if you want to retreive someting as an objet, you have to give his full context name (CN) in THE RIGHT ORDER!!!!!
(sometimes, I would like M$ not getting so strict, but i think it's a dream). Also, no wildcards or errors are tolerated but seems that after all, M$ drop us something, as even if it's case sensitive (!one more!), i've already got it working with all in lower case.

For your example, it's most something like
$container = getobject("LDAP://mvdw.nl/OU=contacts,DC=mvdw,DC=nl")

[ 08 January 2002: Message edited by: Alex.H ]

_________________________
? getobject(Kixtart.org.Signature)