Changeset 1111 for pykota/trunk/pykota

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

Added configurable LDAP mail attribute support

Location:
pykota/trunk/pykota
Files:
3 modified

Legend:

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

    r1105 r1111  
    2121# 
    2222# $Log$ 
     23# Revision 1.35  2003/07/29 09:54:03  jalet 
     24# Added configurable LDAP mail attribute support 
     25# 
    2326# Revision 1.34  2003/07/28 09:11:12  jalet 
    2427# PyKota now tries to add its attributes intelligently in existing LDAP 
     
    236239                        "jobbase", "lastjobbase", \ 
    237240                        "newuser", "newgroup", \ 
     241                        "usermail", \ 
    238242                      ] : 
    239243            ldapinfo[option] = self.getGlobalOption(option).strip() 
  • pykota/trunk/pykota/storages/ldapstorage.py

    r1105 r1111  
    2121# 
    2222# $Log$ 
     23# Revision 1.22  2003/07/29 09:54:03  jalet 
     24# Added configurable LDAP mail attribute support 
     25# 
    2326# Revision 1.21  2003/07/28 09:11:12  jalet 
    2427# PyKota now tries to add its attributes intelligently in existing LDAP 
     
    219222            fields = result[0][1] 
    220223            user.ident = result[0][0] 
     224            user.Email = fields.get(self.info["usermail"]) 
     225            if user.Email is not None : 
     226                user.Email = user.Email[0] 
    221227            user.LimitBy = fields.get("pykotaLimitBy") 
    222228            if user.LimitBy is not None : 
  • pykota/trunk/pykota/version.py

    r1105 r1111  
    2121# 
    2222 
    23 __version__ = "1.14beta_unofficial" 
     23__version__ = "1.14beta2_unofficial" 
    2424 
    2525__doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""