[sysadmin-bin] handle-ldap-modules: allow modules up to 40 chars in length



commit 6af97f97a776892cf6ea146710310a2b55c3c884
Author: Olav Vitters <olav vitters nl>
Date:   Tue Mar 8 22:16:13 2011 +0100

    handle-ldap-modules: allow modules up to 40 chars in length

 handle-ldap-modules |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/handle-ldap-modules b/handle-ldap-modules
index f010699..29c5bd0 100755
--- a/handle-ldap-modules
+++ b/handle-ldap-modules
@@ -516,7 +516,7 @@ it probably requires some other setting.""")
             dn = ldap_dn.get(modname, 'cn=%s,ou=modules,dc=gnome,dc=org' % escape_dn_chars(modname))
             maints = vcs_modules[modname]
 
-            if len(modname) > 14:
+            if len(modname) > 40:
                 continue
 
             if modname not in ldap_modules: # add



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]