Re: [PHP] add user to ldap using php

2001-02-19 Thread Sayumporn Darunwanna
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)

[PHP] ldapadd in php not allow more than one variable

2001-02-19 Thread Sayumporn Darunwanna
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

[PHP] add user to ldap using php

2001-02-18 Thread Sayumporn Darunwanna
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