How to change LDAP users to Radius using Pacli

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

PAM Self-Hosted Articles
1 min read
L7 Applicator
No ratings

After switching the default authentication method for users over from LDAP to Radius (using the directory mapping) you may want/need to update existing users from LDAP top Radius.

These two scrips will do that. the first generates a list of users, the second switches them to Radius.

Bear in mind that the user list will also find administrator and other built in users, be sure to remove them from the list first. I'm sure that someone can improve the user list script to only retrieve LDAP users.

Steps

  1. Generate a PACLI auth file with the file name "pacli.ini", place it in the PACLI directory.
  2. Place this bat file in the PACLI directory.
  3. Configure Vault.ini file to point to Vault IP address.
  4. Run the batch file from elevated cmd prompt. The batch file will:
    1. Generate a list of all external users in the vault (LDAP users pulled in through directory mappings)
    2. Automatically run a pacli command to update each user in the list to have the "RADIUS_AUTH" authentication type
Rate this article: