1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
Commit Graph

62635 Commits

Author SHA1 Message Date
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
Andrew Tridgell
6f895fedf3 s3-idl: auto-build IDL files in Samba3 2010-05-04 13:47:07 +02:00
Andrew Tridgell
f00a9b5715 s4-waf: we don't need the symlink hack for gen_ndr any more
we can now generate files into the build directory
2010-05-04 13:47:07 +02:00
Andrew Tridgell
fd4dd2e2c6 .gitignore: simplify the .gitignore after gen_ndr removal 2010-05-04 13:47:07 +02:00
Andrew Tridgell
5bff08d9a9 s3-idl: removed gen_ndr files from source3/ as well 2010-05-04 13:47:07 +02:00
Andrew Tridgell
09eb1e3e45 idl: removed the generated gen_ndr/ files from pidl
Samba3 will add these to the release tarball instead. See the mail on
samba-technical
2010-05-04 13:47:07 +02:00
Andrew Tridgell
6ed45442c4 build: enable python 3.0 and 3.1 in testwaf.sh
try to ensure that we don't let support for python 3.x bitrot
2010-05-04 13:02:30 +02:00
Andrew Tridgell
ce67027c07 build: fixed wildcard handling for python 3.x
print must take parentheses
2010-05-04 13:02:30 +02:00
Andrew Tridgell
ad32fabc54 s4-waf: fixed indentation for python 3.1
python 3.x is very fussy about tabs/spaces
2010-05-04 13:02:30 +02:00
Volker Lendecke
a7b06f4c0d s3: Fix a memleak in check_pac_checksum 2010-05-04 12:00:13 +02:00
Andrew Tridgell
6eb839cd16 s4-script: added a --waf option to minimal_includes.pl
This takes advantage of the new waf target syntax
2010-05-04 11:45:43 +02:00
Andrew Tridgell
7281b02181 build: allow use of target names as commands in waf
This allows for the following types of commands:

 waf smbd/samba
 waf smbd/server.c
 waf ../lib/util/util_file.c
 waf ../lib/util/util_file_*.o

this will be used as part of an updated minimal_includes.pl script
2010-05-04 11:45:43 +02:00
Günther Deschner
727a1acd91 s4-smbtorture: add extraformat to smbcli_rap_netprintqgetinfo() as well.
Guenther
2010-05-03 20:55:58 +02:00
Günther Deschner
f181281c89 s4-smbtorture: use RAP extraformat for smbcli_rap_netprintqenum().
Although w2k3 happily ignores it, the spec (and s3) enforce the addition of
that.

Guenther
2010-05-03 20:55:50 +02:00
Günther Deschner
99e3b9a367 s4-smbtorture: add rap_cli_expect_extra_format().
Guenther
2010-05-03 20:55:42 +02:00
Günther Deschner
dda0ebd0ac s4-smbtorture: make all smbcli_rap_* failures critical.
Guenther
2010-05-03 20:55:16 +02:00
Anatoliy Atanasov
6dafd5f8c7 s4/test: Implement tests for msDS-isRODC constructed attribute
This attribute will be returned for objects with
objectClass=nTDSDSA,server and computer
2010-05-03 18:28:01 +02:00
Anatoliy Atanasov
d3081741c9 s4/rodc: Implement msDS-isRODC constructed attr 2010-05-03 18:28:00 +02:00
Matthias Dieter Wallnöfer
a4e35df3f5 s4:LogonGetDomainInfo - fix a potential crash source 2010-05-03 17:25:03 +02:00
Matthias Dieter Wallnöfer
e8a001c516 s4:LogonGetDomainInfo - fix indentation 2010-05-03 17:25:02 +02:00
Matthias Dieter Wallnöfer
8ed5e8ac9d s4:LogonGetDomainInfo - remove singular "dNSHostName" check - this doesn't belong here
I'm not really sure if this check is really done on Windows Server. And if it
is done, then it's on the LDB level (module).
2010-05-03 17:25:02 +02:00
Andrew Tridgell
6d1e8c5835 build: use the waf patterns for RPATH
Use the self.env.RPATH variable to set the RPATH for each target. This
gives consistent ordering of the link command, ensuring that we don't
get rebuilds if we ask for a --targets= build after a normal build.

This also means we are now using the RPATH_ST pattern, which means we
can potentially support compilers that don't use -Wl,xxx as the
command line for rpath support
2010-05-03 17:16:48 +02:00