From da291463aa033842b5f1232e067e108619cb29ab Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 22 Feb 2006 10:28:02 +0000 Subject: 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 --- source/printing/printing.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/printing') 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) ); /* -- cgit