On interroge zamok sauf si on est sur zamok o on interroge la socket
darcs-hash:20040906140307-d1718-c189d8e57cc96e456c9f74be427612024c005599.gz
This commit is contained in:
parent
a5abd19754
commit
933e44f24b
1 changed files with 6 additions and 1 deletions
|
@ -9,8 +9,13 @@ Copyright (C) Fr
|
||||||
Licence : GPLv2
|
Licence : GPLv2
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from socket import gethostname
|
||||||
|
|
||||||
date_format='%d/%m/%Y %H:%M'
|
date_format='%d/%m/%Y %H:%M'
|
||||||
uri = 'ldapi://%2fvar%2frun%2fldapi/'
|
if gethostname().split(".")[0] == "zamok":
|
||||||
|
uri = 'ldapi://%2fvar%2frun%2fldapi/'
|
||||||
|
else:
|
||||||
|
uri = 'ldaps://zamok.crans.org:636/'
|
||||||
smtpserv = "localhost"
|
smtpserv = "localhost"
|
||||||
|
|
||||||
# TODO :
|
# TODO :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue