Changeset 3284
- Timestamp:
- 01/09/08 00:16:20 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/config.py
r3278 r3284 654 654 return self.getGlobalOption("winbind_separator", ignore=1) 655 655 656 def getUserNameCase(self) :657 """Returns value for user name case: upper, lower or native"""658 validvalues = [ "upper", "lower", "native" ]659 value = self.getGlobalOption("usercasename", ignore=1).strip().lower()660 if value not in validvalues :661 raise PyKotaConfigError, _("Option usercasename only supports values in %s") % str(validvalues)662 return value663 664 656 def getAccountBanner(self, printername) : 665 657 """Returns which banner(s) to account for: NONE, BOTH, STARTING, ENDING."""