note 96933 added to function.ldap-add

From: Date: Tue, 23 Mar 2010 20:32:45 +0000
Subject: note 96933 added to function.ldap-add
Groups: php.notes 
Request: Send a blank email to php-notes+get-167331@lists.php.net to get a copy of this message
ldap_bind($ds, "admin@domain.local", "secret") $info["CN"] = "johjon"; $info["sAMAccountName"] = "johjon"; $info["sn"] = "Jones"; $info["mail"] = "jonj@example.com"; $info["givenName"] = "John"; $info["objectclass"][0] = "top"; $info["objectclass"][1] = "person"; $info["objectclass"][2] = "organizationalPerson"; $info["objectclass"][3] = "user"; $info["userPassword"] = "secret"; $info["userAccountControl"] = "544"; ldap_add($ds, "cn=johjon, ou=test, dc=domain, dc=local", $info); I run this against Windows 2003 Server. It works aside from two things: 1. It won't set password. 2. It won't set login name. Anyone who can help? ---- Server IP: 69.147.83.197 Probable Submitter: 217.209.13.229 ---- Manual Page -- http://www.php.net/manual/en/function.ldap-add.php Edit -- https://master.php.net/note/edit/96933 Del: integrated -- https://master.php.net/note/delete/96933/integrated Del: useless -- https://master.php.net/note/delete/96933/useless Del: bad code -- https://master.php.net/note/delete/96933/bad+code Del: spam -- https://master.php.net/note/delete/96933/spam Del: non-english -- https://master.php.net/note/delete/96933/non-english Del: in docs -- https://master.php.net/note/delete/96933/in+docs Del: other reasons-- https://master.php.net/note/delete/96933 Reject -- https://master.php.net/note/reject/96933 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#167331) next »