LDAP
LDAP administration endpoints
Enterprise version feature Only in the Enterprise version of Gaio is it possible to create integration with Microsoft Active Directory .
1. Authentication ( bind )
IP/host: address
Port: 1389
cn : connection user
secret : access password
Check with the support team to obtain authentication details
2. Add user ( ldapadd )
Required fields
dn : ou= user
User data: name , email , password , role
Possible values for user type (role):
dev
user
admin
Example: user file/data
Considering that the data was saved in the file called a.ldif , use the command below
3. Modify user ( ldapmodify )
Required fields
dn ( cn = email + ou): cn =davisouza@example.com, ou= user
changetype : modify
User data: see examples
For all modifications to this topic, the command line below was used (data saved in the m.ldif file ):
3.1 Change status
values : active/inactive
replace : change_status
3.2 Add user to group
numeric values (group id) separated by comma: 2,67,48
replace : add_grodn: cn = davisouza@example.com,ou = user
3.3 Remove user from group
numeric values (group id) separated by comma: 2,67,48
replace : remove_group
3.4 Modify user type
values : dev / user /admin
replace : change_role
3.5 Modify email
values : new email
replace : change_email
3.6 Modify password
values : new password
replace : change_password
4. Delete user ( ldapdelete )
the user's email via the LDAP delete function
Last updated