ira/wip.git
13 years agoUpdate the developers documentation for the new vendor version options.
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>
(This used to be commit 815383a4178c51311f3c81632a0fa1d19e7098f4)

13 years agoUse the macro to call samba_version_string().
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>
(This used to be commit d2682295f55a18d526434062834c033aa18e794b)

13 years agoSimplify samba_version_string.
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>
(This used to be commit 8b9301fbc73f28c657ec81c605760a0ff7a1973a)

13 years agonetapi: use ConvertSidToStringSid in NetGetGroupInfo query.
Günther Deschner [Wed, 16 Jul 2008 14:42:21 +0000 (16:42 +0200)]
netapi: use ConvertSidToStringSid in NetGetGroupInfo query.

Guenther
(This used to be commit d9d0cf6411a29d456735e980f9ac8ad75f3edfbd)

13 years agonetapi: add NetGroupEnum example code.
Günther Deschner [Tue, 1 Jul 2008 18:12:43 +0000 (20:12 +0200)]
netapi: add NetGroupEnum example code.

Guenther
(This used to be commit 133ea72a996a1eefda1b6351277f415823db55fc)

13 years agonetapi: fill in NetGroupEnum_r().
Günther Deschner [Wed, 16 Jul 2008 23:06:29 +0000 (01:06 +0200)]
netapi: fill in NetGroupEnum_r().

Guenther
(This used to be commit 64700e09ce9417c0b0128cc016abd34ab92f3695)

13 years agonetapi: fix map_group_info_to_buffer for GROUP_INFO_3 change.
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
(This used to be commit f2875677194f440ffebf18e6f5171be948114353)

13 years agore-run make idl.
Günther Deschner [Wed, 16 Jul 2008 14:13:34 +0000 (16:13 +0200)]
re-run make idl.

Guenther
(This used to be commit d9e9e64ad9749361c898d7853906d1aaf2dad59c)

13 years agonetapi: make sid in GROUP_INFO_3 a pointer.
Günther Deschner [Wed, 16 Jul 2008 14:13:14 +0000 (16:13 +0200)]
netapi: make sid in GROUP_INFO_3 a pointer.

Guenther
(This used to be commit 84dc9bb89dedf6b283014307d317a3c4d315340b)

13 years agonetapi: add NetGroupEnum to public headers.
Günther Deschner [Tue, 1 Jul 2008 18:11:38 +0000 (20:11 +0200)]
netapi: add NetGroupEnum to public headers.

Guenther
(This used to be commit 4564581f9aaf4afd6c47c6d5a9a299bc5012244d)

13 years agonetapi: add skeleton for NetGroupEnum().
Günther Deschner [Tue, 1 Jul 2008 18:11:02 +0000 (20:11 +0200)]
netapi: add skeleton for NetGroupEnum().

Guenther
(This used to be commit 21a0d9d254d5c21c4bc9fe305e9df2126476f3f4)

13 years agore-run make idl.
Günther Deschner [Tue, 1 Jul 2008 18:10:00 +0000 (20:10 +0200)]
re-run make idl.

Guenther
(This used to be commit 1ae9ae839e2f9032bb30db377e0022112dee2419)

13 years agonetapi: add NetGroupEnum to IDL.
Günther Deschner [Tue, 1 Jul 2008 18:09:46 +0000 (20:09 +0200)]
netapi: add NetGroupEnum to IDL.

Guenther
(This used to be commit f2240192363e09a8182a468c8743ff031ecee04e)

13 years agonetapi: add ConvertSidToStringSid() for convenience of the callers.
Günther Deschner [Wed, 16 Jul 2008 13:22:04 +0000 (15:22 +0200)]
netapi: add ConvertSidToStringSid() for convenience of the callers.

Guenther
(This used to be commit b7633998ed76c7bb2faa803841fafe9126a39847)

13 years agoutil: add policy_hnd_equal().
Günther Deschner [Tue, 1 Jul 2008 18:09:09 +0000 (20:09 +0200)]
util: add policy_hnd_equal().

Guenther
(This used to be commit 6aca163e898bfeeff824725bb27b2ef4f7b729f9)

