bon ben g trouvé tout seul....
pour ceux que ca interresse :
usersdn="ou=Users,dc=TEST,dc=FR"
> Arborescence où seront stockées les données sur les utilisateurs dans lannuaire.
computersdn="ou=Computers,dc=TEST,dc=FR"
> Arborescence où seront stockées les données sur les ordinateurs autorisés à joindre le domaine.
Par contre toujours la galere pour installer phpldapadmin sur une autre machine que le serveur ldap.......
Personne n'aurait une idée ? mon serveur web est sur une autre machine que le serveur ldap, et quand je dois recompiler php j'ai les erreurs suivantes (après MAKE) :
[root@carlsonhome/sources/php-4.3.10]#make
/bin/sh /home/sources/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/ldap/ -I/home/sources/php-4.3.10/ext/ldap/ -DPHP_ATOM_INC -I/home/sources/php-4.3.10/include -I/home/sources/php-4.3.10/main -I/home/sources/php-4.3.10 -I/home/sources/php-4.3.10/Zend -I/usr/local/include -I/include -I/usr/local/mysql/include/mysql -I/home/sources/php-4.3.10/ext/xml/expat -I/home/sources/php-4.3.10/TSRM -g -O2 -prefer-pic -c /home/sources/php-4.3.10/ext/ldap/ldap.c -o ext/ldap/ldap.lo
In file included from /usr/include/lber.h:29,
from /home/sources/php-4.3.10/ext/ldap/php_ldap.h:27,
from /home/sources/php-4.3.10/ext/ldap/ldap.c:44:
/usr/include/lber_types.h:42: syntax error before `ber_int_t'
/usr/include/lber_types.h:42: warning: data definition has no type or storage class
/usr/include/lber_types.h:45: syntax error before `ber_sint_t'
/usr/include/lber_types.h:46: syntax error before `ber_uint_t'
/usr/include/lber_types.h:49: syntax error before `ber_tag_t'
/usr/include/lber_types.h:52: syntax error before `ber_socket_t'
/usr/include/lber_types.h:52: warning: data definition has no type or storage class
/usr/include/lber_types.h:55: syntax error before `ber_len_t'
/usr/include/lber_types.h:58: syntax error before `ber_slen_t'
In file included from /home/sources/php-4.3.10/ext/ldap/php_ldap.h:27,
from /home/sources/php-4.3.10/ext/ldap/ldap.c:44:
/usr/include/lber.h:116: syntax error before `size'
/usr/include/lber.h:117: syntax error before `n'
/usr/include/lber.h:118: syntax error before `ber_len_t'
/usr/include/lber.h:183: syntax error before `ber_slen_t'
/usr/include/lber.h:205: syntax error before `ber_len_t'
/usr/include/lber.h:222: syntax error before `ber_len_t'
/usr/include/lber.h:241: syntax error before `ber_get_tag'
/usr/include/lber.h:242: warning: data definition has no type or storage class
/usr/include/lber.h:245: syntax error before `ber_skip_tag'
/usr/include/lber.h:247: syntax error before `ber_len_t'
/usr/include/lber.h:247: warning: data definition has no type or storage class
/usr/include/lber.h:250: syntax error before `ber_peek_tag'
/usr/include/lber.h:252: syntax error before `ber_len_t'
/usr/include/lber.h:252: warning: data definition has no type or storage class
/usr/include/lber.h:255: syntax error before `ber_get_int'
/usr/include/lber.h:257: syntax error before `ber_int_t'
/usr/include/lber.h:257: warning: data definition has no type or storage class
/usr/include/lber.h:260: syntax error before `ber_get_enum'
/usr/include/lber.h:262: syntax error before `ber_int_t'
/usr/include/lber.h:262: warning: data definition has no type or storage class
/usr/include/lber.h:265: syntax error before `ber_get_stringb'
/usr/include/lber.h:268: syntax error before `ber_len_t'
/usr/include/lber.h:268: warning: data definition has no type or storage class
/usr/include/lber.h:271: syntax error before `ber_get_stringbv'
/usr/include/lber.h:274: warning: data definition has no type or storage class
/usr/include/lber.h:277: syntax error before `ber_get_stringa'
/usr/include/lber.h:279: warning: data definition has no type or storage class
/usr/include/lber.h:282: syntax error before `ber_get_stringal'
/usr/include/lber.h:284: warning: data definition has no type or storage class
/usr/include/lber.h:287: syntax error before `ber_get_bitstringa'
/usr/include/lber.h:290: syntax error before `ber_len_t'
/usr/include/lber.h:290: warning: data definition has no type or storage class
/usr/include/lber.h:293: syntax error before `ber_get_null'
/usr/include/lber.h:294: warning: data definition has no type or storage class
/usr/include/lber.h:297: syntax error before `ber_get_boolean'
/usr/include/lber.h:299: syntax error before `ber_int_t'
/usr/include/lber.h:299: warning: data definition has no type or storage class
/usr/include/lber.h:302: syntax error before `ber_first_element'
/usr/include/lber.h:304: syntax error before `ber_len_t'
/usr/include/lber.h:305: warning: data definition has no type or storage class
/usr/include/lber.h:308: syntax error before `ber_next_element'
/usr/include/lber.h:310: syntax error before `ber_len_t'
/usr/include/lber.h:311: warning: data definition has no type or storage class
/usr/include/lber.h:314: syntax error before `ber_scanf'
/usr/include/lber.h:317: warning: data definition has no type or storage class
/usr/include/lber.h:329: syntax error before `ber_int_t'
/usr/include/lber.h:335: syntax error before `ber_int_t'
/usr/include/lber.h:342: syntax error before `ber_len_t'
/usr/include/lber.h:349: syntax error before `ber_tag_t'
/usr/include/lber.h:355: syntax error before `ber_tag_t'
/usr/include/lber.h:361: syntax error before `ber_len_t'
/usr/include/lber.h:367: syntax error before `ber_tag_t'
/usr/include/lber.h:372: syntax error before `ber_int_t'
/usr/include/lber.h:378: syntax error before `ber_tag_t'
/usr/include/lber.h:383: syntax error before `ber_tag_t'
/usr/include/lber.h:405: syntax error before `ber_read'
/usr/include/lber.h:408: syntax error before `ber_len_t'
/usr/include/lber.h:408: warning: data definition has no type or storage class
/usr/include/lber.h:411: syntax error before `ber_write'
/usr/include/lber.h:414: syntax error before `ber_len_t'
/usr/include/lber.h:415: warning: data definition has no type or storage class
/usr/include/lber.h:446: syntax error before `ber_get_next'
/usr/include/lber.h:448: syntax error before `ber_len_t'
/usr/include/lber.h:449: warning: data definition has no type or storage class
/usr/include/lber.h:544: syntax error before `s'
/usr/include/lber.h:549: syntax error before `ber_len_t'
/usr/include/lber.h:553: syntax error before `n'
/usr/include/lber.h:587: syntax error before `ber_len_t'
/usr/include/lber.h:591: syntax error before `ber_len_t'
In file included from /home/sources/php-4.3.10/ext/ldap/php_ldap.h:29,
from /home/sources/php-4.3.10/ext/ldap/ldap.c:44:
/usr/include/ldap.h:629: syntax error before `ber_tag_t'
/usr/include/ldap.h:1536: syntax error before `s'
/usr/include/ldap.h:1541: syntax error before `ber_len_t'
/usr/include/ldap.h:1545: syntax error before `n'
/home/sources/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_bind':
/home/sources/php-4.3.10/ext/ldap/ldap.c:453: `ber_tag_t' undeclared (first use in this function)
/home/sources/php-4.3.10/ext/ldap/ldap.c:453: (Each undeclared identifier is reported only once
/home/sources/php-4.3.10/ext/ldap/ldap.c:453: for each function it appears in.)
/home/sources/php-4.3.10/ext/ldap/ldap.c:453: syntax error before `0x80U'
/home/sources/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_read':
/home/sources/php-4.3.10/ext/ldap/ldap.c:757: syntax error before `0x0000'
/home/sources/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_list':
/home/sources/php-4.3.10/ext/ldap/ldap.c:765: syntax error before `0x0001'
/home/sources/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_search':
/home/sources/php-4.3.10/ext/ldap/ldap.c:773: syntax error before `0x0002'
/home/sources/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_values_len':
/home/sources/php-4.3.10/ext/ldap/ldap.c:1150: structure has no member named `bv_len'
/home/sources/php-4.3.10/ext/ldap/ldap.c: In function `php_ldap_do_modify':
/home/sources/php-4.3.10/ext/ldap/ldap.c:1327: structure has no member named `bv_len'
/home/sources/php-4.3.10/ext/ldap/ldap.c:1340: structure has no member named `bv_len'
/home/sources/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_set_option':
/home/sources/php-4.3.10/ext/ldap/ldap.c:1738: structure has no member named `bv_len'
/home/sources/php-4.3.10/ext/ldap/ldap.c:1741: structure has no member named `bv_len'
*** Error code 1
Stop in /home/sources/php-4.3.10.
Je comprends pas trop parceque ces fichiers sont ceux contenus dans libraries/ dans le dossier d'open ldap.......
Message édité par pikkpi le 26-04-2005 à 10:33:03