I finally resolved it using single quotes instead.

Example of the DN definition.

$dn='cn=' . $lastname . '\, ' . $firstname . ',' . $it_base . ',' . $base;

Seems like double quotes is the cause of the problem.  Note to self:
Avoid the use of double quotes as much as possible.

Thanks everyone for your inputs!

Will

Reply via email to