I'm developing a code which uses ldap_search
Shell Script Command for extracting user information from Active Directory using user id and by proper LDAP Server Authentication. I am getting accurate result from ldap_search
script.
But, whenever I put the shell script inside exec
or shell_exec
PHP command, I'm not getting anything.
All the other shell scripts are working fine with the help of PHP exec
command except ldap_search
.
Is there some additional task left for me to do?
Is ldap_search
and exec/shell_exec
not compatible with each other?