I found it (it was some kind of miracle to discover it after more than 2 hours of trying everything).
When you use Perl to add an entry to the LDAP you don't even care about the objectclass entrys the LDAP just adds them for you (or perhaps something else), but when it comes to PHP you have to add them to your add array (So stupid).
Anyway thanks for taking care,
By the way I would be sure next time not to post the link as is, thanks Yaman.
On 9/15/05, Yaman Saqqa <[EMAIL PROTECTED]> wrote:
May be in such cases you wanna post the code! And make sure the link does not point back to where it's coming from (maktoob).
On 9/15/05, Ala'a Ibrahim < [EMAIL PROTECTED]> wrote:Dear All,I'm writing a script, in PHP 5 that adds an entry to the ldap, I keep getting this error, (and no entry is inserted)Warning: ldap_add() Add: Object class violation in ...The code is good to be in a manual. does anybody know what could cause this.Please it's urgent, I've googled with no results.
_______________________________________________
General mailing list
[email protected]
http://mail.jolug.org/mailman/listinfo/general_jolug.org
--
abulyomon
www.KiLLTHeUPLiNK.com
_______________________________________________
General mailing list
[email protected]
http://mail.jolug.org/mailman/listinfo/general_jolug.org
--
Ala'a A. Ibrahim
http://360.yahoo.com/bai_83
_______________________________________________ General mailing list [email protected] http://mail.jolug.org/mailman/listinfo/general_jolug.org
