Show
Ignore:
Timestamp:
09/29/04 22:20:52 (20 years ago)
Author:
jalet
Message:

Added the winbind_separator directive to pykota.conf to allow the admin to
strip out the Samba/Winbind domain name when users print.

Files:
1 modified

Legend:

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

    r1687 r1757  
    2222# 
    2323# $Log$ 
     24# Revision 1.52  2004/09/29 20:20:52  jalet 
     25# Added the winbind_separator directive to pykota.conf to allow the admin to 
     26# strip out the Samba/Winbind domain name when users print. 
     27# 
    2428# Revision 1.51  2004/08/31 23:29:53  jalet 
    2529# Introduction of the new 'onaccountererror' configuration directive. 
     
    530534        """Returns 1 if we want to convert usernames to lowercase when printing, else 0.""" 
    531535        return self.isTrue(self.getGlobalOption("utolower", ignore=1)) 
     536         
     537    def getWinbindSeparator(self) :           
     538        """Returns the winbind separator's value if it is set, else None.""" 
     539        return self.getGlobalOption("winbind_separator", ignore=1)