kai/samba.git
13 years agos3-waf: convert LIBCLI_NETLOGON into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 16:27:37 +0000 (17:27 +0100)]
s3-waf: convert LIBCLI_NETLOGON into a subsystem.

Guenther

13 years agos3-waf: convert LIBCLI_LSA into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 16:09:34 +0000 (17:09 +0100)]
s3-waf: convert LIBCLI_LSA into a subsystem.

Guenther

13 years agos3-waf: convert LIBCLI_SAMR into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 15:43:34 +0000 (16:43 +0100)]
s3-waf: convert LIBCLI_SAMR into a subsystem.

Guenther

13 years agos3-waf: convert PARAM_UTIL into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 15:25:37 +0000 (16:25 +0100)]
s3-waf: convert PARAM_UTIL into a subsystem.

Guenther

13 years agos3-waf: convert TOKEN_UTIL into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 15:16:22 +0000 (16:16 +0100)]
s3-waf: convert TOKEN_UTIL into a subsystem.

Guenther

13 years agos3-waf: convert REG_EVENTLOG into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 14:12:52 +0000 (15:12 +0100)]
s3-waf: convert REG_EVENTLOG into a subsystem.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Nov 30 16:25:51 CET 2010 on sn-devel-104

13 years agos3-waf: convert LIBNMB into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 13:56:26 +0000 (14:56 +0100)]
s3-waf: convert LIBNMB into a subsystem.

Guenther

13 years agos3-waf: convert FNAME_UTIL into a subsystem.
Günther Deschner [Tue, 30 Nov 2010 13:29:31 +0000 (14:29 +0100)]
s3-waf: convert FNAME_UTIL into a subsystem.

Guenther

13 years agos3: Fix bug 7832
Volker Lendecke [Tue, 30 Nov 2010 11:31:39 +0000 (12:31 +0100)]
s3: Fix bug 7832

Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Nov 30 14:39:34 CET 2010 on sn-devel-104

13 years agowafsamba: Fix indentation.
Jelmer Vernooij [Tue, 30 Nov 2010 11:01:07 +0000 (12:01 +0100)]
wafsamba: Fix indentation.

Without this change we'd exclude the rpath for private libraries
whenever the first dependency of a subsystem was a public library.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Nov 30 13:08:04 CET 2010 on sn-devel-104

13 years agos3: Add shadow copy info to smbclient allinfo
Volker Lendecke [Mon, 29 Nov 2010 17:09:49 +0000 (18:09 +0100)]
s3: Add shadow copy info to smbclient allinfo

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Nov 30 12:23:50 CET 2010 on sn-devel-104

13 years agos3: Add cli_shadow_copy_data
Volker Lendecke [Mon, 29 Nov 2010 16:39:43 +0000 (17:39 +0100)]
s3: Add cli_shadow_copy_data

13 years agos4:torture - partially revert "s4:torture - prefer the termination "return"s at the...
Matthias Dieter Wallnöfer [Tue, 30 Nov 2010 07:32:22 +0000 (08:32 +0100)]
s4:torture - partially revert "s4:torture - prefer the termination "return"s at the end of two unittests"

This partially reverts commit 54a5c398aaa1d53b5892c9b0aa5539ae7da651da.
As tridge pointed out I've overseen the nested loop in "run_iometer".
Therefore we end in a infinite loop. Obviously it wasn't run by "make
test" since then I would have detected it.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Nov 30 09:23:00 CET 2010 on sn-devel-104

13 years agowafsamba: Only use private library rpath when linking against private
Jelmer Vernooij [Tue, 30 Nov 2010 00:10:31 +0000 (01:10 +0100)]
wafsamba: Only use private library rpath when linking against private
libraries.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Nov 30 02:23:37 CET 2010 on sn-devel-104

13 years agosamba_dist: Fix dist for subprojects.
Jelmer Vernooij [Mon, 29 Nov 2010 22:47:00 +0000 (23:47 +0100)]
samba_dist: Fix dist for subprojects.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Nov 30 00:32:41 CET 2010 on sn-devel-104

13 years agosamdb: Build as public library.
Jelmer Vernooij [Mon, 29 Nov 2010 02:05:36 +0000 (03:05 +0100)]
samdb: Build as public library.

