note 75216 added to function.ldap-get-values-len

From: Date: Fri, 18 May 2007 11:37:48 +0000
Subject: note 75216 added to function.ldap-get-values-len
Groups: php.notes 
Request: Send a blank email to php-notes+get-126684@lists.php.net to get a copy of this message
Pour utiliser objectGUID, il faut utiliser : -bin2hex pour avoir la chaine objectGUID en hexadecimal. hex = 3662af5d60b36f47b8b5163053b85a23 -pack("H*",objectGUIDhex) pour avoir le binaire. bin = 6b¯]`³oG¸µ0S¸Z# Donc on peut chercher une personne sur son objectGUID qui est unique sous windows (active directory). $t= pack("H*","3662af5d60b36f47b8b5163053b85a23"); $filter="(objectGUID=$t)"; retrouve la personne possedant cet objectGUID. ---- Server IP: 195.221.21.36 Probable Submitter: 81.255.240.103 ---- Manual Page -- http://www.php.net/manual/en/function.ldap-get-values-len.php Edit -- https://master.php.net/note/edit/75216 Del: integrated -- https://master.php.net/note/delete/75216/integrated Del: useless -- https://master.php.net/note/delete/75216/useless Del: bad code -- https://master.php.net/note/delete/75216/bad+code Del: spam -- https://master.php.net/note/delete/75216/spam Del: non-english -- https://master.php.net/note/delete/75216/non-english Del: in docs -- https://master.php.net/note/delete/75216/in+docs Del: other reasons-- https://master.php.net/note/delete/75216 Reject -- https://master.php.net/note/reject/75216 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#126684) next »