Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $r = array(
- "command" => "ldapConfig",
- "hostname" => "ldap.oblako10.ru",
- "searchbase" => "dc=oblako10,dc=ru",
- "queryfilter" => "(&(uid=%u))",
- "port" => "389",
- "apiKey" => API_KEY,
- );
- $r = array(
- "command" => "createAccount",
- "accounttype" => "0",
- "password" => "",
- "email" => "test@oblako10.ru",
- "firstname" => "Firstname",
- "lastname" => "Lastname",
- "username" => "test",
- "timezone" => "UTC+04:00",
- "apiKey" => API_KEY,
- );
- dn: uid=test,dc=oblako10,dc=ru
- objectClass: top
- objectClass: account
- objectClass: simpleSecurityObject
- uid: test
- userPassword:: ..................
- [root@mgmt ~]# ldapwhoami -x -D uid=test,dc=oblako10,dc=ru -W
- Enter LDAP Password:
- dn:uid=test,dc=oblako10,dc=ru
- 2012-05-15 20:24:25,052 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-20:null) Retrieving user: test
- 2012-05-15 20:24:25,054 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-20:null) Password does not match
- 2012-05-15 20:24:25,054 DEBUG [server.auth.LDAPUserAuthenticator] (catalina-exec-20:null) Retrieving user: test
- 2012-05-15 20:24:25,128 INFO [server.auth.LDAPUserAuthenticator] (catalina-exec-20:null) DN from LDAP =uid=test
- 2012-05-15 20:24:25,138 WARN [server.auth.LDAPUserAuthenticator] (catalina-exec-20:null) Authentication failed d
- ue to [LDAP: error code 49 - Invalid Credentials]
- 2012-05-15 20:24:25,139 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-20:null) Unable to authenticate user
- with username test in domain 1
Add Comment
Please, Sign In to add comment