summaryrefslogtreecommitdiff
path: root/testsuite/printing/psec.c
AgeCommit message (Collapse)AuthorFilesLines
2011-12-12testsuite: Remove unused and unlikely to be revived DejaGNU testsAndrew Bartlett1-438/+0
2011-06-20tdb_compat: use tdb_open_compat.Rusty Russell1-2/+2
This is a helper for the common case of opening a tdb with a logging function, but it doesn't do all the work, since TDB1 and TDB2's log functions are different types. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-3/+3
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2009-01-21Memory leaks and other fixes found by Coveritytodd stecher1-2/+5
2007-10-10r23785: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit d0e89d246d8e5e64196d6c1d16d39a70579ca42f)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2004-01-14source/rpc_parse/parse_prs.c ZERO_STRUCTP(ps) not needed as it is doneHerb Lewis1-2/+5
in prs_init now testsuite/printing/psec.c cannot do a prs_mem_free() when tdb_prs_fetch fails as the prs structure has not been initialized (This used to be commit a363e5d8c549861329506bd87c11d82ace5520e5)
2001-01-11Changes from APPLIANCE_HEAD:David O'Neill1-2/+18
testsuite/printing/psec.c - Use lock directory from smb.conf parameter when peeking at the ntdrivers.tdb file. source/rpc_parse/parse_sec.c - fix typo in debug message source/script/installbin.sh - create private directory as part of 'make install'. source/nsswitch/winbindd_cache.c source/nsswitch/winbindd_idmap.c source/passdb/secrets.c source/smbd/connection.c - always convert tdb key to unix code-page when generating. source/printing/nt_printing.c - always convert tdb key to unix code-page when generating. - don't prepend path to a filename that is NULL in add_a_printer_driver_3(). source/rpc_server/srv_spoolss_nt.c - always convert tdb key to unix code-page when generating. - don't prepend server name to a path/filename that is NULL in the fill_printer_driver_info functions. source/printing/printing.c - always convert tdb key to unix code-page when generating. - move access check for print_queue_purge() outside of job delete loop. source/smbd/unix_acls.c - fix for setting ACLs (this got missed earlier) source/lib/messages.c - trivial sync with appliance_head (This used to be commit 376601d17d53ef7bfaafa576bd770e554516e808)
2000-12-08Compile fixes for changes in make_sec_desc() interface.Tim Potter1-4/+2
(This used to be commit 7b896697d134eb4fad1ceef5cdd2dab2b5980187)
2000-12-04Fixed some debugging code.Tim Potter1-3/+3
(This used to be commit 369a378b3390b060a676c67950f020c4d147fe6d)
2000-09-01Changes from APPLIANCE_HEAD (per Tim Potter):David O'Neill1-1/+9
- make proto - addition of function to convert from errno values to NT status codes (source/lib/error.c) - purge queue done without full access permission will purge only the jobs owned by that user, rather than failing. - unlock job database tdb before sending job to printer - in print_job_start(), ensure that we don't pick a jobid with an existing temporary file that may be owned by another user, as it causes silent failures. - fixes for printer permission checking for NT5 clients (source/include/rpc_spoolss.h, source/printing/nt_printing.c, source/printing/printing.c, source/rpc_server/srv_spoolss_nt.c) - change from uint8 to 'enum SID_NAME_USE' (source/rpc_server/srv_lsa.c) - fixed memory leaks for win95 driver download process (source/smbd/lanman.c) - properly free prs_structs and dacl in testsuite/printing/psec.c (This used to be commit 74af3e2caec7197e5d1ca389e2f78054a4197502)
2000-08-14Merge.Tim Potter1-2/+2
(This used to be commit 604f6a34effb8aeed7701345a4219749a6a97892)
2000-08-14NT printer permissions test program.Tim Potter1-0/+411
(This used to be commit 9af82423d2e5c6f873a906097a56c8ac6c5f8297)