kamenim/samba-autobuild/.git
16 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
(This used to be commit 175662b5bbb5c8ecd81a60539f5846a938c26a3a)

16 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
(This used to be commit d9c8a2271d5d4ff845f1fe5986a2c63d79c41415)

16 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
(This used to be commit 92bfa25922860a6951c72d41799f4d3c1bc7a007)

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

Guenther
(This used to be commit 57dc747136e880a25c03bdc4a1431fc41afd93a1)

16 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
(This used to be commit b7a06b54e0a58c4cd6c5351b1e4a0a2c253cfea1)

16 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
(This used to be commit aebecd7462733b56457540423354ba249fd52808)

16 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
(This used to be commit 9d75ea577b407ccab59196760d376831062a3ab5)

16 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.
(This used to be commit 296a6783fbc03460e87ac4136a0a9e6d2743b2ff)

16 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.
(This used to be commit 01f6a4cca7a91ae41ff393263418216324502f84)

16 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
(This used to be commit ee851730cef1eb506b47faf57e25789ad3c6aafa)

16 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>
(This used to be commit 4db26c803de52d3efccc940efc55f14131a057f5)

16 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
(This used to be commit dea64a0d886919dfd5bcc550cb36deabe4ec010d)

16 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
(This used to be commit 622109895c56ed7cc02dac006f02cac89424b569)

16 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
(This used to be commit 05cf1413cc92e15bbe7ba0477df282ad31e40412)

16 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
(This used to be commit 357a393b106fe88629bf5f6c634d16c0fc47cee9)

16 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
(This used to be commit 17b2bea7093681a4c4119f9fe7104c018fd0af6f)

16 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>
(This used to be commit dc568fd52ae8ffaaaef2015c5a207ed9a58a9a7f)

16 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>(This used to be commit 060587fce558bf9e83d6c7b8e070a5ae58e3f275)
16 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>(This used to be commit 136c024c9a32ca8ca33cb36b9a6b731237179af5)
16 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>(This used to be commit b6df7e7709365fb620867ad8954bc5bf24496775)
16 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>(This used to be commit d7752449f38747d59c93869656a5f7c02ebdf084)
16 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>(This used to be commit 10c2ae1efd799b44255ce82c3bb0c7c9df0ec634)
16 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>(This used to be commit c26e355533e473c4386d0e6d651637e71d4231dc)
16 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>(This used to be commit 1daad835cbfb4615a8fe7a241f4d578f7e69f214)
16 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>(This used to be commit 875208724e39564fe81385dfe36e6c963e79e101)
16 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>(This used to be commit 0c8e23afbbb2d081fc23908bafcad04650bfacea)
16 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
(This used to be commit 4ff2101c69a0cfcfdc5f775493cb6e88c57e4bbe)

16 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.
(This used to be commit 874425c8f680fb2f737b46a3177b239e69302af5)

16 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
(This used to be commit f963d57096184dd9381fcc5f175150d27460ea7a)

16 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.
(This used to be commit 5467db388355a4769e48fed7eb80920d1820f727)

16 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
(This used to be commit 0d989bf90b9b75a057b572bb4369ee3126db1fb8)

16 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.
(This used to be commit e57856fff2ef86481ac6770c7d010a26666d8bdd)

16 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.
(This used to be commit 1df8f98602ac4be1d37f9c7748da8b89db80215f)

16 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
(This used to be commit 2c045a8c817b4ec200830c4f8b508c1cd4c4d9aa)

16 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
(This used to be commit 50ab169f581b4efff5185fd86d1b9ceaaf3974dd)

16 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
(This used to be commit ed7322dcfa6f42743b784246f5de74d4e64b0765)

16 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
(This used to be commit ecbe08897c9cc47790f3d4f5680d25202bc0f6c3)

16 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
(This used to be commit 6e17a56039be13ac1ef7004f15d154141bad7196)

16 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
(This used to be commit 642424b3779dd33cd2b5049789aa16e678438bb9)

16 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
(This used to be commit 151b42a150a17f566e7b4055bbdbc0564a3c106d)

