How can I test user accounts on authentication server via CLI?

Zyxel_James
Zyxel_James Posts: 663  Zyxel Employee
Zyxel Certified Network Administrator - Security Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate 100 Answers
edited June 27 in Maintenance

Question:
How can I test user accounts on authentication
server via CLI?

Answer:
The following example of AD server configuration:
• IP address: 172.16.50.1
• Port: 389
• Base-dn: DC=Zyxel,DC=com
• Bind-dn: zyxel\engineerABC
• Password: abcdefg
• Login-name-attribute: sAMAccountName

Then you can use this command to test if the user account exists.
Router> test aaa server ad host 172.16.50.1 port 389 base-dn DC=Zyxel,DC=com
bind-dn zyxel\engineerABC password abcdefg login-name-attribute
sAMAccountName account userABC