Show
Ignore:
Timestamp:
07/28/03 11:11:12 (21 years ago)
Author:
jalet
Message:

PyKota now tries to add its attributes intelligently in existing LDAP
directories.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/config.py

    r1087 r1105  
    2121# 
    2222# $Log$ 
     23# Revision 1.34  2003/07/28 09:11:12  jalet 
     24# PyKota now tries to add its attributes intelligently in existing LDAP 
     25# directories. 
     26# 
    2327# Revision 1.33  2003/07/16 21:53:07  jalet 
    2428# Really big modifications wrt new configuration file's location and content. 
     
    231235                        "userquotabase", "groupquotabase", \ 
    232236                        "jobbase", "lastjobbase", \ 
     237                        "newuser", "newgroup", \ 
    233238                      ] : 
    234             ldapinfo[option] = self.getGlobalOption(option) 
     239            ldapinfo[option] = self.getGlobalOption(option).strip() 
     240        for field in ["newuser", "newgroup"] : 
     241            if ldapinfo[field].lower().startswith('attach(') : 
     242                ldapinfo[field] = ldapinfo[field][7:-1] 
    235243        return ldapinfo 
    236244