Anatoliy Atanasov [Tue, 4 May 2010 09:48:18 +0000 (11:48 +0200)]
s4/rodc: Fix the callbacks up the stack to handle referrals on modify requests
Matthias Dieter Wallnöfer [Tue, 4 May 2010 15:21:30 +0000 (17:21 +0200)]
s4:py_nttime2string - removed unused variable "nt2"
And add some linespaces to look better.
Günther Deschner [Tue, 4 May 2010 15:18:22 +0000 (17:18 +0200)]
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
Günther Deschner [Tue, 4 May 2010 14:31:34 +0000 (16:31 +0200)]
s3-libnetjoin: omit admin password in generated ndr_print function.
Guenther
Günther Deschner [Tue, 4 May 2010 13:39:21 +0000 (15:39 +0200)]
s4-smbtorture: add test_netprintdestgetinfo() to RAP-PRINTING.
Guenther
Günther Deschner [Tue, 4 May 2010 13:29:53 +0000 (15:29 +0200)]
s4-smbtorture: add smbcli_rap_netprintdestgetinfo().
Guenther
Günther Deschner [Tue, 4 May 2010 13:24:54 +0000 (15:24 +0200)]
s4-smbtorture: add test_netprintdestenum to RAP-PRINTING.
Guenther
Günther Deschner [Tue, 4 May 2010 13:23:53 +0000 (15:23 +0200)]
rap: add rap_NetPrintDestGetInfo to IDL.
Guenther
Günther Deschner [Tue, 4 May 2010 13:23:08 +0000 (15:23 +0200)]
s4-smbtorture: add smbcli_rap_netprintdestenum.
Guenther
Günther Deschner [Tue, 4 May 2010 13:22:36 +0000 (15:22 +0200)]
rap: add IDL for (undocumented) NetPrintDestEnum.
Guenther
Andrew Tridgell [Tue, 4 May 2010 05:48:54 +0000 (07:48 +0200)]
s3-idl: update the 2nd build_idl.sh script
Andrew Tridgell [Tue, 4 May 2010 05:34:32 +0000 (07:34 +0200)]
s3-idl: rebuild IDL files based on all outputs
Andrew Tridgell [Tue, 4 May 2010 04:59:08 +0000 (06:59 +0200)]
s3-idl: auto-build IDL files in Samba3
Andrew Tridgell [Mon, 3 May 2010 15:28:23 +0000 (17:28 +0200)]
s4-waf: we don't need the symlink hack for gen_ndr any more
we can now generate files into the build directory
Andrew Tridgell [Mon, 3 May 2010 15:25:56 +0000 (17:25 +0200)]
.gitignore: simplify the .gitignore after gen_ndr removal
Andrew Tridgell [Mon, 3 May 2010 15:22:18 +0000 (17:22 +0200)]
s3-idl: removed gen_ndr files from source3/ as well
Andrew Tridgell [Mon, 3 May 2010 15:17:43 +0000 (17:17 +0200)]
idl: removed the generated gen_ndr/ files from pidl
Samba3 will add these to the release tarball instead. See the mail on
samba-technical
Andrew Tridgell [Tue, 4 May 2010 09:58:28 +0000 (11:58 +0200)]
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
Andrew Tridgell [Tue, 4 May 2010 09:57:50 +0000 (11:57 +0200)]
build: fixed wildcard handling for python 3.x
print must take parentheses
Andrew Tridgell [Tue, 4 May 2010 09:57:13 +0000 (11:57 +0200)]
s4-waf: fixed indentation for python 3.1
python 3.x is very fussy about tabs/spaces
Volker Lendecke [Tue, 4 May 2010 11:54:51 +0000 (13:54 +0200)]
s3: Fix a memleak in check_pac_checksum
Andrew Tridgell [Tue, 4 May 2010 08:30:39 +0000 (10:30 +0200)]
s4-script: added a --waf option to minimal_includes.pl
This takes advantage of the new waf target syntax
Andrew Tridgell [Tue, 4 May 2010 08:08:43 +0000 (10:08 +0200)]
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
Günther Deschner [Mon, 3 May 2010 18:23:45 +0000 (20:23 +0200)]
s4-smbtorture: add extraformat to smbcli_rap_netprintqgetinfo() as well.
Guenther
Günther Deschner [Mon, 3 May 2010 18:02:37 +0000 (20:02 +0200)]
s4-smbtorture: use RAP extraformat for smbcli_rap_netprintqenum().
Although w2k3 happily ignores it, the spec (and s3) enforce the addition of
that.
Guenther
Günther Deschner [Thu, 29 Apr 2010 18:04:12 +0000 (20:04 +0200)]
s4-smbtorture: add rap_cli_expect_extra_format().
Guenther
Günther Deschner [Mon, 3 May 2010 18:53:02 +0000 (20:53 +0200)]
s4-smbtorture: make all smbcli_rap_* failures critical.
Guenther
Anatoliy Atanasov [Mon, 3 May 2010 16:12:45 +0000 (18:12 +0200)]
s4/test: Implement tests for msDS-isRODC constructed attribute
This attribute will be returned for objects with
objectClass=nTDSDSA,server and computer
Anatoliy Atanasov [Wed, 28 Apr 2010 14:02:55 +0000 (17:02 +0300)]
s4/rodc: Implement msDS-isRODC constructed attr
Matthias Dieter Wallnöfer [Mon, 3 May 2010 15:15:25 +0000 (17:15 +0200)]
s4:LogonGetDomainInfo - fix a potential crash source
Matthias Dieter Wallnöfer [Mon, 3 May 2010 14:59:53 +0000 (16:59 +0200)]
s4:LogonGetDomainInfo - fix indentation
Matthias Dieter Wallnöfer [Mon, 3 May 2010 14:47:03 +0000 (16:47 +0200)]
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).
Andrew Tridgell [Mon, 3 May 2010 14:37:33 +0000 (16:37 +0200)]
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
Andrew Tridgell [Mon, 3 May 2010 14:05:19 +0000 (16:05 +0200)]
s4-waf: fixed target group for SOCKET_WRAPPER
Andrew Tridgell [Mon, 3 May 2010 14:04:56 +0000 (16:04 +0200)]
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
Andrew Tridgell [Mon, 3 May 2010 13:12:29 +0000 (15:12 +0200)]
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
Günther Deschner [Mon, 3 May 2010 15:02:21 +0000 (17:02 +0200)]
s3-lanman: before trying to call spoolss_ClosePrinter make sure we have a connection.
Guenther
Nadezhda Ivanova [Mon, 3 May 2010 14:47:56 +0000 (16:47 +0200)]
Replaced DS_FLAG_ATTR_IS_CRITICAL with SCHEMA_FLAG_ATTR_IS_CRITICAL.
Günther Deschner [Mon, 3 May 2010 13:54:14 +0000 (15:54 +0200)]
s3-rpcclient: Fix Bug #7277. rpcclient was sending invalid data, causing cupsaddsmb to fail.
Guenther
Andreas Schneider [Mon, 3 May 2010 09:25:26 +0000 (11:25 +0200)]
tsocket: Fixed the documentation of tsocket_address_bsd_sockaddr.
Nadezhda Ivanova [Mon, 3 May 2010 13:38:46 +0000 (15:38 +0200)]
Added a couple of systemFlags, needed for determining filtered attributes.
Nadezhda Ivanova [Mon, 3 May 2010 12:50:10 +0000 (14:50 +0200)]
Added a function to check if an attribute can belong to a filtered replica.
Günther Deschner [Mon, 3 May 2010 11:42:32 +0000 (13:42 +0200)]
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
Günther Deschner [Mon, 3 May 2010 10:51:26 +0000 (12:51 +0200)]
s3: re-run make samba3-idl.
Guenther
Günther Deschner [Mon, 3 May 2010 10:48:55 +0000 (12:48 +0200)]
pidl: indent cosmetics for s3 server stubs.
Guenther
Günther Deschner [Mon, 3 May 2010 09:57:06 +0000 (11:57 +0200)]
s4-smbtorture: add test_netprintjobsetinfo to RAP-PRINTING.
Guenther
Günther Deschner [Mon, 3 May 2010 09:46:57 +0000 (11:46 +0200)]
s4-smbtorture: add smbcli_rap_netprintjobsetinfo().
Guenther
Günther Deschner [Mon, 3 May 2010 09:45:52 +0000 (11:45 +0200)]
s4-smbtorture: add rap_cli_push_param() and rap_cli_push_sendbuf().
Guenther
Günther Deschner [Mon, 3 May 2010 09:58:06 +0000 (11:58 +0200)]
s3-lanman: exit early for unsupported levels in api_PrintJobInfo().
Guenther
Günther Deschner [Fri, 30 Apr 2010 15:37:34 +0000 (17:37 +0200)]
s3: re-run make samba3-idl.
Guenther
Günther Deschner [Fri, 30 Apr 2010 15:37:16 +0000 (17:37 +0200)]
rap: add rap_NetPrintJobSetInfo to IDL.
Guenther
Andrew Tridgell [Mon, 3 May 2010 08:22:22 +0000 (10:22 +0200)]
s4-waf: fixed symlink path for autogen.sh
thanks to Nadya for noticing :-)
Andrew Tridgell [Mon, 3 May 2010 07:12:43 +0000 (09:12 +0200)]
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)
Matthew McGillis [Mon, 3 May 2010 01:08:29 +0000 (18:08 -0700)]
Consolidate all get SEC_DESC into single procedure get_secdesc
Matthew McGillis [Mon, 3 May 2010 01:08:02 +0000 (18:08 -0700)]
always pass filename as const char
Andrew Tridgell [Sun, 2 May 2010 14:12:14 +0000 (16:12 +0200)]
build: uname on opensolaris returns 1 for success
check for -1 as failure, not 0 for success
Andrew Tridgell [Sun, 2 May 2010 13:53:14 +0000 (15:53 +0200)]
s4-ldb: use a parent context in the ldb utils
This avoids a talloc free with references error on exit
Matthieu Patou [Mon, 12 Apr 2010 20:58:50 +0000 (00:58 +0400)]
s4: Fix python binding for drsblobs
This binding needs symbols in drsblobs_c.c otherwise we have unresolved symbols
Matthieu Patou [Wed, 14 Apr 2010 20:18:14 +0000 (00:18 +0400)]
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
Matthieu Patou [Wed, 14 Apr 2010 20:18:46 +0000 (00:18 +0400)]
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>
Volker Lendecke [Sat, 1 May 2010 12:51:15 +0000 (14:51 +0200)]
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!
Volker Lendecke [Sat, 1 May 2010 12:39:01 +0000 (14:39 +0200)]
s3: Fix a typo
Volker Lendecke [Sun, 25 Apr 2010 13:36:02 +0000 (15:36 +0200)]
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!
Andrew Bartlett [Sat, 1 May 2010 00:33:08 +0000 (10:33 +1000)]
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
Holger Hans Peter Freyther [Sat, 1 May 2010 13:18:45 +0000 (15:18 +0200)]
talloc: Documentation fix for talloc
Andrew Bartlett [Sat, 1 May 2010 08:22:20 +0000 (18:22 +1000)]
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
Jeremy Allison [Sat, 1 May 2010 04:03:20 +0000 (21:03 -0700)]
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.
Simo Sorce [Wed, 28 Apr 2010 23:42:04 +0000 (19:42 -0400)]
smbd: move printfile_offset() within write_file()
Günther Deschner [Fri, 30 Apr 2010 15:06:29 +0000 (17:06 +0200)]
s4-smbtorture: add test_netprintjobgetinfo().
Guenther
Günther Deschner [Fri, 30 Apr 2010 15:06:03 +0000 (17:06 +0200)]
s4-smbtorture: add smbcli_rap_netprintjobgetinfo().
Guenther
Günther Deschner [Fri, 30 Apr 2010 15:04:42 +0000 (17:04 +0200)]
s3: re-run make samba3-idl.
Guenther
Günther Deschner [Fri, 30 Apr 2010 15:04:14 +0000 (17:04 +0200)]
rap: add rap_NetPrintJobGetInfo to IDL.
Guenther
Günther Deschner [Fri, 30 Apr 2010 15:05:17 +0000 (17:05 +0200)]
s4-smbtorture: fix smbcli_rap_netprintjobenum().
It is just fine for a printq to have no pending jobs.
Guenther
Günther Deschner [Fri, 30 Apr 2010 12:57:19 +0000 (14:57 +0200)]
s4-smbtorture: add test_netprintjobenum to RAP-PRINTING.
Guenther
Günther Deschner [Fri, 30 Apr 2010 12:52:48 +0000 (14:52 +0200)]
s4-smbtorture: add smbcli_rap_netprintjobenum().
Guenther
Günther Deschner [Fri, 30 Apr 2010 11:52:56 +0000 (13:52 +0200)]
s3: re-run make samba3-idl.
Guenther
Günther Deschner [Fri, 30 Apr 2010 11:52:14 +0000 (13:52 +0200)]
s3: add rap_NetPrintJobEnum (again a call not documented in MS-RAP).
Guenther
Günther Deschner [Fri, 30 Apr 2010 11:38:49 +0000 (13:38 +0200)]
s4-smbtorture: pause and resume printq in RAP-PRINTING test.
Guenther
Günther Deschner [Fri, 30 Apr 2010 11:36:59 +0000 (13:36 +0200)]
s4-smbtorture: use rap_status in smbcli_rap_* functions.
Guenther
Günther Deschner [Fri, 30 Apr 2010 11:42:02 +0000 (13:42 +0200)]
s3: re-run make samba3-idl.
Guenther
Günther Deschner [Fri, 30 Apr 2010 11:38:04 +0000 (13:38 +0200)]
rap: use rap_status in IDL.
Guenther
Günther Deschner [Fri, 30 Apr 2010 11:35:41 +0000 (13:35 +0200)]
rap: add rap_status to IDL.
Guenther
Günther Deschner [Fri, 30 Apr 2010 11:34:20 +0000 (13:34 +0200)]
s4-smbtorture: add smbcli_rap_netprintqueueresume() and smbcli_rap_netprintqueuepurge().
Guenther
Günther Deschner [Fri, 30 Apr 2010 09:57:40 +0000 (11:57 +0200)]
s4-smbtorture: add test_netprintq to RAP-PRINTING.
Guenther
Günther Deschner [Fri, 30 Apr 2010 09:57:14 +0000 (11:57 +0200)]
s4-smbtorture: add smbcli_rap_netprintqueuepause().
Guenther
Günther Deschner [Fri, 30 Apr 2010 09:56:47 +0000 (11:56 +0200)]
s3: re-run make samba3-idl.
Guenther
Günther Deschner [Fri, 30 Apr 2010 09:55:18 +0000 (11:55 +0200)]
rap: add IDL for rap_NetPrintQueue{Pause,Continue,Purge}.
it seems like they are not documented (at least not in MS-RAP).
Guenther
Jeff Morriss [Thu, 29 Apr 2010 22:11:54 +0000 (00:11 +0200)]
pidl: Fix display field for time fields with newer versions of Wireshark.
Pidl generates some Wireshark dissector fields of type FT_ABSOLUTE_TIME.
Starting some time not too long ago, these fields need a 'display' field
other than BASE_NONE or BASE_DEC. This commit fixes this,
*assuming* that all the times are "local."
Jeremy Allison [Fri, 30 Apr 2010 00:08:12 +0000 (17:08 -0700)]
Carefully label SMB1-specific locking calls.
Jeremy.
Jeremy Allison [Thu, 29 Apr 2010 23:50:15 +0000 (16:50 -0700)]
Move the global blocking lock records into the smb1 state.
Jeremy
Günther Deschner [Thu, 29 Apr 2010 23:45:44 +0000 (01:45 +0200)]
s4-smbtorture: fix rap_pull_rap_PrintQueue2 and 4.
Guenther
Günther Deschner [Thu, 29 Apr 2010 23:45:24 +0000 (01:45 +0200)]
s3: re-run make samba3-idl.
Guenther
Günther Deschner [Thu, 29 Apr 2010 23:44:58 +0000 (01:44 +0200)]
rap: fix rap_PrintQueue2 and rap_PrintQueue4.
Guenther
Günther Deschner [Thu, 29 Apr 2010 23:11:44 +0000 (01:11 +0200)]
rap: let the rap print function be autogenerated again.
Guenther
Günther Deschner [Thu, 29 Apr 2010 23:21:13 +0000 (01:21 +0200)]
s3: re-run make samba3-idl.
Guenther
Günther Deschner [Thu, 29 Apr 2010 21:27:27 +0000 (23:27 +0200)]
rap: use astring in IDL.
Guenther
Günther Deschner [Thu, 29 Apr 2010 17:26:12 +0000 (19:26 +0200)]
s4-smbtorture: test all levels in test_netprintqgetinfo and test_netprintqenum.
Guenther
Günther Deschner [Thu, 29 Apr 2010 17:24:20 +0000 (19:24 +0200)]
s4-smbtorture: add rap_pull_rap_PrintQueue4.
Guenther
Günther Deschner [Thu, 29 Apr 2010 17:23:53 +0000 (19:23 +0200)]
s4-smbtorture: add rap_pull_rap_PrintQueue2.
Guenther
Günther Deschner [Thu, 29 Apr 2010 23:20:34 +0000 (01:20 +0200)]
s3: re-run make samba3-idl.
Guenther