13 years agos4:torture - prefer the termination "return"s at the end of two unittests
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 21:42:07 +0000 (22:42 +0100)]
s4:torture - prefer the termination "return"s at the end of two unittests

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Nov 29 23:29:23 CET 2010 on sn-devel-104

13 years agoFix bug discovered with "encryped passwords = no".
Jeremy Allison [Mon, 29 Nov 2010 20:36:05 +0000 (12:36 -0800)]
Fix bug discovered with "encryped passwords = no".

message_push_string() and message_push_blob() both update
the bcc value, so we don't need the old code that tries to
do it manually.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Nov 29 22:24:01 CET 2010 on sn-devel-104

13 years agos4-smbtorture: only run the cupsaddsmb adobe driver test against s3.
Günther Deschner [Mon, 29 Nov 2010 16:59:31 +0000 (17:59 +0100)]
s4-smbtorture: only run the cupsaddsmb adobe driver test against s3.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Nov 29 18:47:17 CET 2010 on sn-devel-104

13 years agos3-spoolss: Fix Bug #7641: handle win9x adddriver calls w/o config file.
Günther Deschner [Mon, 29 Nov 2010 16:56:40 +0000 (17:56 +0100)]
s3-spoolss: Fix Bug #7641: handle win9x adddriver calls w/o config file.

This turned cupsaddsmb to run into an infinite loop.

Guenther

13 years agos4-smbtorture: add torture test for cupsaddsmb win9x driver install behavior.
Günther Deschner [Mon, 29 Nov 2010 16:50:05 +0000 (17:50 +0100)]
s4-smbtorture: add torture test for cupsaddsmb win9x driver install behavior.

Guenther

13 years agos4-smbtorture: make add-printerdriver test more robust against empty configfiles.
Günther Deschner [Mon, 29 Nov 2010 16:48:42 +0000 (17:48 +0100)]
s4-smbtorture: make add-printerdriver test more robust against empty configfiles.

Guenther

13 years agos4-smbtorture: make driver upload/removal more robust against empty filenames.
Günther Deschner [Mon, 29 Nov 2010 16:07:02 +0000 (17:07 +0100)]
s4-smbtorture: make driver upload/removal more robust against empty filenames.

Guenther

13 years agos3-oldtest: add WIN40 to print$ share.
Günther Deschner [Mon, 29 Nov 2010 14:18:13 +0000 (15:18 +0100)]
s3-oldtest: add WIN40 to print$ share.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Nov 29 16:20:37 CET 2010 on sn-devel-104

13 years agos3-selftest: add WIN40 directory to print$ share.
Günther Deschner [Mon, 29 Nov 2010 14:17:41 +0000 (15:17 +0100)]
s3-selftest: add WIN40 directory to print$ share.

Guenther

13 years agos4-smbtorture: add test for Adobe PostScript driver (Win9x) installation.
Günther Deschner [Mon, 29 Nov 2010 14:09:52 +0000 (15:09 +0100)]
s4-smbtorture: add test for Adobe PostScript driver (Win9x) installation.

Guenther

13 years agos4-smbtorture: handle driverfile overlap during removal in RPC-SPOOLSS-DRIVER.
Günther Deschner [Mon, 29 Nov 2010 14:08:01 +0000 (15:08 +0100)]
s4-smbtorture: handle driverfile overlap during removal in RPC-SPOOLSS-DRIVER.

Guenther

13 years agos4-smbtorture: re-arrange RPC-SPOOLSS-DRIVER test a bit.
Günther Deschner [Mon, 29 Nov 2010 12:08:02 +0000 (13:08 +0100)]
s4-smbtorture: re-arrange RPC-SPOOLSS-DRIVER test a bit.

Guenther

13 years agos4:wrepl_server - add a cast on "iov_base"
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:38:21 +0000 (14:38 +0100)]
s4:wrepl_server - add a cast on "iov_base"

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Nov 29 15:34:32 CET 2010 on sn-devel-104

13 years agos4:lib/tls/tls_tstream.c - quiet warning on Solaris "cc" by casts
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:35:19 +0000 (14:35 +0100)]
s4:lib/tls/tls_tstream.c - quiet warning on Solaris "cc" by casts

