Utilisation de ldap.adm.crans.org
darcs-hash:20050825094510-41617-313ea24b9e1df98b9dd4506a98baa3d47ed36a20.gz
This commit is contained in:
parent
fde6028e60
commit
a32d3e8620
1 changed files with 2 additions and 6 deletions
|
@ -13,7 +13,7 @@ from socket import gethostname
|
|||
|
||||
date_format='%d/%m/%Y %H:%M'
|
||||
hostname = gethostname().split(".")[0]
|
||||
if hostname == "zamok":
|
||||
if hostname == "vert":
|
||||
anon_bind = 1 # Anonyme pour lecture seule
|
||||
uri = 'ldapi://%2fvar%2frun%2fldapi/'
|
||||
rw_uri = uri
|
||||
|
@ -21,14 +21,10 @@ elif hostname in [ 'sila' , 'pegase' ] :
|
|||
anon_bind = 1 # Anonyme pour lecture seule
|
||||
uri = 'ldapi://%2fvar%2frun%2fldapi/'
|
||||
rw_uri = 'ldap://vert.adm.crans.org/'
|
||||
elif hostname in [ 'bleu' , 'rouge' ] :
|
||||
else :
|
||||
anon_bind = 0
|
||||
uri = 'ldap://ldap.adm.crans.org/'
|
||||
rw_uri = uri
|
||||
else :
|
||||
anon_bind = 0 # Doit s'authentifier pour toute action
|
||||
uri = 'ldaps://sila.crans.org:636/'
|
||||
rw_uri = 'ldaps://zamok.crans.org:636/'
|
||||
|
||||
smtpserv = "localhost"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue