<![CDATA[Andesi - forum / OpenLDAP et Active Directory]> 2010-11-18T07:31:26Z FluxBB http://forum.andesi.org/viewtopic.php?id=6724 <![CDATA[Réponse à : OpenLDAP et Active Directory]> Oui, désolé, je retire la question

]>
http://forum.andesi.org/profile.php?id=25341 2010-11-18T07:31:26Z http://forum.andesi.org/viewtopic.php?pid=59548#p59548
<![CDATA[Réponse à : OpenLDAP et Active Directory]> Bonjour,

Pardon d'être direct : et Debian dans tout ça ?

]>
http://forum.andesi.org/profile.php?id=1309 2010-11-17T22:59:30Z http://forum.andesi.org/viewtopic.php?pid=59547#p59547
<![CDATA[OpenLDAP et Active Directory]> Bonjour,
Je dois lire un annuaire OpenLDAP à partir d'un application MS Access. Seuls les attributs connus par Active Directory ne provoquent pas d'erreur lors de l'exécution de la requête. Dans le code suivant, l'attribut "autretelephone" va provoquer une erreur d'éxécution et tout fonctionne bien si je le retire.
Merci pour vos réponses

Set objCommand = CreateObject("ADODB.Command")
Set objConnection = CreateObject("ADODB.Connection")
objConnection.Provider = "ADsDSOObject"
objConnection.Open strPath, strUsername, strPassword
Set objCommand.ActiveConnection = objConnection

objCommand.CommandText = "SELECT mail,cn,title,uid,autretelephone FROM 'LDAP://ldap.entreprise.fr/OU=people,dc= entreprise ,dc=fr' where present =TRUE"
Set objRecordSet = objCommand.Execute

]>
http://forum.andesi.org/profile.php?id=25341 2010-11-17T15:56:54Z http://forum.andesi.org/viewtopic.php?pid=59546#p59546