Commit b5bf9ece authored by jiangbowen's avatar jiangbowen

add attr

parent 99c2dcc6
......@@ -199,7 +199,7 @@ class LdapController extends Controller
if (is_numeric($key)) continue;
$user=$this->provider->search()->find($key);
if ($user->exists) {
$user->rename("cn=$value");
// $user->rename("cn=$value");
// $user->setDn("cn={$value},{$dept_name},ou=Users_hoto,dc=hoto,dc=test"); //在IT发展部新增人员
//邮箱
if(!empty($company_email)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment