Andreas Schneider [Thu, 17 Jul 2008 11:37:31 +0000 (13:37 +0200)]
Update the developers documentation for the new vendor version options.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Andreas Schneider [Thu, 17 Jul 2008 10:29:02 +0000 (12:29 +0200)]
Use the macro to call samba_version_string().
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Andreas Schneider [Thu, 17 Jul 2008 10:25:31 +0000 (12:25 +0200)]
Simplify samba_version_string.
This adds a new macro for a vender version function which will be returned
by the samba_version_string() function if defined.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Günther Deschner [Wed, 16 Jul 2008 14:42:21 +0000 (16:42 +0200)]
netapi: use ConvertSidToStringSid in NetGetGroupInfo query.
Guenther
Günther Deschner [Tue, 1 Jul 2008 18:12:43 +0000 (20:12 +0200)]
netapi: add NetGroupEnum example code.
Guenther
Günther Deschner [Wed, 16 Jul 2008 23:06:29 +0000 (01:06 +0200)]
netapi: fill in NetGroupEnum_r().
Guenther
Günther Deschner [Wed, 16 Jul 2008 14:14:47 +0000 (16:14 +0200)]
netapi: fix map_group_info_to_buffer for GROUP_INFO_3 change.
Guenther
Günther Deschner [Wed, 16 Jul 2008 14:13:34 +0000 (16:13 +0200)]
re-run make idl.
Guenther
Günther Deschner [Wed, 16 Jul 2008 14:13:14 +0000 (16:13 +0200)]
netapi: make sid in GROUP_INFO_3 a pointer.
Guenther
Günther Deschner [Tue, 1 Jul 2008 18:11:38 +0000 (20:11 +0200)]
netapi: add NetGroupEnum to public headers.
Guenther
Günther Deschner [Tue, 1 Jul 2008 18:11:02 +0000 (20:11 +0200)]
netapi: add skeleton for NetGroupEnum().
Guenther
Günther Deschner [Tue, 1 Jul 2008 18:10:00 +0000 (20:10 +0200)]
re-run make idl.
Guenther
Günther Deschner [Tue, 1 Jul 2008 18:09:46 +0000 (20:09 +0200)]
netapi: add NetGroupEnum to IDL.
Guenther
Günther Deschner [Wed, 16 Jul 2008 13:22:04 +0000 (15:22 +0200)]
netapi: add ConvertSidToStringSid() for convenience of the callers.
Guenther
Günther Deschner [Tue, 1 Jul 2008 18:09:09 +0000 (20:09 +0200)]
util: add policy_hnd_equal().
Guenther
Günther Deschner [Wed, 16 Jul 2008 14:20:42 +0000 (16:20 +0200)]
netapi: fix documentation for NetGroupSetInfo.
Guenther
Jeremy Allison [Thu, 17 Jul 2008 00:27:05 +0000 (17:27 -0700)]
This patchset comprises a number of cleanups for the cifs upcall
binary. The biggest change is that it renames it from cifs.spnego
to cifs.upcall since the cifs.spnego name really isn't applicable
anymore.
It also fixes a segfault when the program is run without any args
and adds a manpage. Comments and/or suggestions appreciated.
This set should apply cleanly to the 3.3 test branch.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Jeremy.
Volker Lendecke [Sat, 12 Jul 2008 21:17:23 +0000 (23:17 +0200)]
In api_pipe_bind_req(), check for the iface id, not the pipe name
This requires to store the rpc_interface in "struct rpc_table"
Volker Lendecke [Wed, 16 Jul 2008 20:18:43 +0000 (22:18 +0200)]
Add ndr_syntax_id_equal()
Volker Lendecke [Wed, 16 Jul 2008 20:08:59 +0000 (22:08 +0200)]
In api_pipe_bind_req(), decode the bind request before checking the pipe
Jim McDonough [Wed, 16 Jul 2008 16:37:48 +0000 (12:37 -0400)]
Allow %u parameters for print job username - use advanced sub
Based on 3.0 and 3.2 patch from Bo Yang <boyang@novell.com>
Bo, please verify this version works for you.
Volker Lendecke [Wed, 16 Jul 2008 14:08:28 +0000 (16:08 +0200)]
Sequel to
c10aad9f13: Ignore whitespaces in parametric options
It's a bit difficult to explain why
idmap config backend:FOO = rid
should work while
idmap config backend : FOO = rid
should not. And I doubt we will ever see domain names with whitespaces...
Volker Lendecke [Wed, 16 Jul 2008 14:05:46 +0000 (16:05 +0200)]
Tiny logic simplification: Remove an indentation by using an early return;
Volker Lendecke [Wed, 16 Jul 2008 13:49:28 +0000 (15:49 +0200)]
Remove a silly "typedef struct _param_opt_struct param_opt_struct"
Derrell Lipman [Wed, 16 Jul 2008 14:45:09 +0000 (10:45 -0400)]
The compatibility function also should have a const buffer pointer
Andreas Schneider [Wed, 16 Jul 2008 10:05:52 +0000 (12:05 +0200)]
The buf in the smbclient write function should be const.
As we try to provide POSIX function, we should use const like all other
POSIX function.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com>
Derrell Lipman [Wed, 16 Jul 2008 13:48:23 +0000 (09:48 -0400)]
Merge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into v3-3-test
Derrell Lipman [Wed, 16 Jul 2008 13:47:06 +0000 (09:47 -0400)]
Static libsmbclient library needs to include all objects
LIBSMBCLIENT_OBJ0 contains only the libsmb/libsmb_*.o files. We need the
more inclusive set of object files defined by LIBSMBCLIENT_OBJ1.
Derrell
Derrell Lipman [Wed, 16 Jul 2008 13:45:02 +0000 (09:45 -0400)]
Fix typos.
libsmbclient doesn't have bool defined; rather it uses smbc_bool
Derrell
Stefan Metzmacher [Wed, 16 Jul 2008 13:30:03 +0000 (15:30 +0200)]
libnet_dssync: use ctr[1|6]->more_data
metze
Stefan Metzmacher [Wed, 16 Jul 2008 13:26:55 +0000 (15:26 +0200)]
rerun 'make idl' after drsuapi.idl changes
metze
Stefan Metzmacher [Tue, 15 Jul 2008 13:36:54 +0000 (15:36 +0200)]
drsuapi.idl: fix unknowns in drsuapi_DsGetNCChangesCtr*
metze
(cherry picked from commit
9e99e59ca7e56bf74417ec85339e09e86f50d17e)
Stefan Metzmacher [Tue, 15 Jul 2008 13:35:47 +0000 (15:35 +0200)]
drsuapi.idl: fix unknowns in drsuapi_DsReplicaObject*
metze
(cherry picked from commit
de2aed042d09ae7a31ddc4cd920c8fcf193ba06a)
Stefan Metzmacher [Tue, 15 Jul 2008 13:34:23 +0000 (15:34 +0200)]
drsuapi.idl: fix unknowns in drsuapi_DsReplicaCursor[2]
metze
(cherry picked from commit
a681e55067a83f06e465b81afb2b0b870b674dca)
Stefan Metzmacher [Fri, 11 Jul 2008 08:19:53 +0000 (08:19 +0000)]
drsuapi.idl: correctly handle xpress compressed payload
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
d9d19eef4f67da89e7d818d23a2372bee6f86dba)
Stefan Metzmacher [Mon, 30 Jun 2008 11:01:02 +0000 (13:01 +0200)]
drsuapi.idl: remove some unknows from DsGetNCChanges()
metze
(cherry picked from commit
924ef407bd20331cc94f5aeb58f53a5838ae00a4)
Christoph Zauner [Fri, 11 Jul 2008 13:50:25 +0000 (15:50 +0200)]
man pages: Fix typos and add improvements.
Andreas Schneider [Tue, 15 Jul 2008 12:57:32 +0000 (14:57 +0200)]
Release still reachable memory if the smbclient context is freed.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Jeremy Allison [Tue, 15 Jul 2008 22:26:36 +0000 (15:26 -0700)]
Fix from Volodymyr Khomenko <Volodymyr.Khomenko@exanet.com>. Make ntimes
function more like POSIX and allow NULL arg. Help vfs developers.
Jeremy.
Jeremy Allison [Tue, 15 Jul 2008 21:37:48 +0000 (14:37 -0700)]
Fix swat. Bug #5613.
Jeremy
Günther Deschner [Tue, 15 Jul 2008 21:05:13 +0000 (23:05 +0200)]
fix build warning.
Guenther
Michael Adam [Tue, 15 Jul 2008 20:46:12 +0000 (22:46 +0200)]
netapi: fix vim(?)-typo
Michael
Kai Blin [Wed, 9 Jul 2008 08:39:24 +0000 (10:39 +0200)]
netapi: Correctly increase idx when displaying user information
Michael Adam [Tue, 15 Jul 2008 14:43:26 +0000 (16:43 +0200)]
dbwrap: don't panic in db_open_trans() if called with TDB_CLEAR_IF_FIRST.
return NULL instead and leave appropriated measures to the caller.
Michael
Michael Adam [Tue, 15 Jul 2008 13:27:46 +0000 (15:27 +0200)]
dbwrap: don't panic in db_open_trans() when attaching to ctdb fails.
Michael
Michael Adam [Tue, 15 Jul 2008 13:27:14 +0000 (15:27 +0200)]
dbwrap: don't panic in db_open() when attaching to ctdb fails.
Michael
Michael Adam [Tue, 15 Jul 2008 12:25:00 +0000 (14:25 +0200)]
registry: bump debug level to 1 in regdb_init() if storing version string fails.
Higher level callers should take care of level 0 messages.
Michael
Michael Adam [Tue, 15 Jul 2008 12:22:55 +0000 (14:22 +0200)]
registry: bump debug level to 1 in regdb_init() if opening the registry fails.
Higher level callers take care of level 0 messages or more drastic measures.
Michael
Michael Adam [Mon, 14 Jul 2008 08:53:06 +0000 (10:53 +0200)]
dbwrap: when clustering = yes, don't fall back to db_open_tdb in db_open_trans.
Michael
Michael Adam [Mon, 14 Jul 2008 08:43:28 +0000 (10:43 +0200)]
dbwrap: when clustering = yes, don't fall back to db_open_tdb in db_open
Michael
Michael Adam [Tue, 15 Jul 2008 09:26:43 +0000 (11:26 +0200)]
testparm: allow the default debug level of 2 to be changed from the command line.
Michael
Michael Adam [Tue, 15 Jul 2008 09:26:11 +0000 (11:26 +0200)]
popt: add a popt_common_debuglevel set of options providing -d|--debuglevel
Michael
Michael Adam [Tue, 15 Jul 2008 11:01:54 +0000 (13:01 +0200)]
testparm: refactor the per-share logic checks out into do_per_share_checks().
Just to enhance clearness of the code.
Michael
Michael Adam [Tue, 15 Jul 2008 10:55:57 +0000 (12:55 +0200)]
testparm: skip the per-share logic checks when --skip-logic-checks is specified.
Michael
Michael Adam [Tue, 15 Jul 2008 10:52:25 +0000 (12:52 +0200)]
testparm: rename -g|--skip-global-ckecks to -l|--skip-logic-checks
as suggested by Karolin.
That is what it really means. And per-share logic tests will be
disabled by the same switch, too...
Michael
Michael Adam [Mon, 14 Jul 2008 22:27:01 +0000 (00:27 +0200)]
testsuite: fix bug #5594 by using the new --skip-global-ckecks switch
Michael
Michael Adam [Mon, 14 Jul 2008 22:17:58 +0000 (00:17 +0200)]
testparm: add a switch --skip-global-checks.
This allows for successfully calling testparm without the need
to "make install" before. Without this, testparm fails with
the message that the lock directory does not exist...
Michael
Michael Adam [Mon, 14 Jul 2008 16:09:06 +0000 (18:09 +0200)]
build: use $(PAM_WINBIND_EXTRA_LIBS) instead of @PAM_WINBIND_EXTRA_LIBS@ in rules.
Eliminate more potential traps for picky makes.
Michael
Michael Adam [Mon, 14 Jul 2008 16:08:31 +0000 (18:08 +0200)]
build: use $(WINBIND_NSS_PTHREAD) instead of @WINBIND_NSS_PTHREAD@ in rules.
Eliminate more potential traps for picky makes.
Michael
Michael Adam [Mon, 14 Jul 2008 16:07:27 +0000 (18:07 +0200)]
build: use $(WINBIND_NSS_EXTRA_LIBS) instead of @WINBIND_NSS_EXTRA_LIBS@ in rules.
Eliminate more potential traps for picky makes.
Michael
Michael Adam [Mon, 14 Jul 2008 16:06:39 +0000 (18:06 +0200)]
build: use $(LDAP_LIBS) instead of @LDAP_LIBS@ in rules.
Eliminate more potential traps for picky makes.
Michael
Michael Adam [Mon, 14 Jul 2008 16:06:05 +0000 (18:06 +0200)]
build: use $(LIBNETAPI_LIBS) instead of @LIBNETAPI_LIBS@ in rules.
Eliminate more potential traps for picky makes.
Michael
Michael Adam [Mon, 14 Jul 2008 16:04:53 +0000 (18:04 +0200)]
build: link in $(WINBIND_LIBS) instead of @LIBWBCLIENT_SHARED@
This should fix some more picky makes when not building @LIBWBCLINET_SHARED@
Moreover, we want to link against -lwbclient, not against bin/libwbclient.so
anyways.
Michael
Michael Adam [Mon, 14 Jul 2008 16:02:08 +0000 (18:02 +0200)]
build: use $(LIBTDB_LIBS) instead of @LIBTDB_LIBS@ in rules.
Eliminate more potential traps for picky makes.
Michael
Michael Adam [Mon, 14 Jul 2008 16:00:50 +0000 (18:00 +0200)]
build: use $(LIBTALLOC_LIBS) instead of @LIBTALLOC_LIBS@ in rules.
Eliminate more potential traps for picky makes.
Michael
Michael Adam [Mon, 14 Jul 2008 15:58:53 +0000 (17:58 +0200)]
build: use $(POPT_LIBS) instad of @POPT_LIBS@ in rules.
Eliminate more potential traps for picky makes.
Michael
Michael Adam [Mon, 14 Jul 2008 15:55:48 +0000 (17:55 +0200)]
build: use $(WINBIND_LIBS) instead of @WINBIND_LIBS@ in rules.
This fixes the build on systems with picky make, where
libwbclient is not built as a shared library, since the
expansion of @WINBIND_LIBS@ will result in an empty line
in the rule with just the leading tabs/spaces.
Michael
Jeremy Allison [Mon, 14 Jul 2008 19:40:33 +0000 (12:40 -0700)]
Add fix from Simo for bug #5540 - missing code to substitute
%u. Make this the same as other uses.
Jeremy.
Karolin Seeger [Mon, 14 Jul 2008 14:40:36 +0000 (16:40 +0200)]
Fix typo.
retieve -> retrieve
Karolin
Simo Sorce [Sun, 13 Jul 2008 01:28:18 +0000 (21:28 -0400)]
Fix regression introduced with
4086ef15b395f1a536fb669af2103a33ecc14de4
We must not return an error here just because we are offline.
We must instead fix the mappings to the best of our knowledge
(ie mark as mapped, expired ones, and as unmapped, unknown ones)
Simo Sorce [Sun, 13 Jul 2008 01:23:16 +0000 (21:23 -0400)]
Remove one nested level by reversing if condition
Simo Sorce [Sun, 13 Jul 2008 01:13:44 +0000 (21:13 -0400)]
Add back mem leak fixes
Simo Sorce [Sun, 13 Jul 2008 01:13:05 +0000 (21:13 -0400)]
Make again idmap_init static
Volker Lendecke [Sun, 6 Jul 2008 10:19:28 +0000 (12:19 +0200)]
Remove an unused extern reference in vfs_aixacl2.c
Volker Lendecke [Fri, 11 Jul 2008 15:46:09 +0000 (17:46 +0200)]
Revert "Fix two memory leaks in an error path in idmap.c"
This reverts commit
7cec389e19323e99b6b6258e539be9d1fd65810f.
Volker Lendecke [Fri, 11 Jul 2008 15:46:00 +0000 (17:46 +0200)]
Revert "Make idmap_init() static"
This reverts commit
c8d1bbfddce41cd6bf37dd0a622ef3437a24b492.
Volker Lendecke [Fri, 11 Jul 2008 15:45:54 +0000 (17:45 +0200)]
Volker Lendecke [Fri, 11 Jul 2008 15:45:46 +0000 (17:45 +0200)]
Revert "Fix a debug msg, this was probably a leftover from gencache"
This reverts commit
daa171552dc00d9602a05ba199c9a3ff24c802f5.
Volker Lendecke [Fri, 11 Jul 2008 15:45:40 +0000 (17:45 +0200)]
Revert "Fix indentation"
This reverts commit
954556b527aa652f9a46f0d48834e92befb3c5f9.
Volker Lendecke [Fri, 11 Jul 2008 15:45:31 +0000 (17:45 +0200)]
Revert "Fix nonempty whitespace only lines"
This reverts commit
0da9d0d0f9662d8bd2f370f764d5a875e11b3068.
Volker Lendecke [Fri, 11 Jul 2008 15:45:23 +0000 (17:45 +0200)]
Revert "fix typos"
This reverts commit
e0957c6f4b1e81c27fda1de7fb7cbc9c585f5ac9.
Volker Lendecke [Fri, 11 Jul 2008 15:45:16 +0000 (17:45 +0200)]
Revert "Fix nonempty whitespace only lines"
This reverts commit
cc77db2acbc35cea58576f1e28c7a760a5e31609.
Volker Lendecke [Fri, 11 Jul 2008 15:45:09 +0000 (17:45 +0200)]
Revert "Tiny logic simplification: Remove an unnecessary else branch"
This reverts commit
6009ae329375b1c40e3d00df977ddccc8b5cc176.
Volker Lendecke [Fri, 11 Jul 2008 15:45:03 +0000 (17:45 +0200)]
Volker Lendecke [Fri, 11 Jul 2008 15:44:52 +0000 (17:44 +0200)]
Revert "Make use of sid_check_is_in_unix_users/groups"
This reverts commit
cd8e63b2b45402091d6d328b3c6ca593fc19ac92.
Volker Lendecke [Fri, 11 Jul 2008 15:44:44 +0000 (17:44 +0200)]
Revert "Don't scream, better explain a bit in comments"
This reverts commit
dcc39ed00453a075b23daece2844ca4817bfbfaf.
Volker Lendecke [Fri, 11 Jul 2008 15:44:35 +0000 (17:44 +0200)]
Revert "Fix indentation"
This reverts commit
c4e6de9e34e1ff76552ce6d4e72b343fb5f33306.
Volker Lendecke [Fri, 11 Jul 2008 15:44:25 +0000 (17:44 +0200)]
Revert "Pass NULL to gencache_get when we are not interested in the timeout value"
This reverts commit
16062dfc3dcc8f1ca0024a3ae21effb889c7ffc0.
Volker Lendecke [Fri, 11 Jul 2008 15:44:15 +0000 (17:44 +0200)]
Revert "Return timed out entries from gencache_get if timeout param != NULL"
This reverts commit
2954b2be563149380e1fae7fe088b98d6cbd42e7.
Volker Lendecke [Fri, 11 Jul 2008 15:44:09 +0000 (17:44 +0200)]
Revert "Remove gencache_[un]lock_entry"
This reverts commit
7a5a575ffe5196caecedc93970a25abfbe6f8059.
Volker Lendecke [Fri, 11 Jul 2008 15:43:54 +0000 (17:43 +0200)]
Revert "Remove an unused variable"
This reverts commit
454cb852e06fa3d8bdd0eebb3ebdb24b3d74ecd0.
Volker Lendecke [Fri, 11 Jul 2008 15:43:42 +0000 (17:43 +0200)]
Revert "Simplify idmap_cache_build_[s]idkey a bit"
This reverts commit
80932c0266ef73b8d0462c078a053444fff47f32.
Volker Lendecke [Fri, 11 Jul 2008 15:43:25 +0000 (17:43 +0200)]
Revert "Simplify idmap_cache_set() a bit"
This reverts commit
55b976ba93462c6885e8d89edd13c32fb5529944.
Volker Lendecke [Fri, 11 Jul 2008 15:43:17 +0000 (17:43 +0200)]
Revert "IDMAP_READ_CACHE_DATA_FMT_TEMPLATE is unused, remove it"
This reverts commit
2396d5d5d2f453f097f8ce77b640ad7e1d7e7c4c.
Volker Lendecke [Fri, 11 Jul 2008 15:43:07 +0000 (17:43 +0200)]
Revert "Slightly increase the default idmap cache time"
This reverts commit
448836d44d0468a74b962ba3c0b7d51de236374f.
Volker Lendecke [Fri, 11 Jul 2008 15:42:58 +0000 (17:42 +0200)]
Revert "Convert idmap_cache to gencache"
This reverts commit
0bf0434f22b0ea46fda3ccc4dd612adbc88dd4f2.
Volker Lendecke [Fri, 11 Jul 2008 15:42:48 +0000 (17:42 +0200)]
Revert "Make use of ADD_TO_ARRAY"
This reverts commit
81f334bd6da601a040f754c46705cfa2fd4f8c45.
Volker Lendecke [Fri, 11 Jul 2008 15:42:40 +0000 (17:42 +0200)]
Revert "Tiny logic simplification -- remove an else branch"
This reverts commit
01c8c7bbf6163d5c7733db0d8ecbccfe7e4fec7d.
Michael Adam [Fri, 11 Jul 2008 13:35:24 +0000 (15:35 +0200)]
build: fix build of libaddns shared lib : it needs socket_wrapper.
Michael
Michael Adam [Fri, 11 Jul 2008 12:38:22 +0000 (14:38 +0200)]
build: fix build of libaddns shared lib. symbols file was missing.
This symbols file is checked because mksyms script currently does
not support headers without exportet symbols...
Michael