Gerald Carter
99cdb46208
*lots of small merges form HEAD
...
*sync up configure.in
*don't build torture tools in make all
*make sure to remove torture tools as part of make clean
(This used to be commit 0fb724b321 )
2003-01-15 18:57:41 +00:00
Andrew Bartlett
27b7e51a3c
Merge from HEAD:
...
- fstring/pstring mixups
- the detection code that found them (disabled)
- a bit of whitespace
- a static
Andrew Bartlett
(This used to be commit 9b70fa868e )
2003-01-14 08:53:59 +00:00
Gerald Carter
071af8f007
[merge] make sure to update print queue cache during timeout_processing() to send notify events; CR 1491
...
(This used to be commit f8a915b14d )
2003-01-11 02:38:36 +00:00
Jeremy Allison
545087c060
Don't delete jobs subitted after the lpq time.
...
Jeremy.
(This used to be commit 6cb9f6ccb1 )
2003-01-10 01:21:59 +00:00
Andrew Bartlett
634c54310c
Merge from HEAD - make Samba compile with -Wwrite-strings without additional
...
warnings. (Adds a lot of const).
Andrew Bartlett
(This used to be commit 3a7458f947 )
2003-01-03 08:28:12 +00:00
Jeremy Allison
ef8bd7c4f7
Forward port the change to talloc_init() to make all talloc contexts
...
named. Ensure we can query them.
Jeremy.
(This used to be commit 09a218a9f6 )
2002-12-20 20:21:31 +00:00
Jim McDonough
f201af1925
Store printer guid in the dsspooler registry key so we don't have to
...
query the directory server every time someone asks
(This used to be commit dd81003bdd )
2002-12-13 21:56:34 +00:00
Jim McDonough
81a2a30739
More printer publishing code.
...
- Add published attribute to info2, needed for win clients to work properly
- Return proper info on getprinter 7
This means you can now look at the sharing tab of a printer and get correct
info about whether it is published or not, and change it.
(This used to be commit d57bddc9b2 )
2002-12-13 19:01:27 +00:00
Jeremy Allison
3999a905e9
Fix debugs for rap mapping. Delete job on map fail.
...
Jeremy.
(This used to be commit 6eb27e4f0d )
2002-12-05 22:32:15 +00:00
Jim McDonough
26236b30d0
More printer data to publish
...
(This used to be commit 6e2f0c4e30 )
2002-12-05 19:13:40 +00:00
Jeremy Allison
00a20ce45f
The element in fsp->print_job should be a RAP jobid, not a uint32 RPC
...
jobid. This was causing Win9x client "set name" calls to fail.
Still need one cleanup fix to finish.
Jeremy.
(This used to be commit 6c23d2030a )
2002-12-05 04:00:16 +00:00
Jeremy Allison
14662de563
Janitor for tpot yet again... Merging in memory leak fix.
...
Jeremy.
(This used to be commit 6ce50ffcda )
2002-12-04 21:28:11 +00:00
Jim McDonough
dae62a3d2e
Automatic printer publishing when using APW or choosing 'list in the directory' in printer settings. Currently very little is published, and you cannot unpublish because of a bug in win2k clients.
...
(This used to be commit ca6360e8db )
2002-12-04 17:40:50 +00:00
Tim Potter
f3e3a56ea9
Merge a bunch of trivial changes from HEAD. The difference remaining
...
should actual functional differences between HEAD and 3.0.
- Mostly reformatting
- Removal of unecessary #include "smb.h"
- Merge of dyn_DRIVERFILE removal
- Silly bug fix for python code
(This used to be commit d3998307ad )
2002-11-29 02:58:59 +00:00
cvs2svn Import User
0d26e0ee42
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 9653595609)
2002-11-26 11:57:31 +00:00
Gerald Carter
afc5f1aefb
[print notify fixes from APP_HEAD]
...
* fixing change notify on print server handle
* adding change notify support into smbcontrol for sending comment
changes, etc...
All part of CR 1159/1160
(This used to be commit f1062e79de )
2002-11-26 00:46:31 +00:00
Gerald Carter
585e8a8c02
[print notify fixes from APP_HEAD]
...
* fixing change notify on print server handle
* adding change notify support into smbcontrol for sending comment
changes, etc...
All part of CR 1159/1160
(This used to be commit 256d8c27cd )
2002-11-26 00:01:56 +00:00
Andrew Bartlett
94596400e3
No need to #include smb.h, when we already #include include.h
...
(This used to be commit b3049bb0d0 )
2002-11-24 08:37:02 +00:00
Jeremy Allison
f023d6129b
Lots of fixes for error paths where tdb_fetch() data need freeing.
...
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com >.
Jeremy.
(This used to be commit 19f86f1f72 )
2002-11-23 02:52:38 +00:00
Jeremy Allison
de474974ea
Lots of fixes for error paths where tdb_fetch() data need freeing.
...
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com >.
Jeremy.
(This used to be commit 5d5762d178 )
2002-11-23 02:52:36 +00:00
Jeremy Allison
2f194322d4
Removed global_myworkgroup, global_myname, global_myscope. Added liberal
...
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit f755711df8 )
2002-11-12 23:20:50 +00:00
Jeremy Allison
250c980119
Removed global_myworkgroup, global_myname, global_myscope. Added liberal
...
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit 82b8f749a3 )
2002-11-12 23:15:52 +00:00
Jeremy Allison
7f94064e4a
First cut of fix for changenotify on a print server handle. Use the connections tdb
...
with an snum of -1 and a special printername.
Jeremy.
(This used to be commit 940b04ddfa )
2002-11-10 22:24:10 +00:00
Jeremy Allison
fc2dc328e1
First cut of fix for changenotify on a print server handle. Use the connections tdb
...
with an snum of -1 and a special printername.
Jeremy.
(This used to be commit 06b0438007 )
2002-11-10 22:24:00 +00:00
Jeremy Allison
978214b18e
Fix for scalable printing noticed by tpot. Don't loop infinately
...
when holding a mutex.... :-).
Jeremy.
(This used to be commit 7e7b40e0fe )
2002-11-10 03:00:43 +00:00
Jeremy Allison
f4fb10c622
Fix for scalable printing noticed by tpot. Don't loop infinately
...
when holding a mutex.... :-).
Jeremy.
(This used to be commit c206643baa )
2002-11-10 03:00:28 +00:00
Jeremy Allison
e1adcd154a
Fix crash bug with overwriting memory.
...
Jeremy.
(This used to be commit 9b08b4e4c2 )
2002-11-07 22:45:11 +00:00
Jeremy Allison
72b7cfe4f1
Fix crash bug with overwriting malloced memory.
...
Jeremy.
(This used to be commit 3228730c83 )
2002-11-07 22:43:54 +00:00
Jeremy Allison
d1e10b7971
Keeping branches in sync....
...
Jeremy.
(This used to be commit ceb01b5ab1 )
2002-11-07 07:14:14 +00:00
Jeremy Allison
8980fcf1ea
Keeping branches in sync....
...
Jeremy.
(This used to be commit eb937761c4 )
2002-11-07 07:13:29 +00:00
Jeremy Allison
47955b2f6c
Merge of scalable printing code fix... Needs testing.
...
Also tidied up some of Richard's code (I don't think he uses the compiler
flags -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual like
I do :-) :-).
Jeremy.
(This used to be commit 10024ed06e )
2002-11-07 02:38:42 +00:00
Jeremy Allison
9304248788
Merge of scalable printing code fix... Needs testing.
...
Jeremy.
(This used to be commit d030df7643 )
2002-11-07 02:15:35 +00:00
Jeremy Allison
5593892caf
Fix slowdown because of enumerating all print queues on every smbd startup.
...
Jeremy.
(This used to be commit d05b147fb3 )
2002-10-31 23:41:02 +00:00
Jeremy Allison
a63844e10e
Fix slowdown because of enumerating all print queues on every smbd startup.
...
Jeremy.
(This used to be commit 6efd17ef78 )
2002-10-31 23:41:00 +00:00
Jeremy Allison
0e2eedb268
Check the long_archi name is not null.
...
Jeremy.
(This used to be commit 9e47aa32ed )
2002-10-31 18:43:05 +00:00
Jeremy Allison
63eefb36f1
Check the long_archi name for NULL.
...
Jeremy.
(This used to be commit e504d1170d )
2002-10-31 18:42:38 +00:00
Jeremy Allison
3103303d2a
Fix problem where an fd would be left open for every printer queue.
...
Jeremy.
(This used to be commit 997c234e15 )
2002-10-26 00:29:21 +00:00
Jeremy Allison
0e7938ab5d
Fix problem where an fd would be left open for every printer queue.
...
Jeremy.
(This used to be commit e240c7a428 )
2002-10-26 00:29:04 +00:00
Gerald Carter
534220da60
merge from samba_3_0
...
removed the following parameters
* postscript
* printer driver
* printer driver location
* printer driver file
also removed the get_a_printer_driver_9x_compatible() function
(This used to be commit e7dd8cf903 )
2002-10-21 20:28:11 +00:00
Gerald Carter
6ce3e3b10c
removed the following parameters
...
* postscript
* printer driver
* printer driver location
* printer driver file
also removed the get_a_printer_driver_9x_compatible() function
(This used to be commit 743f2b8025 )
2002-10-21 20:11:12 +00:00
Jeremy Allison
452baba8cb
Never do a ZERO_STRUCT on a structure in a linked list, it's dumb :-).
...
Jeremy.
(This used to be commit 20986489f4 )
2002-10-16 20:09:51 +00:00
Jeremy Allison
33b9cc3f67
Never do a ZERO_STRUCT on a structure in a linked list, it's dumb :-).
...
Jeremy.
(This used to be commit 0d989a911d )
2002-10-16 20:09:22 +00:00
Jeremy Allison
64876b9fb8
SMB_ASSERT to check list terminates.
...
Jeremy.
(This used to be commit bf3b0ef561 )
2002-10-16 01:28:42 +00:00
Jeremy Allison
f55eb87af5
SMB_ASSERT to check list terminates.
...
Jeremy
(This used to be commit 25f6a9247e )
2002-10-16 01:28:11 +00:00
Jeremy Allison
9c94d1a2f7
Add a timeout to tdb_lock_bystring(). Ensure we never have more than
...
MAX_PRINT_JOBS in a queue.
Jeremy.
(This used to be commit bb58a08af4 )
2002-10-04 22:53:30 +00:00
Jeremy Allison
3665777a5b
Add a timeout to tdb_lock_bystring(). Ensure we never have more than
...
MAX_PRINT_JOBS in a queue.
Jeremy.
(This used to be commit 9fe3c0b90d )
2002-10-04 22:53:18 +00:00
Gerald Carter
a834a73e34
sync'ing up for 3.0alpha20 release
...
(This used to be commit 65e7b5273b )
2002-09-25 15:19:00 +00:00
Andrew Bartlett
780e048f58
At least try to get this function picked up by the autoprototyper
...
(This used to be commit d5303d5c08 )
2002-09-25 09:56:36 +00:00
Gerald Carter
4912dd90ee
merge from APP_HEAD
...
(This used to be commit 930c6710fe )
2002-09-25 05:01:51 +00:00
Jeremy Allison
2b425763b8
Hold lock on NEXTJOB record for a very short time. Jerry needs to add code
...
to make this rebust w.r.t. stored devicemodes.
Jeremy.
(This used to be commit f93a008f09 )
2002-09-24 22:57:51 +00:00