N4032 login authentication using RADIUS (Windows Server 2008R2)
I'm having trouble getting authentication working. All of our Cisco switches are working and these are our first Dell switches.
The OOB port on the Dell switches are connected to a management network switch. That traffic is routed to our main site where we have a Windows server with the Network Protection Service role. After setting everything up I try to open an SSH session using putty. I get an Access Denied error. One the NPS server I see an audit failure saying wrong username or password. Any suggestions?
I'm using the same policy that the Cisco switches are using.
How do you have authentication for the switch configured? What does the command “show authentication methods” return? What version of the firmware are you using?
It looks like it is configured correctly to use SSH with RADIUS on the switch side. Did you use any guides or what specific steps did you do when setting up NPS? So we can try to replicate. Do you have the same issue when he removes the 'enable authentication RadEn' line from his line ssh config? Is the key you are using plain text or already encrypted?
I'll have to test to see if we get all the same indicators when removing the enable auth RadEn line. I'll post the results in the morning. The key is plain text and just to simplify it I used a very basic 6 digit key.
I was able to get login working with Radius but not the enable part. To get the login part working I removed the NAS Port Type restrictions on the NPS Policy. This is what I have and the error I'm getting.
aaa authentication login "RadAuth" radius
aaa authentication enable "RenEn" radius
radius-server source-ip 172.28.6.8
radius-server host auth 199.254.98.52
name "Default-RADIUS-Server"
key "long key"
exit
ip ssh server
line ssh
login authentication RadAuth
enable authentication RadEn
exit
On the NPS server policy I specify the following:
Setting: Cisco-AV-Pair
Value: Shell:priv-lvl=15
With that policy setting it automatically goes to enable on Cisco switches. But when I login to the Dell switch I'm at the normal user prompt. I then type enable and it prompts for a password. I type in my user password and it fails. the error on the NPS server is as follows:
User:
Security ID: NULL SID
Account Name: $enab15$
- and more stuff that is irrelevant -
Reason: Authentication failed due to a user credentials mismatch. Either the user name provided does not map to an existing user account or the password was incorrect.
The username being passed to the RADIUS server is incorrect when trying to enable. The username is correct for the login part.
So either I need a different setting on the NPS server policy to tell the switch to automatically go to enable or find a way for the switch to provide the correct user name when manually going to enable.
DELL-Josh Cr
Community Manager
•
9777 Posts
•
45028 Points
4545
0
Posted January 18th, 2016 14:00
Hi,
How do you have authentication for the switch configured? What does the command “show authentication methods” return? What version of the firmware are you using?