On stabilise le plugin Python en virant toute occurrence de print.
* Désolé. \o/
This commit is contained in:
parent
2c27a030ee
commit
4b36a51d99
102 changed files with 513 additions and 703 deletions
|
@ -9,5 +9,5 @@ header("Acces a la base ldap")
|
|||
@# This file should be world readable but not world writable.
|
||||
|
||||
@BASE dc=crans, dc=org
|
||||
print "URI %s" % ldap_socket
|
||||
out("URI %s" % (ldap_socket,))
|
||||
@#TLS_CACERT /etc/ssl/certs/CAcrans.pem
|
||||
|
|
|
@ -90,13 +90,13 @@ else:
|
|||
@rootdn "cn=admin,dc=crans,dc=org"
|
||||
@
|
||||
@# SyncRepl
|
||||
print "syncrepl rid=%s" % rid
|
||||
out("syncrepl rid=%s" % (rid,))
|
||||
@ provider=ldap://vert.adm.crans.org
|
||||
@ searchbase="dc=crans,dc=org"
|
||||
@ type=refreshAndPersist
|
||||
print ' binddn="%s"' % secrets.ldap_replica_auth_dn
|
||||
out(' binddn="%s"' % (secrets.ldap_replica_auth_dn,))
|
||||
@ bindmethod=simple
|
||||
print ' credentials=%s' % secrets.ldap_replica_password
|
||||
out(' credentials=%s' % (secrets.ldap_replica_password,))
|
||||
@ retry="30 20 300 3"
|
||||
@
|
||||
@# Redirection des requêtes en écriture, ...
|
||||
|
|
|
@ -20,11 +20,11 @@ rid = rid[rid.rfind(".")+1:]
|
|||
@olcRootDN: cn=admin,dc=crans,dc=org
|
||||
@olcSyncUseSubentry: FALSE
|
||||
@olcMonitoring: FALSE
|
||||
print 'olcSyncrepl: {0}rid=%s provider=ldap://vert.adm.crans.org bindmethod=simple t' % (rid)
|
||||
print ' imeout=0 network-timeout=0 binddn=%s ' % (secrets.ldap_replica_auth_dn)
|
||||
print ' credentials=%s filter="(objectClass=olcS' % (secrets.ldap_replica_password)
|
||||
print ' chemaConfig)" searchbase="cn=schema,cn=config" scope=sub type=refreshAndPersi'
|
||||
print ' st retry="30 20 300 +"'
|
||||
out('olcSyncrepl: {0}rid=%s provider=ldap://vert.adm.crans.org bindmethod=simple t' % (rid))
|
||||
out(' imeout=0 network-timeout=0 binddn=%s ' % (secrets.ldap_replica_auth_dn))
|
||||
out(' credentials=%s filter="(objectClass=olcS' % (secrets.ldap_replica_password))
|
||||
out(' chemaConfig)" searchbase="cn=schema,cn=config" scope=sub type=refreshAndPersi')
|
||||
out(' st retry="30 20 300 +"')
|
||||
@structuralObjectClass: olcDatabaseConfig
|
||||
@entryUUID: 55f5a71a-59fb-102f-9686-112b7bde9a51
|
||||
@creatorsName: cn=config
|
||||
|
|
|
@ -87,10 +87,10 @@ rid = str(int(rid[rid.rfind(".")+1:])+255)
|
|||
@entryUUID: 55f5acc4-59fb-102f-9687-112b7bde9a51
|
||||
@creatorsName: cn=config
|
||||
@createTimestamp: 20100921183939Z
|
||||
print 'olcSyncrepl: {0}rid=%s provider=ldap://vert.adm.crans.org bindmethod=simple tim' % (rid)
|
||||
print ' eout=0 network-timeout=0 binddn=%s ' % (secrets.ldap_replica_auth_dn)
|
||||
print ' credentials=%s filter="(objectclass=*)" ' % (secrets.ldap_replica_password)
|
||||
print ' searchbase="dc=crans,dc=org" scope=sub type=refreshAndPersist retry="30 20 300 +"'
|
||||
out('olcSyncrepl: {0}rid=%s provider=ldap://vert.adm.crans.org bindmethod=simple tim' % (rid))
|
||||
out(' eout=0 network-timeout=0 binddn=%s ' % (secrets.ldap_replica_auth_dn))
|
||||
out(' credentials=%s filter="(objectclass=*)" ' % (secrets.ldap_replica_password))
|
||||
out(' searchbase="dc=crans,dc=org" scope=sub type=refreshAndPersist retry="30 20 300 +"')
|
||||
@entryCSN: 20110227094521.639316Z#000000#000#000000
|
||||
@modifiersName: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
|
||||
@modifyTimestamp: 20110227094521Z
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue