diff options
author | Jeremy Allison <jra@samba.org> | 2000-10-26 21:43:13 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-10-26 21:43:13 +0000 |
commit | b5ac72cc646a981469ee65305da83f273c4cd093 (patch) | |
tree | 06908888538dec9a1c19136e660040fa30426a0b /source3/smbd | |
parent | 01e0d3879ef5de24a6addd0ce00bf3d4de518f7f (diff) | |
download | samba-b5ac72cc646a981469ee65305da83f273c4cd093.tar.gz samba-b5ac72cc646a981469ee65305da83f273c4cd093.tar.bz2 samba-b5ac72cc646a981469ee65305da83f273c4cd093.zip |
Sorry JF - no billable hours :-). I fixed the "stream of events" problem
with PCL drivers. The problem was we were updating the changeid on every
SETPRINTERDATA/DELETEPRINTERDATA call. We should not do this, we should
just update the 'setprinter' called count. We update the changeid on calls
to SETPRINTER/ADDPRINTER/ADDPRINTEREX etc. Also fixed the correct returning
of the create time on printers.
Jeremy.
(This used to be commit 521f09829fd329f87b3d19e8871e2b989c98a58e)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/sec_ctx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/sec_ctx.c b/source3/smbd/sec_ctx.c index 1f20ef062e..f316156222 100644 --- a/source3/smbd/sec_ctx.c +++ b/source3/smbd/sec_ctx.c @@ -318,10 +318,8 @@ void set_sec_ctx(uid_t uid, gid_t gid, int ngroups, gid_t *groups, NT_USER_TOKEN ctx_p->ngroups = ngroups; safe_free(ctx_p->groups); -#if 1 /* JRATEST */ if (token && (token == ctx_p->token)) smb_panic("DUPLICATE_TOKEN"); -#endif delete_nt_token(&ctx_p->token); |