13 years agos4:auth/gensec/gensec_tstream.c - quiet warnings on Solaris "cc"
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:31:53 +0000 (14:31 +0100)]
s4:auth/gensec/gensec_tstream.c - quiet warnings on Solaris "cc"

13 years agos4:wrepl_server - remove unreachable statement
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:39:06 +0000 (14:39 +0100)]
s4:wrepl_server - remove unreachable statement

13 years agos4:dcesrv_drsuapi RPC server - remove unreachable statement
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:37:38 +0000 (14:37 +0100)]
s4:dcesrv_drsuapi RPC server - remove unreachable statement

13 years agos4:dns_server/dns_update.c - remove unreachable statements
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:36:46 +0000 (14:36 +0100)]
s4:dns_server/dns_update.c - remove unreachable statements

13 years agolibcli/security/object_tree.c - remove unreachable statement
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:46:23 +0000 (14:46 +0100)]
libcli/security/object_tree.c - remove unreachable statement

13 years agos4:torture - remove unreachable statements to quiet warnings of Solaris "cc"
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:45:33 +0000 (14:45 +0100)]
s4:torture - remove unreachable statements to quiet warnings of Solaris "cc"

13 years agos4:auth/ntlmssp/ntlmssp_server.c - remove unnecessary ";"
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:33:08 +0000 (14:33 +0100)]
s4:auth/ntlmssp/ntlmssp_server.c - remove unnecessary ";"

13 years agoheimdal:base/heimbase.c - remove an unused variable
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 13:13:05 +0000 (14:13 +0100)]
heimdal:base/heimbase.c - remove an unused variable

13 years agos4:param/pyparam_util.c - remove unused include
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 11:03:53 +0000 (12:03 +0100)]
s4:param/pyparam_util.c - remove unused include

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Nov 29 12:56:12 CET 2010 on sn-devel-104

13 years agos4:auth/gensec/gensec_gssapi.c - always print error messages on the same talloc context
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 10:33:04 +0000 (11:33 +0100)]
s4:auth/gensec/gensec_gssapi.c - always print error messages on the same talloc context

13 years agowintest: cope with the heimdal version of kinit
Andrew Tridgell [Mon, 29 Nov 2010 06:19:55 +0000 (17:19 +1100)]
wintest: cope with the heimdal version of kinit

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Nov 29 08:49:36 CET 2010 on sn-devel-104

13 years agos4-samdb: give a better exception if multiple users match in password change
Andrew Tridgell [Mon, 29 Nov 2010 05:57:25 +0000 (16:57 +1100)]
s4-samdb: give a better exception if multiple users match in password change

13 years agos4-repl_schema: fixed ldb exception handling
Andrew Tridgell [Mon, 29 Nov 2010 03:16:18 +0000 (14:16 +1100)]
s4-repl_schema: fixed ldb exception handling

13 years agos4-samba-tool: fixed exception handling in subcommands
Andrew Tridgell [Mon, 29 Nov 2010 03:15:57 +0000 (14:15 +1100)]
s4-samba-tool: fixed exception handling in subcommands

this switches to the new pattern of:

 except Exception, e:
  raise CommandError("some error message", e)

13 years agos4-samba-tool: fixed ldb exception handling in domainlevel command
Andrew Tridgell [Mon, 29 Nov 2010 03:14:01 +0000 (14:14 +1100)]
s4-samba-tool: fixed ldb exception handling in domainlevel command

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agos4-samba-tool: improved exception handling in samba-tool
Andrew Tridgell [Mon, 29 Nov 2010 03:11:57 +0000 (14:11 +1100)]
s4-samba-tool: improved exception handling in samba-tool

we now do reasonable printing on a wide range of common exception
classes, and always force a backtrace on an exception if the debug
level is >= 3

Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>

13 years agos4-join: fixed exception handling in join command
Andrew Tridgell [Mon, 29 Nov 2010 03:10:57 +0000 (14:10 +1100)]
s4-join: fixed exception handling in join command

