I Got output like that ....
LDAP query test
Connecting ...connect result is Resource id #4
Binding ...Bind result is
Searching for (sn=S*) ...Search result is Resource id #5
Number of entires returned is 4
Getting entries ...
Data for 4 items returned:
dn is: uid=ajith,ou=people,dc=vmc,dc=com
first cn entry is: Ajith Kumar
first email entry is:
ajith.doe@example.com
dn is: uid=abhay,ou=people,dc=vmc,dc=com
first cn entry is: Abhay Kumar
first email entry is:
abhay.doe@example.com
dn is: uid=sree,ou=people,dc=vmc,dc=com
first cn entry is: Sree Kumar
first email entry is:
sree.doe@example.com
dn is: uid=renjith,ou=people,dc=vmc,dc=com
first cn entry is: Renjith Kumar
first email entry is:
renjith.doe@example.com
Closing connection
Then also i got erorrs while login( LDAP server through testlink )
Configuration
"$tlCfg->authentication['method'] = 'LDAP';
/** LDAP authentication credentials */
$tlCfg->authentication['ldap_server'] = '192.168.1.172';
$tlCfg->authentication['ldap_port'] = '389';
$tlCfg->authentication['ldap_version'] = '3'; // could be '2' in some cases
$tlCfg->authentication['ldap_root_dn'] = 'dc=vmc,dc=com';
$tlCfg->authentication['ldap_organization'] = '(organizationname=people)'; // e.g. '(organizationname=*Traffic)'
$tlCfg->authentication['ldap_uid_field'] = 'uid'; // Use 'sAMAccountName' for Active Directory
$tlCfg->authentication['ldap_bind_dn'] = 'cn=admin,ou=people,dc=vmc,dc=com'; // Left empty for anonymous LDAP binding
$tlCfg->authentication['ldap_bind_passwd'] = ''; // Left empty for anonymous LDAP binding
$tlCfg->authentication['ldap_tls'] = false; // true -> use tls
"
Can u pls give some solution?