So i used the LDAP browser and input the correct admin-dn. The status became like this:
(WLC-IDM) *[mynode] #show aaa authentication-server ldap LDAP-server status
LDAP Server Table
-----------------
LDAP Server Attribute Value
--------------------- -----
Priority 2
Name LDAP-server
Hostname 10.0.1.159
AuthPort 389
AuthSSLPort 636
Retries 3
Timeout 20
AdminDN CN=wifi .,OU=WIFI,DC=i*****ret,DC=group
AdminPasswd *****
BaseDN DC=i*****ret,DC=group
KeyAttribute sAMAccountName
Filter (objectclass=*)
Allow Cleartext yes
Status Enabled
InService Up
InitDone yes
AdminBound yes
Connection Type clear text
Server Down no
Marked For Delete no
In Use Callback Set no
Outstanding Authentications 0
RebindTimerSet no
RebindCount 0
ReqViolationCount 0
Note that the adminbound is now "yes".
I tried to do the user query again, it now shows "timeout" instead of the "authentication failed" from before. I checked the log and this is what i got:
Oct 6 09:40:19 :124004: <3517> <DBUG> |authmgr| aal_query_user_oneshot (1572)(INC) : os_auths 1, s LDAP-server type 3 inservice 1 markedD 0 sg_name
Oct 6 09:40:19 :124004: <3517> <DBUG> |authmgr| aal_query_user_oneshot (1573)(INC) : os_reqs 1, s LDAP-server type 3 inservice 1 markedD 0
Oct 6 09:40:39 :124004: <3517> <DBUG> |authmgr| server_cbh (163)(DEC) : os_reqs 0, s LDAP-server type 3 inservice 0 markedD 0
Oct 6 09:40:39 :124607: <3517> <DBUG> |authmgr| server_cbh(): response=2 from Auth server 'LDAP-server for client:0 proto:7 eap-type:0'.
Oct 6 09:40:39 :124004: <3517> <DBUG> |authmgr| server_cbh (422)(DEC) : os_auths 0, s LDAP-server type 3 inservice 0 markedD 0 sg_name
Oct 6 09:40:39 :124004: <3517> <DBUG> |authmgr| Select server for method=, user=wifi, essid=<>, server-group=, last_srv LDAP-server
Oct 6 09:40:39 :199802: <3517> <ERRS> |authmgr| server_group.c, ncfg_server_getnext:380: Unknown or empty server group "" (method=, user=wifi)
Oct 6 09:40:39 :109000: <3517> <DBUG> |authmgr| LDAP Server LDAP-server: Server down callback.
Oct 6 09:40:39 :109013: <3517> <WARN> |authmgr| LDAP Server LDAP-server: Connectivity lost to the Server, trying to re-establish
Oct 6 09:40:39 :124004: <3517> <DBUG> |authmgr| LDAP: ldap_client_server_down_cb/1254 setting server LDAP-server out of service
Oct 6 09:40:39 :109017: <3517> <INFO> |authmgr| LDAP Server LDAP-server: Setting Server Out of Service
Oct 6 09:40:39 :124004: <3517> <DBUG> |authmgr| LDAP unbind: ldap_client_set_out_of_service
Oct 6 09:40:39 :109018: <3517> <INFO> |authmgr| LDAP Server LDAP-server: Unbinding Admin Context from the server
Oct 6 09:40:39 :109019: <3517> <INFO> |authmgr| LDAP Server LDAP-server: Unbinding User Context from the server
Oct 6 09:40:39 :109015: <3517> <INFO> |authmgr| LDAP Server LDAP-server: Starting Timer to rebind to server in 1500 ms
Oct 6 09:40:39 :109000: <3517> <DBUG> |authmgr| LDAP Server LDAP-server: Timer handler to bind to server
Oct 6 09:40:39 :109000: <3517> <DBUG> |authmgr| LDAP Server LDAP-server: initializing LDAP structure for host:10.0.1.159 sslport:636
Oct 6 09:40:39 :109000: <3517> <DBUG> |authmgr| LDAP Server LDAP-server: Initializing TLS Options
Oct 6 09:40:39 :109000: <3517> <DBUG> |authmgr| LDAP Server LDAP-server: preferred connection type 3
Oct 6 09:40:39 :109005: <3517> <INFO> |authmgr| LDAP Server LDAP-server: Admin - Using Clear Text Connection
Oct 6 09:40:39 :109000: <3517> <DBUG> |authmgr| LDAP Server LDAP-server: Setting ASYNC callback option
Oct 6 09:40:39 :109000: <3517> <DBUG> |authmgr| LDAP Server LDAP-server: Setting timeout to 20 seconds
Oct 6 09:40:39 :109000: <3517> <DBUG> |authmgr| LDAP Server LDAP-server: Initialization completed succssfully
Oct 6 09:40:39 :109000: <3517> <DBUG> |authmgr| LDAP Server LDAP-server: Setting server-down callback
Oct 6 09:40:39 :109001: <3517> <DBUG> |authmgr| LDAP Server LDAP-server: Initialization completed successfully
Oct 6 09:40:39 :109011: <3517> <INFO> |authmgr| LDAP Server LDAP-server: Binding Admin to server
Oct 6 09:40:39 :109000: <3517> <DBUG> |authmgr| LDAP Server LDAP-server: Sent Bind request to server
Oct 6 09:40:39 :109000: <3517> <DBUG> |authmgr| LDAP Server LDAP-server: Server down callback.
Oct 6 09:40:39 :124004: <3517> <DBUG> |authmgr| LDAP: ldap_client_server_down_cb/1254 setting server LDAP-server out of service
Oct 6 09:40:39 :109017: <3517> <INFO> |authmgr| LDAP Server LDAP-server: Setting Server Out of Service
Oct 6 09:40:39 :124004: <3517> <DBUG> |authmgr| LDAP unbind: ldap_client_set_out_of_service
Oct 6 09:40:39 :109018: <3517> <INFO> |authmgr| LDAP Server LDAP-server: Unbinding Admin Context from the server
Oct 6 09:40:39 :109015: <3517> <INFO> |authmgr| LDAP Server LDAP-server: Starting Timer to rebind to server in 60000 ms
Oct 6 09:40:40 :124004: <3517> <DBUG> |authmgr| Auth GSM: Num dev_id_cache entries aged = 0
Do you know what is the problem now?
Thank you.