13 years agos4-ldapcmp: make ldapcmp a samba-tool command
Andrew Tridgell [Mon, 29 Nov 2010 03:10:26 +0000 (14:10 +1100)]
s4-ldapcmp: make ldapcmp a samba-tool command

The ldapcmp tool is very useful, and should be available to Samba
admins, not just developers. This makes it a samba-tool command, which
also gives it the nicer command line handling that samba-tool has

13 years agos4-ldapcmp: fixed exception handling
Andrew Tridgell [Mon, 29 Nov 2010 02:30:46 +0000 (13:30 +1100)]
s4-ldapcmp: fixed exception handling

This pattern, which is common in our code, is wrong:
            except LdbError, (ERR_NO_SUCH_OBJECT, _):

what it actually does it to change the value of ldb.ERR_NO_SUCH_OBJECT
to be equal to whatever ldb error occurred! This led to some really
bizarre behavior

13 years agos4-pyglue: added get_debug_level() method
Andrew Tridgell [Mon, 29 Nov 2010 02:26:48 +0000 (13:26 +1100)]
s4-pyglue: added get_debug_level() method

Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>

13 years agos4-loadparm: use loadparm_init_global() instead of loadparm_init()
Andrew Tridgell [Mon, 29 Nov 2010 02:25:59 +0000 (13:25 +1100)]
s4-loadparm: use loadparm_init_global() instead of loadparm_init()

this prevents us having two lp_ctx contexts in these tools which leads
to bizarre behaviour

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agos4-loadparm: added loadparm_init_global()
Andrew Tridgell [Mon, 29 Nov 2010 02:24:51 +0000 (13:24 +1100)]
s4-loadparm: added loadparm_init_global()

This ensures we use the same loadparm_context in all our command line
tools.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agos4-gpo: started on samba-tool gpo list command
Andrew Tridgell [Sun, 28 Nov 2010 03:33:12 +0000 (14:33 +1100)]
s4-gpo: started on samba-tool gpo list command

13 years agos4-dsdb: give full error message for operational failures
Andrew Tridgell [Sun, 28 Nov 2010 03:32:51 +0000 (14:32 +1100)]
s4-dsdb: give full error message for operational failures

13 years agos4-pydsdb: two more GPO related flags
Andrew Tridgell [Sun, 28 Nov 2010 03:32:01 +0000 (14:32 +1100)]
s4-pydsdb: two more GPO related flags

13 years agos4-samba-tool: started on gpo subcommands in python
Andrew Tridgell [Sun, 28 Nov 2010 01:20:15 +0000 (12:20 +1100)]
s4-samba-tool: started on gpo subcommands in python

this adds the listall GPO command. Currently the python variants are
available as "samba-tool gpo2 SUBCOMMAND". These will replace the
"samba-tool gpo" commands when complete

13 years agos4-pydsdb: added GPO policy flags
Andrew Tridgell [Sun, 28 Nov 2010 01:18:29 +0000 (12:18 +1100)]
s4-pydsdb: added GPO policy flags

13 years agosamba.tests.hostconfig: Fix import.
Jelmer Vernooij [Sun, 28 Nov 2010 15:38:27 +0000 (16:38 +0100)]
samba.tests.hostconfig: Fix import.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 28 18:08:33 CET 2010 on sn-devel-104

13 years agos4-python: Some reformatting for the purpose of pydoctor.
Jelmer Vernooij [Sun, 28 Nov 2010 13:09:30 +0000 (14:09 +0100)]
s4-python: Some reformatting for the purpose of pydoctor.

13 years agosamba.upgradehelpers: Simplify code a bit.
Jelmer Vernooij [Sun, 28 Nov 2010 12:45:56 +0000 (13:45 +0100)]
samba.upgradehelpers: Simplify code a bit.

13 years agosamba.hostconfig: Move samba.shares into samba.hostconfig.
Jelmer Vernooij [Sun, 28 Nov 2010 12:39:12 +0000 (13:39 +0100)]
samba.hostconfig: Move samba.shares into samba.hostconfig.

13 years agosamba.getopt: Fix missing import of sys.
Jelmer Vernooij [Sun, 28 Nov 2010 12:37:31 +0000 (13:37 +0100)]
samba.getopt: Fix missing import of sys.

13 years agochgtdcpass: Fix program name in usage message.
Jelmer Vernooij [Sun, 28 Nov 2010 12:34:19 +0000 (13:34 +0100)]
chgtdcpass: Fix program name in usage message.

13 years agos4:torture/smb2/acls.c - remove two unused variables
Matthias Dieter Wallnöfer [Sun, 28 Nov 2010 15:07:26 +0000 (16:07 +0100)]
s4:torture/smb2/acls.c - remove two unused variables

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Nov 28 17:22:54 CET 2010 on sn-devel-104

13 years agos4:introduce casts before outputs of "time_t" variables
Matthias Dieter Wallnöfer [Sun, 28 Nov 2010 15:06:19 +0000 (16:06 +0100)]
s4:introduce casts before outputs of "time_t" variables

Otherwise we are getting warnings on "NetBSD".

13 years agoreplace:wscript - reintroduce the size check for "bool" due to a request of metze
Matthias Dieter Wallnöfer [Sun, 28 Nov 2010 13:55:28 +0000 (14:55 +0100)]
replace:wscript - reintroduce the size check for "bool" due to a request of metze

13 years agoreplace:wscript - change the "bool" checks to be compatible with more platforms
Matthias Dieter Wallnöfer [Sun, 28 Nov 2010 11:28:03 +0000 (12:28 +0100)]
replace:wscript - change the "bool" checks to be compatible with more platforms

- If the type was found then we are fine and define "HAVE_BOOL"
- Othewise we substitute it in "replace.h" as "_Bool" or if not possible as "int"
- This prevents lot of warnings on platforms where we don't have a "bool" type as Tru64
- The length check for "bool" is not really useful and therefore removed

13 years agobuild: update gdb_backtrace to make it search for gdb66 as it work on freebsd
Matthieu Patou [Sun, 28 Nov 2010 14:32:06 +0000 (17:32 +0300)]
build: update gdb_backtrace to make it search for gdb66 as it work on freebsd

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Nov 28 16:37:08 CET 2010 on sn-devel-104

13 years agofix bad shell
Matthieu Patou [Sun, 28 Nov 2010 14:28:57 +0000 (17:28 +0300)]
fix bad shell

13 years agoreplace:wscript - reintroduce the size check for "bool" due to a request of metze
Matthias Dieter Wallnöfer [Sun, 28 Nov 2010 13:55:28 +0000 (14:55 +0100)]
replace:wscript - reintroduce the size check for "bool" due to a request of metze

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Nov 28 15:48:40 CET 2010 on sn-devel-104

13 years agos3: Properly print binary values "net cache"
Volker Lendecke [Sun, 28 Nov 2010 12:14:38 +0000 (13:14 +0100)]
s3: Properly print binary values "net cache"

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Nov 28 15:03:26 CET 2010 on sn-devel-104

13 years agos3: Add gencache_iterate_blobs
Volker Lendecke [Sat, 27 Nov 2010 14:48:21 +0000 (15:48 +0100)]
s3: Add gencache_iterate_blobs

13 years agos3: Convert gencache_get_data_blob to gencache_parse
Volker Lendecke [Sat, 27 Nov 2010 10:36:52 +0000 (11:36 +0100)]
s3: Convert gencache_get_data_blob to gencache_parse

13 years agos3: Add gencache_parse
Volker Lendecke [Fri, 26 Nov 2010 23:40:25 +0000 (00:40 +0100)]
s3: Add gencache_parse

13 years agoRevert "s4:netcmd/drs.py - use "objectClass" for discovering the server and it's...
Matthias Dieter Wallnöfer [Sun, 28 Nov 2010 11:54:02 +0000 (12:54 +0100)]
Revert "s4:netcmd/drs.py - use "objectClass" for discovering the server and it's NTDS settings object"

This reverts commit b87c3703cf890bd55340a201536073bd2be1e1d8.
Andrew Bartlett told me that exactly the opposite is true - the "objectCategory"
lookup is performing better.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Nov 28 14:18:41 CET 2010 on sn-devel-104

13 years agoreplace:wscript - change the "bool" checks to be compatible with more platforms
Matthias Dieter Wallnöfer [Sun, 28 Nov 2010 11:28:03 +0000 (12:28 +0100)]
replace:wscript - change the "bool" checks to be compatible with more platforms

