|
|
@ -97,9 +97,11 @@ LDAP = { |
|
|
'base_user_dn' : 'cn=Utilisateurs,dc=ldap,dc=example,dc=org', |
|
|
'base_user_dn' : 'cn=Utilisateurs,dc=ldap,dc=example,dc=org', |
|
|
'base_userservice_dn' : 'ou=service-users,dc=ldap,dc=example,dc=org', |
|
|
'base_userservice_dn' : 'ou=service-users,dc=ldap,dc=example,dc=org', |
|
|
'base_usergroup_dn' : 'ou=posix,ou=groups,dc=ldap,dc=example,dc=org', |
|
|
'base_usergroup_dn' : 'ou=posix,ou=groups,dc=ldap,dc=example,dc=org', |
|
|
|
|
|
'base_userservicegroup_dn' : 'ou=services,ou=groups,dc=ldap,dc=example,dc=org', |
|
|
'user_gid' : 500, |
|
|
'user_gid' : 500, |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UID_RANGES = { |
|
|
UID_RANGES = { |
|
|
'users' : [21001,30000], |
|
|
'users' : [21001,30000], |
|
|
'service-users' : [20000,21000], |
|
|
'service-users' : [20000,21000], |
|
|
@ -110,13 +112,6 @@ GID_RANGES = { |
|
|
'posix' : [501, 600], |
|
|
'posix' : [501, 600], |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# Affchage des résultats |
|
|
|
|
|
SEARCH_RESULT = 15 |
|
|
|
|
|
|
|
|
|
|
|
# Max machines et max alias autorisés par personne |
|
|
|
|
|
MAX_INTERFACES = 4 |
|
|
|
|
|
MAX_ALIAS = 4 |
|
|
|
|
|
|
|
|
|
|
|
# Liste des vlans id disponible sur un switch |
|
|
# Liste des vlans id disponible sur un switch |
|
|
VLAN_ID_LIST = [7,8,42,69] |
|
|
VLAN_ID_LIST = [7,8,42,69] |
|
|
|
|
|
|
|
|
@ -127,3 +122,4 @@ RADIUS_VLAN_DECISION = { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
OPTIONNAL_APPS = () |
|
|
OPTIONNAL_APPS = () |
|
|
|
|
|
|
|
|
|