Commit f07f5f7a authored by jiangbowen's avatar jiangbowen

add attr

parent c23349ec
......@@ -139,6 +139,8 @@ class LdapController extends Controller
$user->setAttribute('givenName','last name...');
//显示名称
$user->setAttribute('displayName','test');
//登陆账号
$user->setAttribute('sAMAccounName','test999');
if($user->create()){
Log::info("{$value} created success....");
} else {
......
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