1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/testsuite/printing
David O'Neill 3380ffae9c Changes from APPLIANCE_HEAD:
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 376601d17d)
2001-01-11 20:41:19 +00:00
..
.cvsignore Changes from APPLIANCE_HEAD: 2000-11-14 15:26:53 +00:00
Makefile.psec Compile fixes for changes in make_sec_desc() interface. 2000-12-08 02:59:49 +00:00
Makefile.vlp Changes from APPLIANCE_HEAD: 2000-11-14 15:26:53 +00:00
psec.c Changes from APPLIANCE_HEAD: 2001-01-11 20:41:19 +00:00
README.vlp Brief documentation on using the virtual printer code 2000-12-12 18:03:50 +00:00
vlp.c Changes from APPLIANCE_HEAD: 2000-11-14 15:26:53 +00:00

Virtual line printer test program (vlp)
=======================================

This can be useful for testing/debugging Samba print code.  It gives you a 
virtual full-function printer.

Setup

1) Configure and build Samba.  
	For this to work, you need to add:
		-DDEVELOPER
	to your CFLAGS, and add:
		--srcdir=<wherever your source is>
	when running configure.  Generally 	
		./configure --srcdir=`pwd` <other configure options>
	should work. 

2) Build and install vlp.
	# cd testsuite/printing
	# make -f Makefile.vlp vlp
	# su
	# cp vlp /usr/local/samba/bin

3) Set up Samba to use vlp.
	In your smb.conf file under [global], add the following option:
		printing = vlp
	and then add any number of print shares, without needing to make them 
	really exist.  

		[testprinter]
			printable = yes

	is all you need for the most basic virtual printer.