13 years agonetapi: fix documentation for NetGroupSetInfo.
Günther Deschner [Wed, 16 Jul 2008 14:20:42 +0000 (16:20 +0200)]
netapi: fix documentation for NetGroupSetInfo.

Guenther
(This used to be commit 7b4f84793b39f2940381bccae27f65275cc39572)

13 years agoThis patchset comprises a number of cleanups for the cifs upcall
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.
(This used to be commit c633f10d9e78327664e6bca51f66756bcf0505a6)

13 years agoIn api_pipe_bind_req(), check for the iface id, not the pipe name
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"
(This used to be commit 654f8de8497aff29f9b1f1822b6a8e734ff329e0)

13 years agoAdd ndr_syntax_id_equal()
Volker Lendecke [Wed, 16 Jul 2008 20:18:43 +0000 (22:18 +0200)]
Add ndr_syntax_id_equal()
(This used to be commit 5fc90908deb417130af122941e084542304a2543)

13 years agoIn api_pipe_bind_req(), decode the bind request before checking the pipe
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
(This used to be commit 8be41382ed9bb4fb44a1846fff2c7652388e4f28)

13 years agoAllow %u parameters for print job username - use advanced sub
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.
(This used to be commit 9e6760cfeaf77e80df3b84004090d934f3c2d574)

13 years agoSequel to c10aad9f13: Ignore whitespaces in parametric options
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...
(This used to be commit 0207f99d3f02bd8ff5dadc1574fe13b46c3e09a3)

13 years agoTiny logic simplification: Remove an indentation by using an early return;
Volker Lendecke [Wed, 16 Jul 2008 14:05:46 +0000 (16:05 +0200)]
Tiny logic simplification: Remove an indentation by using an early return;
(This used to be commit 37dba0c192ec7d4105465beae0d6e8598c7dbb7a)

13 years agoRemove a silly "typedef struct _param_opt_struct param_opt_struct"
Volker Lendecke [Wed, 16 Jul 2008 13:49:28 +0000 (15:49 +0200)]
Remove a silly "typedef struct _param_opt_struct param_opt_struct"
(This used to be commit 78801431c896f1e2007d652b611c2ce1108e1023)

13 years agoThe compatibility function also should have a const buffer pointer
Derrell Lipman [Wed, 16 Jul 2008 14:45:09 +0000 (10:45 -0400)]
The compatibility function also should have a const buffer pointer
(This used to be commit b731447ec539d454002300fd755dddcad2351d6c)

13 years agoThe buf in the smbclient write function should be const.
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>
(This used to be commit 36e5df59544de9df140ca40ad0efd77afd8e1468)

13 years agoMerge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into v3-3-test
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
(This used to be commit 11d74fc51c637b8129304b5de85bbe02a86a69ce)

13 years agoStatic libsmbclient library needs to include all objects
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
(This used to be commit 6c33c620072d641fc19ca0224c16af75f6cd7e9e)

13 years agoFix typos.
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
(This used to be commit e1ade80f468e8ed827f9d4fd035d79546fa0ee0a)

13 years agolibnet_dssync: use ctr[1|6]->more_data
Stefan Metzmacher [Wed, 16 Jul 2008 13:30:03 +0000 (15:30 +0200)]
libnet_dssync: use ctr[1|6]->more_data

metze
(This used to be commit 6b7ddb6d664f5f3b62161cdb3abf12633b263a64)

13 years agorerun 'make idl' after drsuapi.idl changes
Stefan Metzmacher [Wed, 16 Jul 2008 13:26:55 +0000 (15:26 +0200)]
rerun 'make idl' after drsuapi.idl changes

metze
(This used to be commit 512912e1316a7d3d11a2434efa568d9ec50914b4)

13 years agodrsuapi.idl: fix unknowns in drsuapi_DsGetNCChangesCtr*
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)
(This used to be commit 11ab230832b48f2ff7f2c9319168b6ae53590b61)

13 years agodrsuapi.idl: fix unknowns in drsuapi_DsReplicaObject*
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)
(This used to be commit 7488eda7a33f5ebe58a1c1217b7ac7e17e67946d)