- If the type was found then we are fine and define "HAVE_BOOL"
- Othewise we substitute it in "replace.h" as "_Bool" or if not possible as "int"
- This prevents lot of warnings on platforms where we don't have a "bool" type as Tru64
- The length check for "bool" is not really useful and therefore removed

13 years agoadd handling for solaris
Matthieu Patou [Sun, 28 Nov 2010 10:53:40 +0000 (13:53 +0300)]
add handling for solaris

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Nov 28 13:32:21 CET 2010 on sn-devel-104

13 years agos4:dsdb/repl/drepl* - move "lib/messaging/irpc.h" include into "drepl_service.h"
Matthias Dieter Wallnöfer [Sun, 28 Nov 2010 10:53:48 +0000 (11:53 +0100)]
s4:dsdb/repl/drepl* - move "lib/messaging/irpc.h" include into "drepl_service.h"

This is needed to fix a Tru64 "cc" warning regarding "enum drepl_role_master".

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Nov 28 12:46:19 CET 2010 on sn-devel-104

13 years agos4-selftest: Ignore broken pipe error from grep.
Jelmer Vernooij [Sun, 28 Nov 2010 03:58:52 +0000 (04:58 +0100)]
s4-selftest: Ignore broken pipe error from grep.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 28 05:45:05 CET 2010 on sn-devel-104

13 years agosamba.provision: Fix setup_path.
Jelmer Vernooij [Sun, 28 Nov 2010 03:22:46 +0000 (04:22 +0100)]
samba.provision: Fix setup_path.

13 years agosamba.provision: Add package with provision and backend modules.
Jelmer Vernooij [Sun, 28 Nov 2010 03:02:28 +0000 (04:02 +0100)]
samba.provision: Add package with provision and backend modules.

13 years agos4-python: Fix formatting of docstrings for the purpose of pydoctor.
Jelmer Vernooij [Sun, 28 Nov 2010 02:34:47 +0000 (03:34 +0100)]
s4-python: Fix formatting of docstrings for the purpose of pydoctor.

13 years agoMakefile: Add rule for pydoctor.
Jelmer Vernooij [Sun, 28 Nov 2010 02:29:35 +0000 (03:29 +0100)]
Makefile: Add rule for pydoctor.

13 years agosamba.tests: Fix formatting.
Jelmer Vernooij [Sun, 28 Nov 2010 02:15:36 +0000 (03:15 +0100)]
samba.tests: Fix formatting.

13 years agos4-tests/bind.py: Use samba.tests.connect_samdb() instead of directly using SamDB...
Kamen Mazdrashki [Sun, 28 Nov 2010 01:05:05 +0000 (03:05 +0200)]
s4-tests/bind.py: Use samba.tests.connect_samdb() instead of directly using SamDB class

connect_samdb() functino will correctly handle things like:
- session_info param - it will create system_session() using supplied
  LoadParm parameter and thus avoiding creation of multiple LoadParm
  instances (LoadParm() will mask certain command line supplied options)
- host url will be prefixed with ldap:// automatically

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Sun Nov 28 03:00:41 CET 2010 on sn-devel-104

13 years agos4-samba-tool: support help, and show description of commands
Andrew Tridgell [Sat, 27 Nov 2010 23:52:09 +0000 (10:52 +1100)]
s4-samba-tool: support help, and show description of commands

when you don't specify a subcommand, show the description of the
subcommands in the list of available subcommands. Also show the list
of subcommands when you use 'help', '--help' or '-h' as a subcommand

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sun Nov 28 01:56:46 CET 2010 on sn-devel-104

13 years agos4-drs: fixed credit for C version
Andrew Tridgell [Sat, 27 Nov 2010 23:41:53 +0000 (10:41 +1100)]
s4-drs: fixed credit for C version

13 years agos4:netcmd/drs.py - use "objectClass" for discovering the server and it's NTDS setting...
Matthias Dieter Wallnöfer [Sat, 27 Nov 2010 21:44:55 +0000 (22:44 +0100)]
s4:netcmd/drs.py - use "objectClass" for discovering the server and it's NTDS settings object

