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
Andrew Tridgell
0003bb460b
s4-waf: fixed target group for SOCKET_WRAPPER
2010-05-03 17:16:47 +02:00
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