16 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
(This used to be commit 08c1720509dffa2886ed057e2d14907699122f3c)

16 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
(This used to be commit 7a3fe68bef7acde9d9f8a7a44ce7e9432f3c5a95)

16 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
(This used to be commit 561e529a711338b2a3191f1b04f384f5ab3413ac)

16 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
(This used to be commit 58c806dbf85fd634c8f3559a035751a4cd0b5c4b)

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

Guenther
(This used to be commit 15d0e574386e39a4d2fa61cd268b48dfa5c84dcb)

16 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
(This used to be commit 586d6cef521cebfd6fe2d433fdef498d4a59cb1b)

16 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
(This used to be commit d94bd3a03b574b3fdddd62add25b0c04673500a3)

16 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
(This used to be commit 0a914a55bab30d765872d72cfdd59889d2afe42a)

16 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
(This used to be commit f44f76415a7ce3ea73b5c52494f3b36feab4c870)

16 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
(This used to be commit 7a48779ee5ec8bdd5e2b5eef94fd465f733b74b4)

16 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
(This used to be commit 9a4b6fd3e21f54a0ff83f1fd0d0d5331a2cfdd0a)

16 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
(This used to be commit 3a61e663e51fe620225691bc8673bf8800a36f47)

16 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
(This used to be commit beaa83f32bd367f1b6ec72ef80a8a258d662f523)

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

Michael
(This used to be commit 1941c365b50d48fc90f0f98059b8cccf6c7a1a06)

16 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
(This used to be commit a5fb8b443a7c4ebf68ed005990683718c1092747)

16 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
(This used to be commit ed559b4a59e826851cb9894f0e519eaedb523f9d)

16 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
(This used to be commit e37859164c35e8d908f3dfcc99226ee6773ba0a8)

16 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
(This used to be commit 4f05b50d4c626f2c404bb4bfefb65998125b612f)

16 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
(This used to be commit 40aeb431604bd26fc543410de24593726ca0a01f)

16 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
(This used to be commit f21871c6d60e02ed53f060abbbfb2ef656cdc311)

16 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
(This used to be commit 1a5b72daa36073cc0604211248d869bf0d7546c6)

16 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
(This used to be commit 99e3e4b0dd0b0755189c1c740f2975bc75a0e28d)

16 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
(This used to be commit b66ac8567c16f2c35fceceba2f858d5503620309)

16 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
(This used to be commit 2036b4c5ad677b8a477b34b0f076febab0abff5e)

16 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
(This used to be commit e6bd1395f2c1da7bcf1a31cdb297919ed6a15469)

16 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
(This used to be commit 7cb81bfc6bcdd56a8886e18aa9a7e05ec963d33d)

16 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
(This used to be commit 7dd65599a15bf1d164fcfa554c8057d43c51eb6d)

16 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
(This used to be commit 9f05d2eae7c55d39ad61da54c4a38d6b6f8d4d3a)

16 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.
(This used to be commit ef9b278b6289a9ecdd6b103927058f64fbb7eb97)

16 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.
(This used to be commit 22a4129fabf70e01cc638c2f7347c28201838830)

16 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.
(This used to be commit a861ff20917eeca303e2d36de71cd8614e937d5f)

16 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
(This used to be commit 3f081ebeadf30a7943723703ecae479e0412c60c)

16 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
(This used to be commit 558ce4ec3eaa93c827316d92c346f35c140fadf0)

16 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
(This used to be commit 44d67e84625a2a1a93baecef0e418b48e982443b)

16 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
(This used to be commit 94693755a291993217b5cb74794504a8593eae30)

16 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
(This used to be commit 8b63a1665795d2739b54144212926113d9be7f09)

16 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
(This used to be commit be8071779fa14d964e86810f5fb16bc52aea4e36)

16 years agoFix prototypes for lsa set info policy calls.
Günther Deschner [Mon, 14 Jan 2008 16:16:31 +0000 (17:16 +0100)]
Fix prototypes for lsa set info policy calls.

Guenther
(This used to be commit 33f6eff92b6bdf804d54c84375cece8a867933f2)

16 years agoRemove old lsa set info policy call.
Günther Deschner [Mon, 14 Jan 2008 16:16:06 +0000 (17:16 +0100)]
Remove old lsa set info policy call.

Guenther
(This used to be commit b37b2b77edec72fc3f53b3461aa1c210e4366c1b)

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

Guenther
(This used to be commit add28753b2e740804c48db5f6235cb2f8908d82b)

16 years agoFill in IDL for lsa_SetInfoPolicy and lsa_SetInfoPolicy2.
Günther Deschner [Mon, 14 Jan 2008 16:10:31 +0000 (17:10 +0100)]
Fill in IDL for lsa_SetInfoPolicy and lsa_SetInfoPolicy2.

Guenther
(This used to be commit dceb9a4c80fb241e12fafc6229aa8e81f5d2df1a)

16 years agoRemove more redundant lsa parsing functions.
Günther Deschner [Mon, 14 Jan 2008 14:47:42 +0000 (15:47 +0100)]
Remove more redundant lsa parsing functions.

Guenther
(This used to be commit 99dd28da84c270f46535bd2ffa6bfef96d2e2eed)

16 years agoFix bug #5171 (perl syntax error) found by Jason Filley <jason@snakelegs.org>
Michael Adam [Mon, 14 Jan 2008 14:44:41 +0000 (15:44 +0100)]
Fix bug #5171 (perl syntax error) found by Jason Filley <jason@snakelegs.org>

Michael
(This used to be commit dcb5034acd35d219106e1d855f4c4d36b3c8d83b)

16 years agoFix rpcclient display_trust_dom_info().
Günther Deschner [Mon, 14 Jan 2008 14:39:51 +0000 (15:39 +0100)]
Fix rpcclient display_trust_dom_info().

Guenther
(This used to be commit 54bdd22a07e885f896a8f784bc12096f65afac75)

16 years agoUse pidl generated rpccli_lsa_QueryTrustedDomainInfoBySid when vampiring trusted
Günther Deschner [Mon, 14 Jan 2008 14:33:26 +0000 (15:33 +0100)]
Use pidl generated rpccli_lsa_QueryTrustedDomainInfoBySid when vampiring trusted
domain secrets.

Guenther
(This used to be commit aa3de6f9f5b5375ca9f1e8a60a378afba1c0848b)

16 years agoRemove some more hand written LSA rpc.
Günther Deschner [Mon, 14 Jan 2008 14:27:57 +0000 (15:27 +0100)]
Remove some more hand written LSA rpc.

(rpccli_lsa_open_trusted_domain,
rpccli_lsa_query_trusted_domain_info,
cli_lsa_query_domain_info_policy).

Guenther
(This used to be commit 5bfb33f1c5a16d10f77cb76962df4a949626a062)

16 years agoStart removing hand-written lsa marshalling code (namely
Günther Deschner [Mon, 14 Jan 2008 14:19:30 +0000 (15:19 +0100)]
Start removing hand-written lsa marshalling code (namely
rpccli_lsa_open_trusted_domain_by_name,
rpccli_lsa_query_trusted_domain_info_by_sid and
rpccli_lsa_query_trusted_domain_info_by_name).

Guenther
(This used to be commit f2fb3473455f20e7314a9d33f5a1c923d3057d97)

16 years agoUse some more pidl generated LSA rpc in rpcclient.
Günther Deschner [Mon, 14 Jan 2008 14:15:47 +0000 (15:15 +0100)]
Use some more pidl generated LSA rpc in rpcclient.

Guenther
(This used to be commit 153e4dd162423a846dbd4a9a1be1fd747792bdbf)

16 years agoFix "make test_shlibs": it showed unresolved symbols for -lwbclient.
Michael Adam [Mon, 14 Jan 2008 13:57:30 +0000 (14:57 +0100)]
Fix "make test_shlibs": it showed unresolved symbols for -lwbclient.

Michael
(This used to be commit 9a435b510f8ccfd0ca3b3d100d6176e643273578)

16 years agoRevert ""make test_shlibs" shows unresolved symbols for -lwbclient."
Günther Deschner [Mon, 14 Jan 2008 11:01:06 +0000 (12:01 +0100)]
Revert ""make test_shlibs" shows unresolved symbols for -lwbclient."

This reverts commit 0093f618e91f7dcc69d57dbd09d23acc614999aa.
(This used to be commit ad6cb9afc9794b226e3453d36865edfe5a15f572)

16 years ago"make test_shlibs" shows unresolved symbols for -lwbclient.
Günther Deschner [Mon, 14 Jan 2008 09:43:49 +0000 (10:43 +0100)]
"make test_shlibs" shows unresolved symbols for -lwbclient.

Guenther
(This used to be commit 0093f618e91f7dcc69d57dbd09d23acc614999aa)

16 years agosamba3 already has tdb_validate()
Andrew Tridgell [Mon, 14 Jan 2008 05:26:52 +0000 (16:26 +1100)]
samba3 already has tdb_validate()
(This used to be commit 9f002eeff9bcf33a00e5641cb14338e866a17afe)

16 years agomerged tdb fix from ctdb tree
Andrew Tridgell [Mon, 14 Jan 2008 04:38:43 +0000 (15:38 +1100)]
merged tdb fix from ctdb tree
(This used to be commit c91e9c785b5bf4b0c479edf8eb33da22bf615387)

16 years agoReset the failed counter in test_wbinfo_s3.sh.
Michael Adam [Sun, 13 Jan 2008 23:23:11 +0000 (00:23 +0100)]
Reset the failed counter in test_wbinfo_s3.sh.

Michael
(This used to be commit 3eedb8928413da102446b76aa64d1feaecb95b52)

16 years agoFix a syntax error in script/tests/test_local_s3.sh .
Michael Adam [Sun, 13 Jan 2008 22:54:48 +0000 (23:54 +0100)]
Fix a syntax error in script/tests/test_local_s3.sh .

This will reveal the currently breaking tdbtorture to the build farm...

Michael
(This used to be commit 50f65c3c5500da8d657d5fc340e666ee8cfe148e)

16 years agoAdd and modify comments in net_conf.c
Michael Adam [Sun, 13 Jan 2008 22:45:57 +0000 (23:45 +0100)]
Add and modify comments in net_conf.c

Michael
(This used to be commit b3afc8391d40745328172ba012f0ffc166d75aa9)

16 years agoAdd explicit creation of shares to net conf import function.
Michael Adam [Sun, 13 Jan 2008 22:30:08 +0000 (23:30 +0100)]
Add explicit creation of shares to net conf import function.

It has been removed from libnet_conf_set_parameter().

Michael
(This used to be commit b5c533b06cba9a8ffd28a1fb3bc56ab248340775)

16 years agoMake use of the new libnet_conf_delete_global_parameter() function.
Michael Adam [Sun, 13 Jan 2008 22:20:51 +0000 (23:20 +0100)]
Make use of the new libnet_conf_delete_global_parameter() function.

Michael
(This used to be commit aed01fd28c8e896e993239cbe9b2681132ddf980)

16 years agoAdd a function libnet_conf_delete_global_parameter() to libnet_conf.c
Michael Adam [Sun, 13 Jan 2008 22:16:01 +0000 (23:16 +0100)]
Add a function libnet_conf_delete_global_parameter() to libnet_conf.c

Create the [global] section if it does not yet exist.

Michael
(This used to be commit 90fa2981c949e21f66a44d634ebe9d661819f0a3)

16 years agoAdd a function libnet_conf_get_global_parameter() to libnet_conf.c
Michael Adam [Sun, 13 Jan 2008 22:12:27 +0000 (23:12 +0100)]
Add a function libnet_conf_get_global_parameter() to libnet_conf.c

It creates the [global] section if it does not yet exist.

Michael
(This used to be commit 627a29b690c30f1096a4746186089cd9a1c92407)