13 years agodrsuapi.idl: fix unknowns in drsuapi_DsReplicaCursor[2]
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)
(This used to be commit c3ebb9ae001c1c2d74233b3f3e33dc8fd57098b6)

13 years agodrsuapi.idl: correctly handle xpress compressed payload
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)
(This used to be commit 0a24fa0dc3514ef19b84d41055682954a22d3079)

13 years agodrsuapi.idl: remove some unknows from DsGetNCChanges()
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)
(This used to be commit 6a33be98b8dd4223491f1cbed9a1af2bc44e7356)

13 years agoman pages: Fix typos and add improvements.
Christoph Zauner [Fri, 11 Jul 2008 13:50:25 +0000 (15:50 +0200)]
man pages: Fix typos and add improvements.
(This used to be commit 060ff6d8d4e61f3ce89f980182413852cc5719be)

13 years agoRelease still reachable memory if the smbclient context is freed.
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>
(This used to be commit 7a65053bc8579b4f56045fb2c658a91a4af0dfea)

13 years agoFix from Volodymyr Khomenko <Volodymyr.Khomenko@exanet.com>. Make ntimes
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.
(This used to be commit 613f2849ad2dc25fe2e5f8a76d69797b5b302bb9)

13 years agoFix swat. Bug #5613.
Jeremy Allison [Tue, 15 Jul 2008 21:37:48 +0000 (14:37 -0700)]
Fix swat. Bug #5613.
Jeremy
(This used to be commit 15920f838835f5dbbac8712202267c2a99237686)

13 years agofix build warning.
Günther Deschner [Tue, 15 Jul 2008 21:05:13 +0000 (23:05 +0200)]
fix build warning.

Guenther
(This used to be commit 507660706901a79544d436046127947e4baa7e52)

13 years agonetapi: fix vim(?)-typo
Michael Adam [Tue, 15 Jul 2008 20:46:12 +0000 (22:46 +0200)]
netapi: fix vim(?)-typo

Michael
(This used to be commit 7a7bddd75413dba3c0c43fab68a115cf0445f12b)

13 years agonetapi: Correctly increase idx when displaying user information
Kai Blin [Wed, 9 Jul 2008 08:39:24 +0000 (10:39 +0200)]
netapi: Correctly increase idx when displaying user information
(This used to be commit 5fad9de2507b88820149def31faa28e5e45f7b5f)

13 years agodbwrap: don't panic in db_open_trans() if called with TDB_CLEAR_IF_FIRST.
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
(This used to be commit 1002507b56a13420d8178c5397610edd839a7584)

13 years agodbwrap: don't panic in db_open_trans() when attaching to ctdb fails.
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
(This used to be commit 308fc7d5bf5f5ccfc73677b052a4e6ecede25921)

13 years agodbwrap: don't panic in db_open() when attaching to ctdb fails.
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
(This used to be commit b9c008d9bd8b8119007e7ad03a40235998af4f5c)

13 years agoregistry: bump debug level to 1 in regdb_init() if storing version string fails.
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
(This used to be commit b5829e04eaf2408858b34f53b849aaf8b969a925)

13 years agoregistry: bump debug level to 1 in regdb_init() if opening the registry fails.
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
(This used to be commit 111d802b5c0dfdf556f736b6c53df74e077a6238)

13 years agodbwrap: when clustering = yes, don't fall back to db_open_tdb in db_open_trans.
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
(This used to be commit 013d29c70438bfd43bd11cbb13ba707b256f9b18)

13 years agodbwrap: when clustering = yes, don't fall back to db_open_tdb in db_open
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
(This used to be commit 33188a991f7e2f8dc1b5beed1dde1b7f77403e1a)

13 years agotestparm: allow the default debug level of 2 to be changed from the command line.
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
(This used to be commit 5a0883a7f28538fad542293e1d9361e8c4bed1fd)

13 years agopopt: add a popt_common_debuglevel set of options providing -d|--debuglevel
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
(This used to be commit e7d08b673066a63aaa7ab54ac59566ae8a975672)

13 years agotestparm: refactor the per-share logic checks out into do_per_share_checks().
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
(This used to be commit cd5d13dec0153c64d541e85bd13138b738cf50af)

13 years agotestparm: skip the per-share logic checks when --skip-logic-checks is specified.
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
(This used to be commit 6cafee7e6ae02a32a9f2ddf313d2a20224fa22fe)

13 years agotestparm: rename -g|--skip-global-ckecks to -l|--skip-logic-checks
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
(This used to be commit 5b8a4c33482917a1ef7071df224957ba831d853a)

13 years agotestsuite: fix bug #5594 by using the new --skip-global-ckecks switch
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
(This used to be commit 32f4b1443af12026c419684be45a7d8b96ccfaac)

13 years agotestparm: add a switch --skip-global-checks.
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
(This used to be commit eeb018fad65c19804a4e96ea949fc2c64883439e)

13 years agobuild: use $(PAM_WINBIND_EXTRA_LIBS) instead of @PAM_WINBIND_EXTRA_LIBS@ in rules.
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
(This used to be commit 8897aaec32ef7cb4dab37a70754c8596409fed00)

13 years agobuild: use $(WINBIND_NSS_PTHREAD) instead of @WINBIND_NSS_PTHREAD@ in rules.
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
(This used to be commit bf619d019225a7aaf17e213e65c5734e68094142)

13 years agobuild: use $(WINBIND_NSS_EXTRA_LIBS) instead of @WINBIND_NSS_EXTRA_LIBS@ in rules.
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
(This used to be commit 603b83c980a73e13f7dad35a28830105358c7544)

13 years agobuild: use $(LDAP_LIBS) instead of @LDAP_LIBS@ in rules.
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
(This used to be commit 1f0feb3d12aa93400e8ba604df36a00d7cfaa07a)

13 years agobuild: use $(LIBNETAPI_LIBS) instead of @LIBNETAPI_LIBS@ in rules.
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
(This used to be commit cd3c667bdaa8c2b09debbfd8c3389cf9f6d690e9)

13 years agobuild: link in $(WINBIND_LIBS) instead of @LIBWBCLIENT_SHARED@
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
(This used to be commit 73582e4c5168301696cdca569167402f17a67218)

13 years agobuild: use $(LIBTDB_LIBS) instead of @LIBTDB_LIBS@ in rules.
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
(This used to be commit 4330a2ab1308bd2b1508d5126146742540219520)

13 years agobuild: use $(LIBTALLOC_LIBS) instead of @LIBTALLOC_LIBS@ in rules.
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
(This used to be commit 1719fd3ccc110b90908410c07aee862a8758e683)

13 years agobuild: use $(POPT_LIBS) instad of @POPT_LIBS@ in rules.
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
(This used to be commit 87f56f28800d2045e70739a8edcd359ddee662a7)

13 years agobuild: use $(WINBIND_LIBS) instead of @WINBIND_LIBS@ in rules.
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
(This used to be commit aff6822c3ab3ea46d928570f03f681f53ccf3d50)

13 years agoAdd fix from Simo for bug #5540 - missing code to substitute
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.
(This used to be commit c4a137e9789b06047ce53e5828fb5e1bb76aca06)

13 years agoFix typo.
Karolin Seeger [Mon, 14 Jul 2008 14:40:36 +0000 (16:40 +0200)]
Fix typo.

retieve -> retrieve

Karolin
(This used to be commit 37c64130701ab13b6f34998ac17fec2d128c2e08)

13 years agoFix regression introduced with 4086ef15b395f1a536fb669af2103a33ecc14de4
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)
(This used to be commit 4436272dd4d6cdd223b1dc3d217a97cbe3bc887b)

13 years agoRemove one nested level by reversing if condition
Simo Sorce [Sun, 13 Jul 2008 01:23:16 +0000 (21:23 -0400)]
Remove one nested level by reversing if condition
(This used to be commit 657a2f20dd4d422d45d7e054f463641cdff16816)

