Changeset 1694

Show
Ignore:
Timestamp:
09/02/04 15:09:58 (20 years ago)
Author:
jalet
Message:

Now exports PYKOTAPRINTERHOSTNAME

Location:
pykota/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/conf/pykota.conf.sample

    r1687 r1694  
    508508# PYKOTAJOBORIGINATINGHOSTNAME : contains the client's hostname if  
    509509#                                it is possible to retrieve it. 
     510# PYKOTAPRINTERHOSTNAME : the printer's hostname or IP address for network 
     511#                         printers, or "localhost" if not defined or not 
     512#                         meaningful. 
    510513 
    511514# PreHook : gets executed after being sure the user, printer and user quota 
  • pykota/trunk/NEWS

    r1693 r1694  
    2424    - 1.20alpha6 : 
    2525       
     26        - Now exports PYKOTAPRINTERHOSTNAME for network printers' 
     27          hostname or IP address. Set to 'localhost' when not 
     28          meaningful. 
     29           
    2630        - Fixed issue with how mod_auth_ldap Apache modules 
    2731          fills the REMOTE_USER environment variable. 
  • pykota/trunk/pykota/tool.py

    r1666 r1694  
    2222# 
    2323# $Log$ 
     24# Revision 1.119  2004/09/02 13:09:58  jalet 
     25# Now exports PYKOTAPRINTERHOSTNAME 
     26# 
    2427# Revision 1.118  2004/08/06 20:46:45  jalet 
    2528# Finished group quota fix for balance when no user in group has a balance 
     
    10361039        os.environ["PYKOTACOPIES"] = str(self.copies) 
    10371040        os.environ["PYKOTAOPTIONS"] = self.options or "" 
     1041        os.environ["PYKOTAPRINTERHOSTNAME"] = self.printerhostname or "localhost" 
    10381042     
    10391043    def exportUserInfo(self, userpquota) :