Setting up LDAP Authentication for ProxMox VE
i12bretro
#Proxmox #LDAP #Authentication
Full steps can be found at https://i12bretro.github.io/tutorials/0413.html
NOTE: ProxMox does not like spaces in user or group names
Create VMAdmins Group
- Click the Start button ≫ Windows Administrative Tools ≫ Active Directory Users and Computers
- Expand the domain name
- Right click on the Users container ≫ New ≫ Group
- Name the group VMAdmins ≫ Click OK
- Double click the newly created VMAdmins group
- Select the Members tab ≫ Click the Add... button
- Add users who will be administrators for the ProxMox host
Configuring LDAP Authentication in ProxMox VE
- Open a web browser and navigate to the ProxMox VE web UI
- Log in
- Select Datacenter in the left navigation menu
- Select Permissions ≫ Authentication in the left sub navigation menu
- Click the Add dropdown ≫ LDAP Server
- Fill out the LDAP Server form as shown below Realm: i12bretro.local Base Domain Name: CN=Users,DC=i12bretro,DC=local Server: 10.10.27.1 User Attribute Name: sAMAccountName
- Click the Sync Options button at the top
- Fill out the Sync Options form as shown below Bind User: CN=readonly_svc,CN=Users,DC=i12bretro,DC=local Bind Password: Read0nly!! E-Mail attribute: mail User classes: person, user Group classes: group User Filter: (&(memberOf=CN=VMAdmins,CN=Users,DC=i12bretro,DC=local)) Group Filter: (&(distinguishedName=CN=VMAdmins,CN=Users,DC=i12bretro,DC=local)) Scope: Users and Groups Enable new users: Yes Full: Yes Purge: Yes
- Click the Add button
- Back on the Authentication page, select the new ldap authentication and click the Sync button
- Click the Preview button to test the sync without creating or modifying anything
- If the users and groups display as expected, close the preview and re-run the sync to create the users and groups
- Select Permissions in the left sub navigation menu
- Click Add ≫ Group Permission from the dropdown at the top of the page
- Set the path to /, select the VMAdmins group from the dropdown and select the desired Role ≫ Click Add
- Select the user dropdown in the top right of the screen ≫ Logout
- Log in with one of the LDAP users in the VMAdmins group, making sure to set the Realm to the domain realm created earlier
Connect with me and others
2021-12-20
0.0 LBC
Copyrighted (contact publisher)
15841940 Bytes