13 years agoAdd back mem leak fixes
Simo Sorce [Sun, 13 Jul 2008 01:13:44 +0000 (21:13 -0400)]
Add back mem leak fixes
(This used to be commit 2adea093c5709e128bdde1e37c6a897db7cbc3b1)

13 years agoMake again idmap_init static
Simo Sorce [Sun, 13 Jul 2008 01:13:05 +0000 (21:13 -0400)]
Make again idmap_init static
(This used to be commit e113b7c13f2457676fdec9e52f09046286e25b60)

13 years agoRemove an unused extern reference in vfs_aixacl2.c
Volker Lendecke [Sun, 6 Jul 2008 10:19:28 +0000 (12:19 +0200)]
Remove an unused extern reference in vfs_aixacl2.c
(This used to be commit 1dfb9242d1b6000d4b75327adf1a0a0882f3ea6c)

13 years agoRevert "Fix two memory leaks in an error path in idmap.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.
(This used to be commit d0b34cbb4eba2b6543402af2c9f95407546cefad)

13 years agoRevert "Make idmap_init() static"
Volker Lendecke [Fri, 11 Jul 2008 15:46:00 +0000 (17:46 +0200)]
Revert "Make idmap_init() static"

This reverts commit c8d1bbfddce41cd6bf37dd0a622ef3437a24b492.
(This used to be commit 5cded3da00c0af40a98d86011507553f97fe6a22)

13 years agoRevert "Fix typo"
Volker Lendecke [Fri, 11 Jul 2008 15:45:54 +0000 (17:45 +0200)]
Revert "Fix typo"

This reverts commit fe58926283b51910d8587e32bb11aa681b9a27d3.
(This used to be commit fe216bff1d7d805403cbfb3eaf381c2a57a254d7)

13 years agoRevert "Fix a debug msg, this was probably a leftover from gencache"
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.
(This used to be commit b826420c3adfd24a01080d25f8a61d33d05722c8)

13 years agoRevert "Fix indentation"
Volker Lendecke [Fri, 11 Jul 2008 15:45:40 +0000 (17:45 +0200)]
Revert "Fix indentation"

This reverts commit 954556b527aa652f9a46f0d48834e92befb3c5f9.
(This used to be commit 1b1124bcb9043deb495897467e4cd3ae8a07784b)

13 years agoRevert "Fix nonempty whitespace only lines"
Volker Lendecke [Fri, 11 Jul 2008 15:45:31 +0000 (17:45 +0200)]
Revert "Fix nonempty whitespace only lines"

This reverts commit 0da9d0d0f9662d8bd2f370f764d5a875e11b3068.
(This used to be commit b2f7bd6a05afcbba076f78d0caeaf154854db7de)

13 years agoRevert "fix typos"
Volker Lendecke [Fri, 11 Jul 2008 15:45:23 +0000 (17:45 +0200)]
Revert "fix typos"

This reverts commit e0957c6f4b1e81c27fda1de7fb7cbc9c585f5ac9.
(This used to be commit 0d2fc3c394d300d906cdcd14f1abf8e6f84beff7)

13 years agoRevert "Fix nonempty whitespace only lines"
Volker Lendecke [Fri, 11 Jul 2008 15:45:16 +0000 (17:45 +0200)]
Revert "Fix nonempty whitespace only lines"

This reverts commit cc77db2acbc35cea58576f1e28c7a760a5e31609.
(This used to be commit ed5b516c2027d78011cdaa7cbbc01bb01e766381)

13 years agoRevert "Tiny logic simplification: Remove an unnecessary else branch"
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.
(This used to be commit b71ce00796efdd27b593bbbc36f5cbba23fe9240)

13 years agoRevert "Fix typo"
Volker Lendecke [Fri, 11 Jul 2008 15:45:03 +0000 (17:45 +0200)]
Revert "Fix typo"

This reverts commit fe79c8a5b726754703626ca0bff57074274c98c7.
(This used to be commit 62835f8d7e824a5d469ec5f79e4db739e6602f4f)

13 years agoRevert "Make use of sid_check_is_in_unix_users/groups"
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.
(This used to be commit 061e55d4f48d269dc45fad6739e0872501b9433d)

13 years agoRevert "Don't scream, better explain a bit in comments"
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.
(This used to be commit 26ca09a3570a0df051d042bef586ea57ad9f198c)

13 years agoRevert "Fix indentation"
Volker Lendecke [Fri, 11 Jul 2008 15:44:35 +0000 (17:44 +0200)]
Revert "Fix indentation"

This reverts commit c4e6de9e34e1ff76552ce6d4e72b343fb5f33306.
(This used to be commit fa9b128e93cca45b9516917f73f586197e7637f3)

13 years agoRevert "Pass NULL to gencache_get when we are not interested in the timeout value"
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.
(This used to be commit 114ca8577568cdb5a81d8734f1d1d096f1b36c36)

13 years agoRevert "Return timed out entries from gencache_get if timeout param != NULL"
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.
(This used to be commit 77ab2fb306a7ad59447a3e1591c2af03447e09c5)

13 years agoRevert "Remove gencache_[un]lock_entry"
Volker Lendecke [Fri, 11 Jul 2008 15:44:09 +0000 (17:44 +0200)]
Revert "Remove gencache_[un]lock_entry"

This reverts commit 7a5a575ffe5196caecedc93970a25abfbe6f8059.
(This used to be commit 62e444dd50ae974c2ab9a553cdf7f188a8f2c538)

13 years agoRevert "Remove an unused variable"
Volker Lendecke [Fri, 11 Jul 2008 15:43:54 +0000 (17:43 +0200)]
Revert "Remove an unused variable"

This reverts commit 454cb852e06fa3d8bdd0eebb3ebdb24b3d74ecd0.
(This used to be commit cae8ec3199d5b0ffe0bfb6f15adaa5a12343c763)

13 years agoRevert "Simplify idmap_cache_build_[s]idkey a bit"
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.
(This used to be commit 847609a148b653b9e3a24b2bc9e1636c6ef0db84)

13 years agoRevert "Simplify idmap_cache_set() a bit"
Volker Lendecke [Fri, 11 Jul 2008 15:43:25 +0000 (17:43 +0200)]
Revert "Simplify idmap_cache_set() a bit"

This reverts commit 55b976ba93462c6885e8d89edd13c32fb5529944.
(This used to be commit 23edc4ec0ab1de60a864de01c0ff90ea1378231d)

13 years agoRevert "IDMAP_READ_CACHE_DATA_FMT_TEMPLATE is unused, remove it"
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.
(This used to be commit 447d77949f99fdc5fc2bea6ddc27176d3a0871a9)

13 years agoRevert "Slightly increase the default idmap cache time"
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.
(This used to be commit a9b29ab6b7503d6d30553a17219603a4f4cd3df9)

13 years agoRevert "Convert idmap_cache to gencache"
Volker Lendecke [Fri, 11 Jul 2008 15:42:58 +0000 (17:42 +0200)]
Revert "Convert idmap_cache to gencache"

This reverts commit 0bf0434f22b0ea46fda3ccc4dd612adbc88dd4f2.
(This used to be commit cc536677735ecc318cbd2176ce53b124f44d85a0)

13 years agoRevert "Make use of ADD_TO_ARRAY"
Volker Lendecke [Fri, 11 Jul 2008 15:42:48 +0000 (17:42 +0200)]
Revert "Make use of ADD_TO_ARRAY"

This reverts commit 81f334bd6da601a040f754c46705cfa2fd4f8c45.
(This used to be commit d4d106776af3f475d46a4dd78794b7b48a3572af)

13 years agoRevert "Tiny logic simplification -- remove an else branch"
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.
(This used to be commit b0fe0c7ac18d4f47ad4a218114de7bab7a3f19de)

13 years agobuild: fix build of libaddns shared lib : it needs socket_wrapper.
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
(This used to be commit 58bc04b31b15c36505c5ecb2d8373e9033972390)

13 years agobuild: fix build of libaddns shared lib. symbols file was missing.
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
(This used to be commit 1fa57b47e8f8da33a5713096c187bafb3a6c5b79)