sfrench/samba-autobuild/.git
13 years agoMerge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
Alexander Bokovoy [Wed, 16 Jan 2008 20:24:44 +0000 (23:24 +0300)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test

13 years agoRevert "default to tdbsam instead of smbpasswd"
Volker Lendecke [Wed, 16 Jan 2008 20:26:16 +0000 (21:26 +0100)]
Revert "default to tdbsam instead of smbpasswd"

This reverts commit ab8ff39fd51929aae2f4088ca5b1d67e5cb7099e.

13 years agoDon't try ftruncate when the tdb is opened read-only
Volker Lendecke [Wed, 16 Jan 2008 20:18:26 +0000 (21:18 +0100)]
Don't try ftruncate when the tdb is opened read-only

Tridge, Jeremy, please check!

Thanks,

Volker

13 years agoNext try to fix the max dead record calculation
Volker Lendecke [Wed, 16 Jan 2008 20:04:52 +0000 (21:04 +0100)]
Next try to fix the max dead record calculation

13 years agodefault to tdbsam instead of smbpasswd
Volker Lendecke [Wed, 16 Jan 2008 19:34:45 +0000 (20:34 +0100)]
default to tdbsam instead of smbpasswd

13 years agoFix an uninitialized variable warning
Volker Lendecke [Wed, 16 Jan 2008 19:31:02 +0000 (20:31 +0100)]
Fix an uninitialized variable warning

13 years agoFix some C++ warnings
Volker Lendecke [Wed, 16 Jan 2008 19:29:41 +0000 (20:29 +0100)]
Fix some C++ warnings

13 years agoFix a missing prototype warning
Volker Lendecke [Wed, 16 Jan 2008 19:25:57 +0000 (20:25 +0100)]
Fix a missing prototype warning

13 years agoMerge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-simo
Simo Sorce [Wed, 16 Jan 2008 17:06:34 +0000 (12:06 -0500)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-simo

13 years agoAdd "config backend" to the parameters forbidden in registry config.
Michael Adam [Wed, 16 Jan 2008 16:31:44 +0000 (17:31 +0100)]
Add "config backend" to the parameters forbidden in registry config.

Make registry based configs more fool-proof.

Michael

13 years agoAdd my (C) to loadparm.c.
Michael Adam [Wed, 16 Jan 2008 16:15:08 +0000 (17:15 +0100)]
Add my (C) to loadparm.c.

I think now that I have changed some substantial logic,
I should confess.... :-)

Michael

13 years agoRemove special semantics of "include = registry" from loadparm.c
Michael Adam [Wed, 16 Jan 2008 16:09:07 +0000 (17:09 +0100)]
Remove special semantics of "include = registry" from loadparm.c

This is now replaced by "config backend = registry".

Michael

13 years agoUse lp_config_backend_is_registry() instead of lp_include_registry_globals().
Michael Adam [Wed, 16 Jan 2008 16:05:38 +0000 (17:05 +0100)]
Use lp_config_backend_is_registry() instead of lp_include_registry_globals().

Michael

13 years agoAdd utility function lp_config_backend_is_registry().
Michael Adam [Wed, 16 Jan 2008 16:03:21 +0000 (17:03 +0100)]
Add utility function lp_config_backend_is_registry().

So external callers can determine if we are running on
registry config without knowing the internals.

Michael

13 years agoInitialise Globals.ConfigBackend from global var config_backend.
Michael Adam [Wed, 16 Jan 2008 15:58:29 +0000 (16:58 +0100)]
Initialise Globals.ConfigBackend from global var config_backend.

and use lp_config_backend() instead of config_backend.

Michael

13 years agoAdd handling of [homes] and [printers] via registry shares.
Michael Adam [Wed, 16 Jan 2008 15:40:59 +0000 (16:40 +0100)]
Add handling of [homes] and [printers] via registry shares.

Now homes and printers shares can be accessed through the
registry meachanism on demand in pure registry configurations
with "config backend = registry" without the need to
have a special handler for these two.

Michael

13 years agoAdd config parameter "config backend = registry".
Michael Adam [Wed, 16 Jan 2008 15:18:28 +0000 (16:18 +0100)]
Add config parameter "config backend = registry".

This adds a new config parameter "config backend" that can have
values "file" (default) and "registry". When lp_load() encounters
a "config backend = registry", then all config read up to that
point is discarded and globals are read from registry.

This is done in suche a way that as with "config file",
there is no way back to non-registry config during the
lifetime of a process: The file_list_changed mechanism
does not look at files anymore once config backend is
set to registry. This is modelled after the behaviour
of the "config file" option.

Note that only the global section is read by lp_load().
The shares are handled by the registry shares mechanism,
thus allowing for a smaller memory footprint since
share definitions are read on demand.

This new parameter is intended as a substitute of the
previously installed special semantics of "include = registry"
which allows for messed up mixed configurations.
This parameter (which has not yet been released) will
vanish next.

Michael

13 years agoAdd "MSDFS options" separator to parm_table.
Michael Adam [Tue, 15 Jan 2008 12:46:02 +0000 (13:46 +0100)]
Add "MSDFS options" separator to parm_table.

Michael

13 years agoRe-order an option block in parm_table to re-unite the misc options.
Michael Adam [Tue, 15 Jan 2008 12:44:51 +0000 (13:44 +0100)]
Re-order an option block in parm_table to re-unite the misc options.

Michael

13 years agoMerge branch 'ctdb-merge' into v3-2-test
Alexander Bokovoy [Wed, 16 Jan 2008 15:53:16 +0000 (18:53 +0300)]
Merge branch 'ctdb-merge' into v3-2-test

13 years agoMerge lsarpc.idl from samba4 and rerun make idl.
Günther Deschner [Wed, 16 Jan 2008 15:31:49 +0000 (16:31 +0100)]
Merge lsarpc.idl from samba4 and rerun make idl.

Guenther

13 years agoAdd lsa_PolicyAuditEventType and lsa_PolicyAuditPolicy enums from samba3 to IDL.
Günther Deschner [Wed, 16 Jan 2008 15:01:50 +0000 (16:01 +0100)]
Add lsa_PolicyAuditEventType and lsa_PolicyAuditPolicy enums from samba3 to IDL.

Guenther

13 years agoMake resolve_ads() static.
Günther Deschner [Wed, 16 Jan 2008 14:52:53 +0000 (15:52 +0100)]
Make resolve_ads() static.

Guenther

13 years agoFix memleak in ads_build_path().
Günther Deschner [Wed, 16 Jan 2008 14:51:52 +0000 (15:51 +0100)]
Fix memleak in ads_build_path().

Guenther

13 years agoAdds support for cifs.resolver upcall.
Igor Mammedov [Wed, 19 Dec 2007 14:48:43 +0000 (17:48 +0300)]
Adds support for cifs.resolver upcall.

Here is a patch for userspace cifs.spnego handler that adds support for cifs.resolver
upcall used in DFS code.
Any comments are appreciated.

#############################

Cifs upcall with key type cifs.resolver is used for resolving
server names in handling DFS refferals.

Signed-off-by: Igor Mammedov <niallain@gmail.com>
13 years agoMerge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
Derrell Lipman [Wed, 16 Jan 2008 14:41:43 +0000 (14:41 +0000)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test

13 years agoModify testread example to loop using same context.
Derrell Lipman [Wed, 16 Jan 2008 14:41:11 +0000 (14:41 +0000)]
Modify testread example to loop using same context.

There's been a problem seen where open/read/close a number of times causes
open failures eventually.  This program has been modified to create the
context once and then loop requesting file names to open/read/close.

This program also demonstrates the current error in cli_read() where it
returns an error instead of length 0 upon end of file.

Derrell

13 years agoReplace GetTimeOfDay() with gettimeofday() in example program.
Derrell Lipman [Wed, 16 Jan 2008 14:37:40 +0000 (14:37 +0000)]
Replace GetTimeOfDay() with gettimeofday() in example program.

GetTimeOfDay() seems to no longer be exported.  For the smbsh example, just
use the native gettimeofday() for now.

13 years agoAdd a (very!) trivial cache to the example authentication callback.
Derrell Lipman [Wed, 16 Jan 2008 14:35:44 +0000 (14:35 +0000)]
Add a (very!) trivial cache to the example authentication callback.

13 years agoConvert old sid-string handling in idmap_tdb2 to a new one
Alexander Bokovoy [Wed, 16 Jan 2008 13:50:46 +0000 (16:50 +0300)]
Convert old sid-string handling in idmap_tdb2 to a new one

13 years agoFix a crash bug in nt_printer_publish_ads
Volker Lendecke [Wed, 16 Jan 2008 10:39:20 +0000 (11:39 +0100)]
Fix a crash bug in nt_printer_publish_ads

Reported by Martin Zielinski <mz@seh.de>

13 years agoFix (non-activated) _wkssvc_NetrJoinDomain2 server code.
Günther Deschner [Wed, 16 Jan 2008 10:02:52 +0000 (11:02 +0100)]
Fix (non-activated) _wkssvc_NetrJoinDomain2 server code.

Guenther

13 years agoAutofetch domain_sid while unjoining in libnetjoin.
Günther Deschner [Wed, 16 Jan 2008 09:56:40 +0000 (10:56 +0100)]
Autofetch domain_sid while unjoining in libnetjoin.

Guenther

13 years agoNicen some error strings in libnetjoin.
Günther Deschner [Wed, 16 Jan 2008 09:48:11 +0000 (10:48 +0100)]
Nicen some error strings in libnetjoin.

Guenther

13 years agoAvoid use of NDR_PRINT_X_DEBUG (that debugs with level 0) in libnetjoin.
Günther Deschner [Wed, 16 Jan 2008 09:37:48 +0000 (10:37 +0100)]
Avoid use of NDR_PRINT_X_DEBUG (that debugs with level 0) in libnetjoin.

Guenther

13 years agoMerge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into ctdb-merge
Alexander Bokovoy [Wed, 16 Jan 2008 09:57:15 +0000 (12:57 +0300)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into ctdb-merge

13 years agoFix build for pam_smbpass
Alexander Bokovoy [Wed, 16 Jan 2008 09:28:52 +0000 (12:28 +0300)]
Fix build for pam_smbpass

Signed-off-by: Alexander Bokovoy <ab@samba.org>
13 years agoFix build for pam_smbpass
Alexander Bokovoy [Wed, 16 Jan 2008 09:28:52 +0000 (12:28 +0300)]
Fix build for pam_smbpass

Signed-off-by: Alexander Bokovoy <ab@samba.org>
13 years agoEnable building of VFS modules: vfs_tsmsm, vfs_shadowcopy2 and IDMAP module idmap_tdb2
Alexander Bokovoy [Wed, 16 Jan 2008 09:28:28 +0000 (12:28 +0300)]
Enable building of VFS modules: vfs_tsmsm, vfs_shadowcopy2 and IDMAP module idmap_tdb2

Signed-off-by: Alexander Bokovoy <ab@samba.org>
13 years agoidmap TDB2 backend, used for clustered Samba setups.
Alexander Bokovoy [Wed, 16 Jan 2008 09:27:29 +0000 (12:27 +0300)]
idmap TDB2 backend, used for clustered Samba setups.

   This uses 2 tdb files. One is permanent, and is in shared storage
   on the cluster (using "tdb:idmap2.tdb =" in smb.conf). The other is a
   temporary cache tdb on local storage.

Signed-off-by: Alexander Bokovoy <ab@samba.org>
13 years agoAdd offline storage support with Tivoli Storage Manager Space Manager
Alexander Bokovoy [Wed, 16 Jan 2008 09:26:35 +0000 (12:26 +0300)]
Add offline storage support with Tivoli Storage Manager Space Manager

Signed-off-by: Alexander Bokovoy <ab@samba.org>
13 years agoMerge a variant of Shadow Copy module for exposing snapshots to windows clients as...
Alexander Bokovoy [Wed, 16 Jan 2008 09:21:38 +0000 (12:21 +0300)]
Merge a variant of Shadow Copy module for exposing snapshots to windows clients as shadow copies from Samba 3.0 CTDB

This is a 2nd implemetation of a shadow copy module for exposing
snapshots to windows clients as shadow copies. This version has the
following features:

     1) you don't need to populate your shares with symlinks to the
     snapshots. This can be very important when you have thousands of
     shares, or use [homes]

     2) the inode number of the files is altered so it is different
     from the original. This allows the 'restore' button to work
     without a sharing violation

Signed-off-by: Alexander Bokovoy <ab@samba.org>
13 years agoSupport GPFS prealloc interface
Alexander Bokovoy [Wed, 16 Jan 2008 09:19:51 +0000 (12:19 +0300)]
Support GPFS prealloc interface

Signed-off-by: Alexander Bokovoy <ab@samba.org>
13 years agoMerge latest fixes to vfs_gpfs and NFS4 ACLs from Samba 3.0 CTDB branch (from http...
Alexander Bokovoy [Wed, 16 Jan 2008 09:18:57 +0000 (12:18 +0300)]
Merge latest fixes to vfs_gpfs and NFS4 ACLs from Samba 3.0 CTDB branch (from samba.org/~tridge/3_0-ctdb)

Signed-off-by: Alexander Bokovoy <ab@samba.org>
13 years agoAdd support for offline files support, remote storage, and Async I/O force operations...
Alexander Bokovoy [Wed, 16 Jan 2008 09:17:03 +0000 (12:17 +0300)]
Add support for offline files support, remote storage, and Async I/O force operations to VFS

Offline files support and remote storage are for allowing communication with
backup and archiving tools that mark files moved to a tape library as offline.
We translate this info into corresponding CIFS offline file attribute and
mark an exported volume as remote storage.

Async I/O force is to allow selective redirection of I/O operations to asynchronous
processing in case it is viable at VFS module discretion. It is needed for
proper handling of offline files as performing regular I/O on offline file will
block smbd.

Signed-off-by: Alexander Bokovoy <ab@samba.org>
13 years agoMerge CTDB-related fixes from samba-ctdb 3.0 branch (http://samba.org/~tridge/3_0...
Alexander Bokovoy [Wed, 16 Jan 2008 09:09:48 +0000 (12:09 +0300)]
Merge CTDB-related fixes from samba-ctdb 3.0 branch (samba.org/~tridge/3_0-ctdb)

Signed-off-by: Alexander Bokovoy <ab@samba.org>
13 years agoMerge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
Derrell Lipman [Wed, 16 Jan 2008 02:30:21 +0000 (02:30 +0000)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test

13 years agoPort from ctdb:
Jeremy Allison [Wed, 16 Jan 2008 01:20:50 +0000 (17:20 -0800)]
Port from ctdb:

minor fix to transaction_write_existing: tridge.

Jeremy.

13 years agoMerge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
Derrell Lipman [Wed, 16 Jan 2008 00:45:06 +0000 (00:45 +0000)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test

13 years agoFix the API exported for auth_functions. Ensure we call
Jeremy Allison [Wed, 16 Jan 2008 00:13:11 +0000 (16:13 -0800)]
Fix the API exported for auth_functions. Ensure we call
passing 3 fstrings/sizeof(fstrings) as 3.0.x did. Found
by Derrell. Derrell please test !
Thanks,
Jeremy.

13 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Tue, 15 Jan 2008 23:09:35 +0000 (15:09 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test

13 years agoFix "status used uninitialized" warnings.
Jeremy Allison [Tue, 15 Jan 2008 23:09:13 +0000 (15:09 -0800)]
Fix "status used uninitialized" warnings.
Jeremy.

13 years agoAdding basic script to help in the creation of tarballs for release.
Gerald W. Carter [Tue, 15 Jan 2008 22:53:24 +0000 (16:53 -0600)]
Adding basic script to help in the creation of tarballs for release.

Developers can use this to create tarballs for testing or general
purpose QA.

   Usage: release-scripts/create-tarball

The script will prompt for information as necessary.

13 years agoUse NDR_PRINT_UNION_STRING instead of NDR_PRINT_UNION_DEBUG in rpcclient.
Günther Deschner [Tue, 15 Jan 2008 22:06:23 +0000 (23:06 +0100)]
Use NDR_PRINT_UNION_STRING instead of NDR_PRINT_UNION_DEBUG in rpcclient.

Guenther

13 years agoAdd some NDR_PRINT_*_STRING macros (returning talloced strings).
Günther Deschner [Tue, 15 Jan 2008 22:04:47 +0000 (23:04 +0100)]
Add some NDR_PRINT_*_STRING macros (returning talloced strings).

Guenther

13 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Tue, 15 Jan 2008 18:31:47 +0000 (10:31 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test

13 years agolibsmb: Do not upper-case target name on NTLMv2 hash generation
Kai Blin [Tue, 15 Jan 2008 18:28:23 +0000 (19:28 +0100)]
libsmb: Do not upper-case target name on NTLMv2 hash generation

This makes our NTLMv2 hash generation compatible to the Davenport example
and fixes a bug when ntlm_auth is called with a non-upper-case --domain
parameter and client ntlmv2 auth = yes

Jerry, please consider for 3.2.0

13 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Tue, 15 Jan 2008 18:19:47 +0000 (10:19 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test

13 years agoea_tdb->xattr_tdb also inside the module itself
Volker Lendecke [Tue, 15 Jan 2008 16:06:12 +0000 (17:06 +0100)]
ea_tdb->xattr_tdb also inside the module itself

13 years agorename vfs_ea_tdb to vfs_xattr_tdb
Volker Lendecke [Tue, 15 Jan 2008 16:03:17 +0000 (17:03 +0100)]
rename vfs_ea_tdb to vfs_xattr_tdb

13 years agoUse autogenerated debugging functions in libnetjoin when requested.
Günther Deschner [Tue, 15 Jan 2008 16:00:14 +0000 (17:00 +0100)]
Use autogenerated debugging functions in libnetjoin when requested.

Guenther

13 years agoApply const to rpccli_lsa_query_info_policy() and rpccli_lsa_query_info_policy2().
Günther Deschner [Tue, 15 Jan 2008 15:40:02 +0000 (16:40 +0100)]
Apply const to rpccli_lsa_query_info_policy() and rpccli_lsa_query_info_policy2().

Guenther

13 years agolibwbclient: don't link talloc.o into libwbclient.a
Stefan Metzmacher [Tue, 15 Jan 2008 13:59:46 +0000 (14:59 +0100)]
libwbclient: don't link talloc.o into libwbclient.a

hopefully fix the build...(and hopefully the correct fix)

metze

13 years agoRevert "libwbclient: don't link talloc.o into libwbclient.a"
Stefan Metzmacher [Tue, 15 Jan 2008 14:56:58 +0000 (15:56 +0100)]
Revert "libwbclient: don't link talloc.o into libwbclient.a"

This reverts commit 9a4b6fd3e21f54a0ff83f1fd0d0d5331a2cfdd0a.

Sorry...

metze

13 years agoRemove unrequired TALLOC_FREE.
Günther Deschner [Tue, 15 Jan 2008 14:48:48 +0000 (15:48 +0100)]
Remove unrequired TALLOC_FREE.

Guenther

13 years agoInclude libnet_join.h in the right places.
Günther Deschner [Tue, 15 Jan 2008 14:43:19 +0000 (15:43 +0100)]
Include libnet_join.h in the right places.

Guenther

13 years agoUse autogenerated libnet_join header.
Günther Deschner [Tue, 15 Jan 2008 14:28:39 +0000 (15:28 +0100)]
Use autogenerated libnet_join header.

Guenther

13 years agoAdd ndr_print_ads_struct().
Günther Deschner [Tue, 15 Jan 2008 14:20:57 +0000 (15:20 +0100)]
Add ndr_print_ads_struct().

Guenther

13 years agoAdd ndr_print_sockaddr_storage and ndr_print_bool.
Günther Deschner [Tue, 15 Jan 2008 14:16:24 +0000 (15:16 +0100)]
Add ndr_print_sockaddr_storage and ndr_print_bool.

Guenther

13 years agoDefine libnet join interface in IDL.
Günther Deschner [Tue, 15 Jan 2008 13:48:34 +0000 (14:48 +0100)]
Define libnet join interface in IDL.

Guenther

13 years agolibwbclient: don't link talloc.o into libwbclient.a
Stefan Metzmacher [Tue, 15 Jan 2008 13:59:46 +0000 (14:59 +0100)]
libwbclient: don't link talloc.o into libwbclient.a

hopefully fix the build...

metze

13 years agoMerge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
Derrell Lipman [Tue, 15 Jan 2008 13:58:47 +0000 (13:58 +0000)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test

13 years agoUse the proper boolean functions.
Michael Adam [Tue, 15 Jan 2008 13:56:00 +0000 (14:56 +0100)]
Use the proper boolean functions.

Michael

13 years agoRemove some trailing spaces.
Michael Adam [Tue, 15 Jan 2008 13:55:04 +0000 (14:55 +0100)]
Remove some trailing spaces.

Michael

13 years agokrb5_locator: winbind_krb5_locator.o doesn't need socket wrapper any more
Stefan Metzmacher [Tue, 15 Jan 2008 12:57:58 +0000 (13:57 +0100)]
krb5_locator: winbind_krb5_locator.o doesn't need socket wrapper any more

metze

13 years agonss_winbind: nss_winbind.so doesn't need socket wrapper any more
Stefan Metzmacher [Tue, 15 Jan 2008 12:56:57 +0000 (13:56 +0100)]
nss_winbind: nss_winbind.so doesn't need socket wrapper any more

metze

13 years agopam_winbind: pam_winbind.so doesn't need soecket wrapper any more
Stefan Metzmacher [Tue, 15 Jan 2008 12:56:15 +0000 (13:56 +0100)]
pam_winbind: pam_winbind.so doesn't need soecket wrapper any more

metze

13 years agolibwbclient: libwbclient.so doesn't need socket nor nss wrapper any more
Stefan Metzmacher [Tue, 15 Jan 2008 12:54:30 +0000 (13:54 +0100)]
libwbclient: libwbclient.so doesn't need socket nor nss wrapper any more

metze

13 years agonsswitch/: we don't need socket or nss wrapper in the winbind client code
Stefan Metzmacher [Tue, 15 Jan 2008 12:52:19 +0000 (13:52 +0100)]
nsswitch/: we don't need socket or nss wrapper in the winbind client code

As we don't need socket wrapper of nss wrapper in the winbind client code
we disable the function macros so that we don't endup with swrap_close()
or similar functions.

metze

13 years agoNo need to re-establish AD connection all the time.
Günther Deschner [Tue, 15 Jan 2008 10:00:37 +0000 (11:00 +0100)]
No need to re-establish AD connection all the time.

Guenther

13 years agoUse dsgetdcname() to find a dc when unjoining in libnetjoin.
Günther Deschner [Tue, 15 Jan 2008 09:58:27 +0000 (10:58 +0100)]
Use dsgetdcname() to find a dc when unjoining in libnetjoin.

Guenther

13 years agoRe-arrange pre- and postprocessing code in libnetjoin.
Günther Deschner [Tue, 15 Jan 2008 09:51:40 +0000 (10:51 +0100)]
Re-arrange pre- and postprocessing code in libnetjoin.

Guenther

13 years agoFix some warnings -- Jeremy, please check
Volker Lendecke [Mon, 14 Jan 2008 21:38:16 +0000 (22:38 +0100)]
Fix some warnings -- Jeremy, please check

13 years agoImplement vfs_ea_tdb
Volker Lendecke [Mon, 22 Oct 2007 16:14:57 +0000 (18:14 +0200)]
Implement vfs_ea_tdb

This is an option for file systems that do not implement xattrs: in
lockdir/eas.tdb an array of xatts per inode is stored.

It can not solve the problem that xattrs might reappear if a posix-level
process deletes a file and happens to re-create it under the same name. On file
systems with birthtime we might have a chance to detect this, but not with
standard posix. A future version might put relief on file systems that do have
xattrs but where these are severely limited in size/speed/whatever: We can put
a simple marker as a native xattr, but the xattrs proper are stored in the tdb.

Volker

13 years agolibwbclient: add wbclient.pc.in
Stefan Metzmacher [Tue, 15 Jan 2008 09:43:24 +0000 (10:43 +0100)]
libwbclient: add wbclient.pc.in

metze

13 years agolibwbclient: install wbclient.h into the same path as smbclient.h
Stefan Metzmacher [Tue, 15 Jan 2008 09:42:03 +0000 (10:42 +0100)]
libwbclient: install wbclient.h into the same path as smbclient.h

metze

13 years agolibwbclient: move wbc_err.h into wbclient.h as we only install one header
Stefan Metzmacher [Tue, 15 Jan 2008 09:24:09 +0000 (10:24 +0100)]
libwbclient: move wbc_err.h into wbclient.h as we only install one header

This makes the installed wbclient.h header usable.

metze

13 years agoAdd True/False bool cleanup script.
Günther Deschner [Tue, 15 Jan 2008 09:33:25 +0000 (10:33 +0100)]
Add True/False bool cleanup script.

Guenther

13 years agoWindows insists on write sizes < max_xmit on signed connections.
Jeremy Allison [Mon, 14 Jan 2008 21:46:06 +0000 (13:46 -0800)]
Windows insists on write sizes < max_xmit on signed connections.
Jeremy.

13 years agoMerge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
Alexander Bokovoy [Mon, 14 Jan 2008 19:36:47 +0000 (22:36 +0300)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test

13 years agoFrom Alexander Bokovoy
Jeremy Allison [Mon, 14 Jan 2008 19:06:46 +0000 (11:06 -0800)]
From Alexander Bokovoy

names is a 'const char **names' here, passed from upper level. Passing
'names' as a talloc context will break things as 'names' is usually
likely is a local variable, not a talloc'd. And we want to have array
elements on a context of the array anyway.

Jeremy.

13 years agoFix crash in winbind clients: instead of talloc-based pointer we passed address of...
Alexander Bokovoy [Mon, 14 Jan 2008 18:32:59 +0000 (21:32 +0300)]
Fix crash in winbind clients: instead of talloc-based pointer we passed address of a local variable.

13 years agoMerge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
Alexander Bokovoy [Mon, 14 Jan 2008 18:40:40 +0000 (21:40 +0300)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test

13 years agoAdd detection for need of update to the registry db.
Michael Adam [Mon, 14 Jan 2008 17:31:11 +0000 (18:31 +0100)]
Add detection for need of update to the registry db.

This only detects if the tdb sequence number has changed
since the data has last been read.

Michael

13 years agoFix crash in winbind clients: instead of talloc-based pointer we passed address of...
Alexander Bokovoy [Mon, 14 Jan 2008 18:32:59 +0000 (21:32 +0300)]
Fix crash in winbind clients: instead of talloc-based pointer we passed address of a local variable.

13 years agoSome more minor cleanup for "net rpc audit".
Günther Deschner [Mon, 14 Jan 2008 17:26:24 +0000 (18:26 +0100)]
Some more minor cleanup for "net rpc audit".

Guenther

13 years agoPrint principal in debug statement in kerberos_kinit_password() as well.
Günther Deschner [Mon, 14 Jan 2008 13:18:53 +0000 (14:18 +0100)]
Print principal in debug statement in kerberos_kinit_password() as well.

Guenther

13 years agoRe-run make idl to update lsa idl.
Günther Deschner [Mon, 14 Jan 2008 16:39:33 +0000 (17:39 +0100)]
Re-run make idl to update lsa idl.

Guenther

13 years agoUse lsa_PolicyInfo enum in lsa policy info calls.
Günther Deschner [Mon, 14 Jan 2008 16:37:35 +0000 (17:37 +0100)]
Use lsa_PolicyInfo enum in lsa policy info calls.

Guenther

13 years agoFix all callers of old rpccli_lsa_set_info_policy() call.
Günther Deschner [Mon, 14 Jan 2008 16:17:20 +0000 (17:17 +0100)]
Fix all callers of old rpccli_lsa_set_info_policy() call.

Guenther