1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
Commit Graph

62684 Commits

Author SHA1 Message Date
Andrew Tridgell
b3d8a7136a build: added a check for group ordering within target dependencies
If target A depends on target B, then target B must not be in a later
build group from target A

Pair-Programmed-With: Thomas Nagy
2010-05-03 17:16:47 +02:00
Andrew Tridgell
8bc5194b04 build: fix for combined configure/build in one command
This is a fix from ita for "waf distclean configure build". Running
it as one command failed with missing config.h
2010-05-03 17:16:47 +02:00
Günther Deschner
4affc58c6a s3-lanman: before trying to call spoolss_ClosePrinter make sure we have a connection.
Guenther
2010-05-03 17:04:00 +02:00
Nadezhda Ivanova
e2e39117bc Replaced DS_FLAG_ATTR_IS_CRITICAL with SCHEMA_FLAG_ATTR_IS_CRITICAL. 2010-05-03 16:47:56 +02:00
Günther Deschner
9cc10e6a57 s3-rpcclient: Fix Bug #7277. rpcclient was sending invalid data, causing cupsaddsmb to fail.
Guenther
2010-05-03 16:30:13 +02:00
Andreas Schneider
fcb53828df tsocket: Fixed the documentation of tsocket_address_bsd_sockaddr. 2010-05-03 15:55:34 +02:00
Nadezhda Ivanova
54e68b4949 Added a couple of systemFlags, needed for determining filtered attributes. 2010-05-03 15:38:46 +02:00
Nadezhda Ivanova
15b42d6515 Added a function to check if an attribute can belong to a filtered replica. 2010-05-03 14:50:10 +02:00
Günther Deschner
fe1617a818 s3-lanman: fix api_DosPrintQEnum().
This was a subtile bug where the OpenPrinter call (called directly via
dispatcher table) was modifiying r->in.printername in a way that all printers on
a server had the printername stripped off the server unc. Once we switch to full
NDR marshalling in inter RAP<->RPC server communication there is no danger
anymore to have these kind of nasty effects.

Guenther
2010-05-03 14:45:26 +02:00
Günther Deschner
84aea4784a s3: re-run make samba3-idl.
Guenther
2010-05-03 14:45:05 +02:00
Günther Deschner
094ee6cb43 pidl: indent cosmetics for s3 server stubs.
Guenther
2010-05-03 14:44:57 +02:00
Günther Deschner
5efdd13d12 s4-smbtorture: add test_netprintjobsetinfo to RAP-PRINTING.
Guenther
2010-05-03 14:44:25 +02:00
Günther Deschner
44fdec02fc s4-smbtorture: add smbcli_rap_netprintjobsetinfo().
Guenther
2010-05-03 14:44:16 +02:00
Günther Deschner
457826947f s4-smbtorture: add rap_cli_push_param() and rap_cli_push_sendbuf().
Guenther
2010-05-03 14:44:07 +02:00
Günther Deschner
fe33db6c06 s3-lanman: exit early for unsupported levels in api_PrintJobInfo().
Guenther
2010-05-03 14:43:34 +02:00
Günther Deschner
d1fe325a76 s3: re-run make samba3-idl.
Guenther
2010-05-03 14:42:43 +02:00
Günther Deschner
fced9445d9 rap: add rap_NetPrintJobSetInfo to IDL.
Guenther
2010-05-03 14:42:27 +02:00
Andrew Tridgell
51dcaf0e8e s4-waf: fixed symlink path for autogen.sh
thanks to Nadya for noticing :-)
2010-05-03 10:22:22 +02:00
Andrew Tridgell
baffc1e89f s4-waf: switch Samba4 over to the waf build by default
the old autogen.sh is now calld autogen-autotools.sh

For now autogen.sh is a link to autogen-waf.sh. We can remove
autogen-waf.sh in the future, but for now I'm leaving it in place so
as not to break existing scripts (both build farm, and the scripts for
the standalone libs)
2010-05-03 09:18:07 +02:00
Matthew McGillis
6be5bc8e80 Consolidate all get SEC_DESC into single procedure get_secdesc 2010-05-03 08:07:03 +02:00
Matthew McGillis
0a8b2b2119 always pass filename as const char 2010-05-03 08:06:56 +02:00
Andrew Tridgell
d83850abe2 build: uname on opensolaris returns 1 for success
check for -1 as failure, not 0 for success
2010-05-02 18:25:13 +02:00
Andrew Tridgell
7cbcf652c5 s4-ldb: use a parent context in the ldb utils
This avoids a talloc free with references error on exit
2010-05-02 18:25:13 +02:00
Matthieu Patou
df6d0db21d s4: Fix python binding for drsblobs
This binding needs symbols in drsblobs_c.c otherwise we have unresolved symbols
2010-05-02 15:59:49 +02:00
Matthieu Patou
f534080367 s4 python: fix glues functions manipulating NTTIME
The fix include reverse function (from NTTIME to timestamp) + fix
on the transformation of a NTTIME to a PyLong object
2010-05-02 15:59:49 +02:00
Matthieu Patou
831336293d pidl: Fix the generation of py helper for 64 bit integer
Up to now the generation of code for python helpers dealing with 64 bits (NTTIME,hyper, ...)
was broken because they were assumed to be Int (PyInt_From ...) as Integer is always 32 bits
in python.
This fix use PyLong and states that the incomming data is a long long as it should be 64 bit at least.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-05-02 15:59:49 +02:00
Volker Lendecke
668e28b80e s3: Unify DEBUG_KRB5_TKT_REGAIN and DEBUG_KRB5_TKT_RENEWAL
I don't think it makes sense to #ifdef this one case separately.

