note 111095 added to function.ldap-add

From: Date: Mon, 14 Jan 2013 07:04:39 +0000
Subject: note 111095 added to function.ldap-add
Groups: php.notes 
Request: Send a blank email to php-notes+get-193026@lists.php.net to get a copy of this message
I kept getting "Object Class Violation" when I tried adding posixAccount and shadowAccount as an objectclass. It turned out that these object classes had a lot of required fields that I was not adding. You may need to export a working user (if you have phpLDAPadmin) and see exactly what fields they have, then try to copy it exactly in the script. It also doesn't hurt if you make everything an Array the first time around, you can fix those fields later. ---- Server IP: 69.147.83.199 Probable Submitter: 71.252.168.199 ---- Manual Page -- http://php.net/manual/en/function.ldap-add.php Edit -- https://master.php.net/note/edit/111095 Del: integrated -- https://master.php.net/note/delete/111095/integrated Del: useless -- https://master.php.net/note/delete/111095/useless Del: bad code -- https://master.php.net/note/delete/111095/bad+code Del: spam -- https://master.php.net/note/delete/111095/spam Del: non-english -- https://master.php.net/note/delete/111095/non-english Del: in docs -- https://master.php.net/note/delete/111095/in+docs Del: other reasons-- https://master.php.net/note/delete/111095 Reject -- https://master.php.net/note/reject/111095 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#193026) next »