summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-02-22 10:28:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:19 -0500
commitcab298856ab1179cdaec2ef89121f7c66c6b6d76 (patch)
tree07a123f24e5644341dbf115712995ef0e4352f71 /source3/printing
parent0d7f6d650dd3d2c77711d00ffb41e829bb49905f (diff)
downloadsamba-cab298856ab1179cdaec2ef89121f7c66c6b6d76.tar.gz
samba-cab298856ab1179cdaec2ef89121f7c66c6b6d76.tar.bz2
samba-cab298856ab1179cdaec2ef89121f7c66c6b6d76.zip
r13622: Allow to rename machine accounts in a Samba Domain. This still uses the
"rename user script" to do the rename of the posix machine account (this might be changed later). Fixes #2331. Guenther (This used to be commit b2eac2e6eb6ddd1bcb4ed5172e7cd64144c18d16)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printing.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 82b9a7f74e..315034879e 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -1447,11 +1447,13 @@ static void print_queue_update(int snum, BOOL force)
/* don't strip out characters like '$' from the printername */
pstrcpy( lpqcommand, lp_lpqcommand(snum));
- string_sub2( lpqcommand, "%p", PRINTERNAME(snum), sizeof(lpqcommand), False, False );
+ string_sub2( lpqcommand, "%p", PRINTERNAME(snum), sizeof(lpqcommand),
+ False, False, False );
standard_sub_snum( snum, lpqcommand, sizeof(lpqcommand) );
pstrcpy( lprmcommand, lp_lprmcommand(snum));
- string_sub2( lprmcommand, "%p", PRINTERNAME(snum), sizeof(lprmcommand), False, False );
+ string_sub2( lprmcommand, "%p", PRINTERNAME(snum), sizeof(lprmcommand),
+ False, False, False );
standard_sub_snum( snum, lprmcommand, sizeof(lprmcommand) );
/*