Small optimisation: we don't need to look for "nTDSDSARO" since it's a subclass
of "ntDSDSA".

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Nov 27 23:35:13 CET 2010 on sn-devel-104

13 years agotdb:common/open.c - use "discard_const_p" for certain "tdb->name" assignments
Matthias Dieter Wallnöfer [Sat, 27 Nov 2010 19:19:34 +0000 (20:19 +0100)]
tdb:common/open.c - use "discard_const_p" for certain "tdb->name" assignments

In order to suppress compiler warnings.

13 years agos4:dsdb/repl/drepl_service.c - return the correct WERR result
Matthias Dieter Wallnöfer [Sat, 27 Nov 2010 19:13:02 +0000 (20:13 +0100)]
s4:dsdb/repl/drepl_service.c - return the correct WERR result

13 years agos4:drepl_service.c - fix error macro (use "_werr" and not "werr")
Matthias Dieter Wallnöfer [Sat, 27 Nov 2010 19:12:25 +0000 (20:12 +0100)]
s4:drepl_service.c - fix error macro (use "_werr" and not "werr")

Detected by Tru64 "cc".

13 years agos4:dsdb/repl/drepl_out_helpers.c - print out the correct error message (werr)
Matthias Dieter Wallnöfer [Sat, 27 Nov 2010 19:06:18 +0000 (20:06 +0100)]
s4:dsdb/repl/drepl_out_helpers.c - print out the correct error message (werr)

Also detected by Tru64 "cc".

13 years agos4:lib/registry/rpc.c - remove a duplicate assignment
Matthias Dieter Wallnöfer [Sat, 27 Nov 2010 19:03:53 +0000 (20:03 +0100)]
s4:lib/registry/rpc.c - remove a duplicate assignment

13 years agos4:torture/rpc/samr.c - fix uninitialised "status" variables
Matthias Dieter Wallnöfer [Sat, 27 Nov 2010 18:52:46 +0000 (19:52 +0100)]
s4:torture/rpc/samr.c - fix uninitialised "status" variables

Detected by Tru64. I wonder how this tests even worked.

13 years agos4:torture/rpc/samsync.c - remove uninitialised "nt_status" check
Matthias Dieter Wallnöfer [Sat, 27 Nov 2010 18:45:45 +0000 (19:45 +0100)]
s4:torture/rpc/samsync.c - remove uninitialised "nt_status" check

Found by Tru64 compiler.

13 years agos4:drsuapi RPC server - fix "enum security_user_level" warning on Tru64
Matthias Dieter Wallnöfer [Sat, 27 Nov 2010 18:42:31 +0000 (19:42 +0100)]
s4:drsuapi RPC server - fix "enum security_user_level" warning on Tru64

13 years agos4:param/secrets.h - fix "enum netr_SchannelType" include correctly
Matthias Dieter Wallnöfer [Sat, 27 Nov 2010 18:32:03 +0000 (19:32 +0100)]
s4:param/secrets.h - fix "enum netr_SchannelType" include correctly

13 years agos4:wkssvc RPC server - better solution for srvsvc* enum's in server_info.c
Matthias Dieter Wallnöfer [Sat, 27 Nov 2010 18:16:00 +0000 (19:16 +0100)]
s4:wkssvc RPC server - better solution for srvsvc* enum's in server_info.c

Reworked version of commit 7e710c4de92c310897817acc06d229cce763d2d7

13 years agoRevert "s4:rpc_server/common/common.h - introduce two forward declarations to suppres...
Matthias Dieter Wallnöfer [Sat, 27 Nov 2010 18:10:27 +0000 (19:10 +0100)]
Revert "s4:rpc_server/common/common.h - introduce two forward declarations to suppress parameter declaration warnings"

This reverts commit 7e710c4de92c310897817acc06d229cce763d2d7.
This causes more noise than it's useful.

13 years agos4:libcli/security/session.h - fix include ordering for "enum security_user_level"
Matthias Dieter Wallnöfer [Sat, 27 Nov 2010 17:33:42 +0000 (18:33 +0100)]
s4:libcli/security/session.h - fix include ordering for "enum security_user_level"