I can bind to ldap server successful but ldap add operation couldn't
complete.
>From: "Richard Lynch" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Re: [PHP] add user to ldap using php
>Date: Mon, 19 Feb 2001 02:13:16 -0600
>
> > $a=ldap_add($ds, "uid=beau, dc=graduate, dc=com", $info)
I try to add user by using php.
ldap_add($ds, "cn=$username, c=$country, dc=graduate, dc=com" , $info);
because I want to receive data from my html page. it doesn't work when I try
to add more than one variable. But when I try
ldap_add($ds, "cn=$username, dc=graduate, dc=com" , $info); or
ldap_ad
I can add user through ldap server by using command line. and my ldif file
is like this :
dn: uid=pang,dc=graduate,dc=com
uid: pang
cn: Sayumporn Darunwanna
sn: Darunwanna
userPassword: pang
objectClass: uidobject
objectClass: person
But when I try to write php script. I can bind to ldap server
3 matches
Mail list logo