Serveur ldap.adm.crans.org
darcs-hash:20050811204940-41617-e42c0cd683f29ddee0550a74ec1a51a166a7e0be.gz
This commit is contained in:
parent
b857265dfc
commit
952d1053a7
2 changed files with 4 additions and 3 deletions
|
@ -28,7 +28,7 @@ except :
|
|||
ldap_password = ''
|
||||
ldap_auth_dn = ''
|
||||
|
||||
uri = 'ldaps://zamok.crans.org'
|
||||
uri = 'ldap://ldap.adm.crans.org'
|
||||
|
||||
def chgpass(dn) :
|
||||
cprint("""Le nouveau mot de passe doit comporter au minimum 6 caractères.
|
||||
|
@ -80,7 +80,8 @@ Il ne doit pas
|
|||
if test.split(':')[-1] != ' ok' :
|
||||
commentaire = {
|
||||
' it does not contain enough DIFFERENT characters' : 'Il y a trop de caractères identiques.' ,
|
||||
' it is based on a dictionary word' : 'Le mot de passe est basé sur un mot du dictionnaire'
|
||||
' it is based on a dictionary word' : 'Le mot de passe est basé sur un mot du dictionnaire' ,
|
||||
' it is too simplistic/systematic' : 'Le mot de passe est trop simple/répétitif'
|
||||
}.get(test.split(':')[-1],test.split(':')[-1])
|
||||
cprint(commentaire,'rouge')
|
||||
continue
|
||||
|
|
|
@ -23,7 +23,7 @@ elif hostname in [ 'sila' , 'pegase' ] :
|
|||
rw_uri = 'ldap://vert.adm.crans.org/'
|
||||
elif hostname in [ 'bleu' , 'rouge' ] :
|
||||
anon_bind = 0
|
||||
uri = 'ldap://vert.adm.crans.org/'
|
||||
uri = 'ldap://ldap.adm.crans.org/'
|
||||
rw_uri = uri
|
||||
else :
|
||||
anon_bind = 0 # Doit s'authentifier pour toute action
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue