summaryrefslogtreecommitdiff
path: root/source3/printing/lpq_parse.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-04 07:59:34 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-04 07:59:34 +0000
commitf3a861e04e33901c89408a9c89ebaa81fc606f97 (patch)
treee1c30e8a0d51b6ec971bfb8f64843de16b9f9ed1 /source3/printing/lpq_parse.c
parenta7820eb9af08771106e6e119c17e76be1174d5b3 (diff)
downloadsamba-f3a861e04e33901c89408a9c89ebaa81fc606f97.tar.gz
samba-f3a861e04e33901c89408a9c89ebaa81fc606f97.tar.bz2
samba-f3a861e04e33901c89408a9c89ebaa81fc606f97.zip
- use full_name instead of real_name
- got rid of guest map code in lpq parser (This used to be commit 8e53f781d3cf6a7007764916a0d8e8f1abea1f66)
Diffstat (limited to 'source3/printing/lpq_parse.c')
-rw-r--r--source3/printing/lpq_parse.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/printing/lpq_parse.c b/source3/printing/lpq_parse.c
index ae8bb8398b..42da593c8d 100644
--- a/source3/printing/lpq_parse.c
+++ b/source3/printing/lpq_parse.c
@@ -821,16 +821,6 @@ BOOL parse_lpq_entry(int snum,char *line,
break;
}
-#ifdef LPQ_GUEST_TO_USER
- if (ret) {
- extern pstring sesssetup_user;
- /* change guest entries to the current logged in user to make
- them appear deletable to windows */
- if (sesssetup_user[0] && strequal(buf->user,lp_guestaccount(snum)))
- pstrcpy(buf->user,sesssetup_user);
- }
-#endif
-
/* We don't want the newline in the status message. */
{
char *p = strchr(line,'\n');