Skip to content

Instantly share code, notes, and snippets.

@JohnPreston
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnPreston/a66bfc8457b9d3af2044 to your computer and use it in GitHub Desktop.
Save JohnPreston/a66bfc8457b9d3af2044 to your computer and use it in GitHub Desktop.
Euca - AD synchronisation template
{
"ldap-service":{
"server-url":"ldap://192.168.91.43:389",
"auth-method":"simple",
"user-auth-method":"simple",
"auth-principal":"cn=rodc,cn=Users,dc=eucalyptus,dc=lan",
"auth-credentials":"{{ encrypted password }}",
"use-ssl":"false",
"ignore-ssl-cert-validation":"true",
"krb5-conf":"/path/to/krb5.conf",
},
"sync":{
"enable":"true",
"auto":"true",
"interval":"600",
"clean-deletion":"true",
},
"accounting-groups":{
"base-dn":"ou=eucalyptus,dc=eucalyptus,dc=lan",
"id-attribute":"cn",
"member-attribute":"member",
"member-item-type":"cn",
"selection":{
"filter":"(&(objectClass=group)(!(memberOf=*)))"
}
},
"groups":{
"base-dn":"ou=eucalyptus,dc=eucalyptus,dc=lan",
"id-attribute":"cn",
"member-attribute":"member",
"member-item-type":"cn",
"selection":{
"filter":"(&(objectClass=group)(memberOf=*))"
}
},
"users":{
"base-dn":"ou=eucalyptus,dc=eucalyptus,dc=lan",
"id-attribute":"cn",
"user-info-attributes":
{
"displayname":"Full name"
},
"selection":{
"filter":"(&(objectClass=organizationalPerson)(objectClass=user))",
}
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment