samba.git
15 years agonetapi: add libnetapi_samr_close_builtin_handle().
Günther Deschner [Thu, 17 Jul 2008 17:56:25 +0000 (19:56 +0200)]
netapi: add libnetapi_samr_close_builtin_handle().

Guenther
(This used to be commit 05cad0d8b4205c052c607b1d36c121bb4c226ab1)

15 years agonetapi: add libnetapi_samr_close_domain/connect_handle.
Günther Deschner [Thu, 17 Jul 2008 17:47:59 +0000 (19:47 +0200)]
netapi: add libnetapi_samr_close_domain/connect_handle.

Guenther
(This used to be commit b042787ec61bb5cb98f882ac7be8df1691a78921)

15 years agonetapi: add libnetapi_private_ctx and init function.
Günther Deschner [Tue, 1 Jul 2008 18:14:36 +0000 (20:14 +0200)]
netapi: add libnetapi_private_ctx and init function.

Guenther
(This used to be commit 45fff2d37ae21c76d100f66d9154f6add446f380)

15 years agonetapi: fix NetGroupGetInfo() against NT4.
Günther Deschner [Thu, 17 Jul 2008 23:11:32 +0000 (01:11 +0200)]
netapi: fix NetGroupGetInfo() against NT4.

Guenther
(This used to be commit c0fea9c4d0d3d297972c052c17b9be6d0530e098)

15 years agonetapi: fix NetGroupDel() against NT4.
Günther Deschner [Thu, 17 Jul 2008 23:11:08 +0000 (01:11 +0200)]
netapi: fix NetGroupDel() against NT4.

Guenther
(This used to be commit 55035d7240bd163abb155239029a03f399c8f41f)

15 years agonetapi: fix NetUserAdd() against NT4.
Günther Deschner [Thu, 17 Jul 2008 23:10:31 +0000 (01:10 +0200)]
netapi: fix NetUserAdd() against NT4.

Guenther
(This used to be commit 42c44d18eeb4d37e7c2e1209c421b3ec3a07ae28)

15 years agonetapi: typo in NetGroupEnum example code.
Günther Deschner [Thu, 17 Jul 2008 23:39:27 +0000 (01:39 +0200)]
netapi: typo in NetGroupEnum example code.

Guenther
(This used to be commit b0c44d7e6cf321f84bd7b9cdb25635304bbfea81)

15 years agonetapi: fix build warning for ConvertSidToStringSid().
Günther Deschner [Fri, 18 Jul 2008 14:42:07 +0000 (16:42 +0200)]
netapi: fix build warning for ConvertSidToStringSid().

Guenther
(This used to be commit 5136daec0a35e7f099477409009672ddd960b684)

15 years agokerberos: make smb_krb5_kt_add_entry() static.
Günther Deschner [Fri, 18 Jul 2008 14:41:34 +0000 (16:41 +0200)]
kerberos: make smb_krb5_kt_add_entry() static.

Guenther
(This used to be commit 04b1847f87d166819dfe0f8c27c8cd9fc062544f)

15 years agolibads: add prototype for ads_connect_gc().
Günther Deschner [Fri, 18 Jul 2008 14:39:24 +0000 (16:39 +0200)]
libads: add prototype for ads_connect_gc().

Guenther
(This used to be commit 0122e4941db33f149a64d7e17286c0ba81247a19)

15 years agolibnetjoin: make libnet_join_rollback() static.
Günther Deschner [Fri, 18 Jul 2008 14:29:05 +0000 (16:29 +0200)]
libnetjoin: make libnet_join_rollback() static.

Guenther
(This used to be commit f1cc39e3759357344cb7abcb6bfa9d3e3f4969e6)

15 years agoFix typos.
Karolin Seeger [Fri, 18 Jul 2008 13:31:36 +0000 (15:31 +0200)]
Fix typos.

the user have -> has

Karolin
(This used to be commit 1ee2ad1051e6076709ef8ed2f45bebff10b0c3cf)

15 years agoUse LDAP macros instead of attribute names.
Karolin Seeger [Fri, 18 Jul 2008 11:15:05 +0000 (13:15 +0200)]
Use LDAP macros instead of attribute names.

Karolin
(This used to be commit 7dae8b04f126d0ac86a452dcf373a690ee687ead)