Metze, Bo Yang, please check!
2010-05-02 15:16:14 +02:00
Volker Lendecke
ef0adbff93 s3: Fix a typo 2010-05-02 15:16:14 +02:00
Volker Lendecke
685b4625bc s3: Fix the code order in append_auth_data
This is to comply with the comment

"currently, anything from here on potentially overwrites extra_data."

Günther, please check!
2010-05-02 15:15:56 +02:00
Andrew Bartlett
44e7ea6927 s4:credentials Make the CCACHE in credentials depend on the things that built it
This means that we consider the ccache only as reliable as the least
specified of the inputs we used.

This means that we will regenerate the ccache if any of the inputs change.

Andrew Bartlett
2010-05-02 06:54:23 +10:00
Holger Hans Peter Freyther
485def3b5d talloc: Documentation fix for talloc 2010-05-01 15:20:24 +02:00
Andrew Bartlett
dfd7ad2083 s4:dsdb Fix use of memory after free in repl_meta_data
The upgraded link values are were allocated on tmp_ctx, and need to be
kept until they are written to the DB.  If we don't give the correct
context, they will be gone after the talloc_free(tmp_ctx).

Found by Matthieu Patou <mat+Informatique.Samba@matws.net>

Andrew Bartlett
2010-05-01 22:20:25 +10:00
Jeremy Allison
f4092ecec7 Plumb the SMB2 front end into the blocking lock backend.
Metze, you'll probably be happier with this work as it
doesn't abuse tevent in the way you dislike. This is a
first cut at the code, which will need lots of testing
but I'm hoping this will give people an idea of where I'm
going with this.

Jeremy.
2010-04-30 21:03:20 -07:00
Simo Sorce
dffeb12f3d smbd: move printfile_offset() within write_file() 2010-04-30 11:52:39 -07:00
Günther Deschner
b9a97cf864 s4-smbtorture: add test_netprintjobgetinfo().
Guenther
2010-04-30 17:06:59 +02:00
Günther Deschner
7c88d30836 s4-smbtorture: add smbcli_rap_netprintjobgetinfo().
Guenther
2010-04-30 17:06:59 +02:00
Günther Deschner
60736f1e05 s3: re-run make samba3-idl.
Guenther
2010-04-30 17:06:58 +02:00
Günther Deschner
24a2ddb6e3 rap: add rap_NetPrintJobGetInfo to IDL.
Guenther
2010-04-30 17:06:58 +02:00
Günther Deschner
82d4e858ea s4-smbtorture: fix smbcli_rap_netprintjobenum().
It is just fine for a printq to have no pending jobs.

Guenther
2010-04-30 17:06:58 +02:00
Günther Deschner
400c07f0de s4-smbtorture: add test_netprintjobenum to RAP-PRINTING.
Guenther
2010-04-30 15:12:00 +02:00
Günther Deschner
753fde9c19 s4-smbtorture: add smbcli_rap_netprintjobenum().
Guenther
2010-04-30 15:11:56 +02:00
Günther Deschner
3d5c7909ea s3: re-run make samba3-idl.
Guenther
2010-04-30 13:53:30 +02:00
Günther Deschner
cd90e002bd s3: add rap_NetPrintJobEnum (again a call not documented in MS-RAP).
Guenther
2010-04-30 13:52:14 +02:00
Günther Deschner
52b669b68e s4-smbtorture: pause and resume printq in RAP-PRINTING test.
Guenther
2010-04-30 13:44:42 +02:00
Günther Deschner
af2482989b s4-smbtorture: use rap_status in smbcli_rap_* functions.
Guenther
2010-04-30 13:44:41 +02:00
Günther Deschner
4da66a3645 s3: re-run make samba3-idl.
Guenther
2010-04-30 13:44:41 +02:00
Günther Deschner
fc9c004e7d rap: use rap_status in IDL.
Guenther
2010-04-30 13:44:41 +02:00
Günther Deschner
3bfceafed7 rap: add rap_status to IDL.
Guenther
2010-04-30 13:44:41 +02:00
Günther Deschner
7cdd6a15af s4-smbtorture: add smbcli_rap_netprintqueueresume() and smbcli_rap_netprintqueuepurge().
Guenther
2010-04-30 13:44:41 +02:00
Günther Deschner
2df2cef437 s4-smbtorture: add test_netprintq to RAP-PRINTING.
Guenther
2010-04-30 13:44:41 +02:00