Changeset 2588
- Timestamp:
- 11/24/05 15:14:53 (18 years ago)
- Location:
- pykota/trunk
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r2584 r2588 804 804 if mailto == "EXTERNAL" : 805 805 # TODO : clean this again 806 self.regainPriv() 806 807 self.externalMailTo(arguments, self.Action, self.User, self.Printer, self.Reason) 808 self.dropPriv() 807 809 else : 808 810 # TODO : clean this again -
pykota/trunk/bin/mailandpopup.sh
r2146 r2588 42 42 # we must also supply the IP address. This will use smbstatus to get all IPs 43 43 # where the user is logged in and send the message there: 44 IPS=`smbstatus -b -u $UNAME | grep '(' | cut -d'(' -f 2 | cut -d')' -f1`45 for i in $IPS ; do46 echo $UTF8MESSAGE | smbclient -M "$UNAME" -I $i 2>&1 >/dev/null;44 IPS=`smbstatus -b -u "$UNAME" | grep "$UNAME" | cut -d '(' -f 2,2 | cut -d ')' -f 1,1` 45 for i in $IPS ; do 46 echo "$UTF8MESSAGE" | smbclient -M "$UNAME" -I $i 2>&1 ; 47 47 done -
pykota/trunk/NEWS
r2584 r2588 22 22 PyKota NEWS : 23 23 24 - 1.24alpha3 : 25 26 - Fix for mailandpopup.sh : smbstatus can't be run setuid, 27 so we regain priviledges before running an external 28 mailto directive. 29 24 30 - 1.24alpha2 : 25 31 -
pykota/trunk/pykota/version.py
r2584 r2588 22 22 # 23 23 24 __version__ = "1.24alpha 2_unofficial"24 __version__ = "1.24alpha3_unofficial" 25 25 26 26 __doc__ = "PyKota : a complete Printing Quota Solution for CUPS."