Commit 77c0ce77 authored by 张育槟's avatar 张育槟

调试5

parent 3f8c6d3c
......@@ -116,7 +116,7 @@ class LdapController extends Controller
$dept_name='ou=IT发展部';
if(!empty($data['deptName'])){
$dept_name=$dept_name.'/'.$data['deptName'];
$dept_name=$dept_name.',ou='.$data['deptName'];
}
foreach ($data['data'] as $key => $value) {
$entry=["cn"=>"{$value}"];
......
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