15 years agorpcclient: add ability to fetch single objects with dsgetncchanges command
Michael Adam [Fri, 18 Jul 2008 13:10:51 +0000 (15:10 +0200)]
rpcclient: add ability to fetch single objects with dsgetncchanges command

call as "dsgetncchanges <object_dn> single"

after calling "seal"

Michael
(This used to be commit c9ab2953c5af0dd3cddbe6c4cdd2b8da2734aa84)

15 years agoSimplify the RPC servers: remove get_pipe_fns
Volker Lendecke [Tue, 15 Jul 2008 22:03:49 +0000 (00:03 +0200)]
Simplify the RPC servers: remove get_pipe_fns

The per-server xxx_get_pipe_fns functions can go once all the RPC servers are
converted
(This used to be commit 6aa2391cbe1cbda8269ded767117f53d83b243e1)

15 years agorpcclient: use level 5 or level 8 in dsgetncchanges command based on bind-info.
Michael Adam [Thu, 17 Jul 2008 21:27:38 +0000 (23:27 +0200)]
rpcclient: use level 5 or level 8 in dsgetncchanges command based on bind-info.

Michael
(This used to be commit 3ab2e7fada1f31e87337065b5bc30a7b92a6d117)

15 years agonet rpc vampire: eliminate missing proto warning by making rpc_vampire_keytab_ds_inte...
Michael Adam [Thu, 17 Jul 2008 11:06:46 +0000 (13:06 +0200)]
net rpc vampire: eliminate missing proto warning by making rpc_vampire_keytab_ds_internals static.

Michael
(This used to be commit 772a76ceb3cd1c041db3ebb5abe449ac6180070e)

15 years agodssync: fix missing prototype warning by including the proper header.
Michael Adam [Wed, 16 Jul 2008 23:03:57 +0000 (01:03 +0200)]
dssync: fix missing prototype warning by including the proper header.

Michael
(This used to be commit 7d7b63e89bb2a067783362a24d81e44e0d67e2ec)

15 years agoDocument the streams modules
Volker Lendecke [Fri, 18 Jul 2008 09:18:04 +0000 (11:18 +0200)]
Document the streams modules
(This used to be commit ff158a11263fd9fd46131d3451293d8d92fa0cca)

15 years agoChange the directory parameter in streams_depot to become consistent
Volker Lendecke [Fri, 18 Jul 2008 09:17:33 +0000 (11:17 +0200)]
Change the directory parameter in streams_depot to become consistent

This is not built by default and not documented in 3.2.0, so I doubt this will
break any setups :-)
(cherry picked from commit ca2dfb372cfd9096407fca67a6b65bceda6f72b6)
(This used to be commit 9393cdda97a886f4bdd187d76461724edeec9ed3)

15 years agosmbldap: Fix typo in debug message.
Karolin Seeger [Fri, 18 Jul 2008 07:38:03 +0000 (09:38 +0200)]
smbldap: Fix typo in debug message.

Karolin
(This used to be commit 6e9e85b897431d7378396aada2c32ae470af0edd)

15 years agoFrom Jim McDonough
Jeremy Allison [Fri, 18 Jul 2008 03:10:18 +0000 (20:10 -0700)]
From Jim McDonough

In reloading the smb.conf, if a "log file" is specified in smb.conf,
winbind children will overwrite the logfile name to be the same as the
parent.

Jeremy.
(This used to be commit 62d319cc1a2ef891866b2ddbd22f3ed0944356af)

15 years agogitignore: ignore the proper genreated library symbol files.
Michael Adam [Thu, 17 Jul 2008 19:01:51 +0000 (21:01 +0200)]
gitignore: ignore the proper genreated library symbol files.

Michael
(This used to be commit 2a45f1a87c7c9a8879c3308d59d92f6c4985954d)

15 years agorpcclient: for testing, add dsgetncchanges command.
Günther Deschner [Thu, 17 Jul 2008 16:53:00 +0000 (18:53 +0200)]
rpcclient: for testing, add dsgetncchanges command.

Guenther
(This used to be commit 54f14b382441491c09daa76960f54a2d090a8bd6)

15 years agoallow SID with 0 in subauthority to be converted properly
Herb Lewis [Thu, 17 Jul 2008 16:23:30 +0000 (09:23 -0700)]
allow SID with 0 in subauthority to be converted properly
from string representation.
(This used to be commit 23f338d1da96fd4ea3283bc96ca7d496b23bf854)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)

15 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)