Skip to content

Instantly share code, notes, and snippets.

@felipe-prenholato
Created April 13, 2011 19:08
Show Gist options
  • Save felipe-prenholato/918166 to your computer and use it in GitHub Desktop.
Save felipe-prenholato/918166 to your computer and use it in GitHub Desktop.
DATABASES = {
'ldap_srv1': { # router force to this one
'ENGINE': 'ldapdb.backends.ldap',
'HOST': "ldap://srv1.corp",
'USER': "[email protected]",
'PASSWORD': "pdg@114",
'BASE_DN': 'DC=srv1,DC=corp',
},
'ldap_srv2': {
'ENGINE': 'ldapdb.backends.ldap',
'HOST': "ldap://srv2.corp",
'USER': "[email protected]",
'PASSWORD': "pdg@114",
'BASE_DN': 'DC=srv2,DC=corp',
},
'ldap_srv3': {
'ENGINE': 'ldapdb.backends.ldap',
'HOST': "ldap://srv3.corp",
'USER': "[email protected]",
'PASSWORD': "pdg@114",
'BASE_DN': 'DC=srv3,DC=corp',
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment