Hi Mohib,
I tried with the following variations but still simple bind fails.
1) I remember mapping only sn, uid and cn attributes with AD. I didn't have givenName. So excluded it here.
/opt/opendj/bin/ldapsearch -h localhost -p 1636 -D "cn=directory manager,o=gluu" -j ~/.pw -Z -X -b "cn=o=gluu" "uid=$newgluuadmin" uid sn cn
2) Just added -D "cn=directory manager,o=gluu" like you suggested
/opt/opendj/bin/ldapsearch -h localhost -p 1636 -D "cn=directory manager,o=gluu" -j ~/.pw -Z -X -b "o=gluu" "uid=$newgluuadmin" uid givenName sn cn