Volker Lendecke
5a56bc948e
s3: Fix bug 5972 -- remove -L testparm parameter
...
Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> to point out that this does
not work and to agree it's not worth fixing :-)
2010-05-05 18:07:45 +02:00
Andreas Schneider
3f0562f4b4
s3-spoolss: Fixed memory error in winreg_get_driver.
...
The strings in the structure need to be initialized with an empty
string.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05 17:33:06 +02:00
Andreas Schneider
c95a79aae9
s3-spoolss: Added a sharename arg to winreg_update_printer.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05 17:32:59 +02:00
Andreas Schneider
053ed7d554
s3-spoolss: Added missing servername option to winreg_{create,get}_printer.
...
This is needed to be able to pass the correct servername from
Printer_entry.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05 17:32:51 +02:00
Andreas Schneider
a5fb4117e1
s3-spoolss: Added missing Printer Driver in winreg_{update,get}_printer.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05 17:32:33 +02:00
Günther Deschner
6659a0fe92
s3-net: fix crash in rap_share_add().
...
Guenther
2010-05-05 17:21:06 +02:00
Günther Deschner
d3bd9de087
s4-smbtorture: remove unused variable from smbcli_rap_netprintdestgetinfo().
...
Guenther
2010-05-05 17:21:05 +02:00
Günther Deschner
e90c874b25
rap: add IDL for rap_NetShareAdd (undocumented in MS-RAP).
...
Guenther
2010-05-05 17:21:05 +02:00
Andrew Tridgell
10469d6606
s3-build: don't rebuild/link on every make run
2010-05-05 16:14:13 +02:00
Andrew Tridgell
ed2941ba3d
build: added configure test for inline
2010-05-05 16:14:13 +02:00
Andrew Tridgell
20d77705ce
build: update version of waf
...
this fixes a slow configure problem on HPUX
2010-05-05 16:14:13 +02:00
Andrew Tridgell
3d2819bd86
build: use the wrapper commands in testwaf.sh
...
this ensures they are well tested
2010-05-05 16:14:13 +02:00
Andrew Tridgell
f8120ab697
build: added a distcheck target
2010-05-05 16:14:13 +02:00
Andrew Tridgell
47fb7dfd1c
build: mark cloned task generators as not posted
...
this solves an incompatibility with a newer version of waf from svn
2010-05-05 16:14:13 +02:00
Andrew Tridgell
fa172c494f
build: exit with an error if waf configure fails
...
We don't want configure in the build farm to show green when it fails
2010-05-05 16:14:13 +02:00
Andreas Schneider
b4c46bd7df
libwbclient: Fixed doxygen errors.
2010-05-05 15:36:10 +02:00
Jeremy Allison
62143543ce
Fixed issue with return in a void function found by Björn JACKE <bj@SerNet.DE>
...
Jeremy.
2010-05-05 06:09:03 -07:00
Andrew Tridgell
7f2e59e4c1
s4-ldb: add msg saying which build system is being used
...
(this is a gratuituous commit to trigger the build farm to rebuild
ldb on all systems)
2010-05-05 11:42:33 +02:00
Andreas Schneider
dc2f962aac
tevent: Started a tevent_queue tutorial.
2010-05-05 09:28:04 +02:00
Andreas Schneider
239d59feab
tevent: Document the tevent_queue functions.
2010-05-05 09:28:04 +02:00
Andreas Schneider
6c1bcdc2e2
tevent: Document the tevent helper functions.
2010-05-05 09:28:04 +02:00
Andreas Schneider
78fbedf369
tevent: Document missing callback typedefs.
2010-05-05 09:28:04 +02:00
Andreas Schneider
a8e575ac22
tevent: Document the missing tevent async request callback functions.
2010-05-05 09:28:04 +02:00
Andreas Schneider
d8a6b23b07
tevent: Create a typedef for the debug function callback.
2010-05-05 09:28:04 +02:00
Stephen Gallagher
e286966bba
tevent: Added more documentation.
2010-05-05 09:28:04 +02:00
Stephen Gallagher
098221e886
tevent: Remove erroneous comments about TEVENT_FD_AUTOCLOSE
...
There is no such flag.
2010-05-05 09:28:04 +02:00
Andreas Schneider
49c89b60e6
tevent: Add doxygen tevent config file.
2010-05-05 09:28:04 +02:00
Andreas Schneider
4263983cad
tevent: Added basic doxygen documentation.
2010-05-05 09:28:04 +02:00
Andreas Schneider
9e94354a4e
s3-libsmb: Fixed a recursion in cli_pull_print.
2010-05-05 09:28:04 +02:00
Andreas Schneider
04327e2809
tsocket: Added the warning again to tsocket_address_bsd_sockaddr.
2010-05-05 09:25:21 +02:00
Rusty Russell
91e4a1760d
tdb: fix short write logic in tdb_new_database
...
Commit 207a213c/24fed55d purported to fix the problem of signals during
tdb_new_database (which could cause a spurious short write, hence a failure).
However, the code is wrong: newdb+written is not correct.
Fix this by introducing a general tdb_write_all() and using it here and in
the tracing code.
Cc: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2010-05-05 15:37:18 +09:30
Luca Olivetti
a9e008ee36
Fix bug #7263 - Unable to print using Samba 3.5.1 and cups-1.1.23-40.46 on SLES10.
...
Fix cups encryption setting
I had the same problem and it's due to the fact that samba doesn't respect the
"cups encryption" setting since lp_cups_encrypt changes the value: if you set
"cups encryption=no", the first call will change it to HTTP_ENCRYPT_NEVER,
since that is 1 (i.e. true), the next call will change it to
HTTP_ENCRYPT_ALWAYS and after that it'll remain set as HTTP_ENCRYPT_ALWAYS.
This patch fixes this problem.
Don't mix up the HTTP_ENCRYPT_XXX constants up with the
enumeration constants (True, False, Auto) used in the
loadparm code.
2010-05-04 15:07:57 -07:00
Simo Sorce
17ce20ba96
s3-spoolss: Remove duplicate macro.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-04 19:38:27 +02:00
Andreas Schneider
9c5a59b11e
s4-torture: Added the printername to the AddPrinter comment.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-04 19:38:16 +02:00
Andreas Schneider
f5e41c5cde
s4-torture: Fixed spoolss dsspooler printername test.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-04 19:38:05 +02:00
Andreas Schneider
6683b0d4b6
s3-lib: Create a sec_desc_merge and sec_desc_merge_buf function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-04 19:37:39 +02:00
Anatoliy Atanasov
efb1aea909
s4/waf: ABI update for lib/ldb
2010-05-04 18:32:30 +02:00
Anatoliy Atanasov
f84aeea739
s4/rodc: Support read-only database
...
Check on modify if we are RODC and return referral.
On the ldap backend side now we pass context and ldb_modify_default_callback
to propagate the referral error to the client.
2010-05-04 18:32:18 +02:00
Anatoliy Atanasov
bcdaa23798
s4/rodc: Fix the callbacks up the stack to handle referrals on modify requests
2010-05-04 18:31:47 +02:00
Matthias Dieter Wallnöfer
b57d11f1b3
s4:py_nttime2string - removed unused variable "nt2"
...
And add some linespaces to look better.
2010-05-04 17:23:43 +02:00
Günther Deschner
7e5fee98be
s4-smbtorture: fill in test_rap_print().
...
This tests pauses a printer over RAP, prints a file, enumerates the job, deletes
the job and resumes the print queue.
Guenther
2010-05-04 17:18:22 +02:00
Günther Deschner
cc46f4a319
s3-libnetjoin: omit admin password in generated ndr_print function.
...
Guenther
2010-05-04 16:31:34 +02:00
Günther Deschner
1056a08100
s4-smbtorture: add test_netprintdestgetinfo() to RAP-PRINTING.
...
Guenther
2010-05-04 15:49:47 +02:00
Günther Deschner
ff256b41b8
s4-smbtorture: add smbcli_rap_netprintdestgetinfo().
...
Guenther
2010-05-04 15:49:40 +02:00
Günther Deschner
eee803372a
s4-smbtorture: add test_netprintdestenum to RAP-PRINTING.
...
Guenther
2010-05-04 15:49:31 +02:00
Günther Deschner
ab1d9a923c
rap: add rap_NetPrintDestGetInfo to IDL.
...
Guenther
2010-05-04 15:49:27 +02:00
Günther Deschner
990361a38c
s4-smbtorture: add smbcli_rap_netprintdestenum.
...
Guenther
2010-05-04 15:49:16 +02:00
Günther Deschner
5455e9d77d
rap: add IDL for (undocumented) NetPrintDestEnum.
...
Guenther
2010-05-04 15:47:04 +02:00
Andrew Tridgell
f4000eecf4
s3-idl: update the 2nd build_idl.sh script
2010-05-04 13:47:08 +02:00
Andrew Tridgell
2d13259aef
s3-idl: rebuild IDL files based on all outputs
2010-05-04 13:47:07 +02:00