summaryrefslogtreecommitdiffstats
path: root/source/printing
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-02-22 10:28:02 +0000
committerGünther Deschner <gd@samba.org>2006-02-22 10:28:02 +0000
commitda291463aa033842b5f1232e067e108619cb29ab (patch)
treeab0aaf530f3949cc0a66335dd46f6e45d54ebfff /source/printing
parentbe1f2f41b6d00e6fb64191c29430ad74811e863c (diff)
downloadsamba-da291463aa033842b5f1232e067e108619cb29ab.tar.gz
samba-da291463aa033842b5f1232e067e108619cb29ab.tar.xz
samba-da291463aa033842b5f1232e067e108619cb29ab.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
Diffstat (limited to 'source/printing')
-rw-r--r--source/printing/printing.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/printing/printing.c b/source/printing/printing.c
index 82b9a7f74e3..315034879e3 100644
--- a/source/printing/printing.c
+++ b/source/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) );
/*