LDAP
LDAP administration endpoints
Enterprise version feature Only in the Enterprise version of Gaio is it possible to create integration with Microsoft Active Directory .
- IP/host: address
- Port: 1389
- cn : connection user
- secret : access password
Check with the support team to obtain authentication details
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
ldapadd -H ldap://mydomain.gaio.io:1389 -x -D cn =gaio -w asdfg -f a.ldif
Required fields
- dn ( cn = email + ou): cn [email protected], 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 ):
ldapmodify -H ldap://mydomain.gaio.io:1389 -x -D cn =gaio -w asdfg -f m.ldif
- values : active/inactive
- replace : change_status
- numeric values (group id) separated by comma: 2,67,48
- replace : add_grodn: cn = [email protected],ou = user
changetype : modify
replace : add_group
add_group:2,67, 48
- numeric values (group id) separated by comma: 2,67,48
- replace : remove_group
- values : dev / user /admin
- replace : change_role
values : new email
replace : change_email
dn: cn = [email protected],ou = user
changetype : modify
replace : change_email
change_email :[email protected]
3.6 Modify password
values : new password
replace : change_password
dn: cn = [email protected],ou = user
changetype : modify
replace : change_password
change_password : new_secret_password
the user's email via the LDAP delete function
ldapdelete -H ldap://mydomain.gaio.io:1389 -x -D cn = jay -w asdfg " cn [email protected], ou= user "
Last modified 2d ago