tprouty/samba.git
16 years agoMerge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
Jelmer Vernooij [Wed, 5 Mar 2008 18:42:15 +0000 (19:42 +0100)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
(This used to be commit 3482cd9b0e81bbc801f1cec33fca82fc45a3ddef)

16 years agoFix Coverity ID 565
Volker Lendecke [Wed, 5 Mar 2008 16:20:01 +0000 (17:20 +0100)]
Fix Coverity ID 565

This would crash safely
(This used to be commit 0f14357c86aee9a76ffbb45ea6419f4cc4106d62)

16 years agoFix a memleak -- Coverity ID 222
Volker Lendecke [Wed, 5 Mar 2008 15:28:43 +0000 (16:28 +0100)]
Fix a memleak -- Coverity ID 222
(cherry picked from commit a40781bafa3a8f0c7737164bca6cf74b0a452e72)
(This used to be commit 86cabcad74ac06d888f2a352a2bef3abea1ed85c)

16 years agoFix formatting.
Jelmer Vernooij [Wed, 5 Mar 2008 16:30:18 +0000 (17:30 +0100)]
Fix formatting.
(This used to be commit e2345ce90c3f1548f63d720c5943c8d61fdc899a)

16 years agoRevert "Make sure to generate pkgconfig files for libtdb and libtalloc."
Günther Deschner [Wed, 5 Mar 2008 15:31:04 +0000 (16:31 +0100)]
Revert "Make sure to generate pkgconfig files for libtdb and libtalloc."

This uses incorrect version numbers for tdb and talloc.

Guenther

This reverts commit df97fb019b89a147a0a2c560003d74c354fcc4b6.
(This used to be commit ead849949b1b879e2bc4a6b1f7c3d2df1962170a)

16 years agoMake sure to generate pkgconfig files for libtdb and libtalloc.
Günther Deschner [Wed, 5 Mar 2008 14:40:23 +0000 (15:40 +0100)]
Make sure to generate pkgconfig files for libtdb and libtalloc.

Guenther
(This used to be commit df97fb019b89a147a0a2c560003d74c354fcc4b6)

16 years agoGive a better error message why NetServerSetInfo() may fail in the gui.
Günther Deschner [Wed, 5 Mar 2008 14:21:43 +0000 (15:21 +0100)]
Give a better error message why NetServerSetInfo() may fail in the gui.

Guenther
(This used to be commit 1bbbebb7767b8a25532e8be3dbd274c211e34bbd)

16 years agoAdd --update option to smbget.
Charles [Wed, 5 Mar 2008 14:20:29 +0000 (15:20 +0100)]
Add --update option to smbget.
(This used to be commit 3cfa35fca64b059b307668ca0113503679e0b1fa)

16 years agoMakefile: reformat - break long target lines.
Michael Adam [Wed, 5 Mar 2008 14:04:28 +0000 (15:04 +0100)]
Makefile: reformat - break long target lines.

Michael
(This used to be commit e26133808469cb7e9acc41cb15219d7b736d228a)

16 years agoMakefile: untangle -ltalloc from LIBS, making use of libtalloc explicit.
Michael Adam [Wed, 5 Mar 2008 13:16:46 +0000 (14:16 +0100)]
Makefile: untangle -ltalloc from LIBS, making use of libtalloc explicit.

Michael
(This used to be commit 237ea62a49fbf47634b55795c1065250d5148600)

16 years agoAdd PICFLAG to libnetapi Makefile.
Günther Deschner [Wed, 5 Mar 2008 12:20:32 +0000 (13:20 +0100)]
Add PICFLAG to libnetapi Makefile.

Guenther
(This used to be commit 29fca3c0353f2be4577613d7e38fbc51d2a370fa)

16 years agoMakefile: Add explicit dependecies to libtalloc.so.
Michael Adam [Wed, 5 Mar 2008 10:39:47 +0000 (11:39 +0100)]
Makefile: Add explicit dependecies to libtalloc.so.

So as to fix building of isolated targets.

Michael
(This used to be commit 7dbc251e1cd28abf28342529607fa4b5f579a9c4)

16 years agoFix build of pam_smbpass.
Günther Deschner [Wed, 5 Mar 2008 10:31:26 +0000 (11:31 +0100)]
Fix build of pam_smbpass.

Guenther
(This used to be commit cd582b7705dca40b3c688c9e23d8375dab43b4d0)

16 years agoRemove unused marshalling for SRV_NET_REMOTE_TOD.
Günther Deschner [Wed, 5 Mar 2008 09:40:52 +0000 (10:40 +0100)]
Remove unused marshalling for SRV_NET_REMOTE_TOD.

Guenther
(This used to be commit 9f0ea1d727046fef4c23bcf1e71d10f33c93b00f)

16 years agoUse rpccli_srvsvc_NetRemoteTOD() in rpcclient.
Günther Deschner [Wed, 5 Mar 2008 09:38:13 +0000 (10:38 +0100)]
Use rpccli_srvsvc_NetRemoteTOD() in rpcclient.

Guenther
(This used to be commit 5e9d8cdc948b678e5aa6e04ee13635376b7306f5)

16 years agoUse pidl for _srvsvc_NetRemoteTOD().
Günther Deschner [Wed, 5 Mar 2008 09:34:45 +0000 (10:34 +0100)]
Use pidl for _srvsvc_NetRemoteTOD().

Guenther
(This used to be commit 2b4e0f0593c6378cdac4811ded830ca694afac9e)

16 years agoRe-run make idl.
Günther Deschner [Wed, 5 Mar 2008 09:32:55 +0000 (10:32 +0100)]
Re-run make idl.

Guenther
(This used to be commit b9abb783200f6c14543c3b884b9393797cfa8dbd)

16 years agoFix IDL for srvsvc_NetRemoteTOD().
Günther Deschner [Wed, 5 Mar 2008 09:32:04 +0000 (10:32 +0100)]
Fix IDL for srvsvc_NetRemoteTOD().

Guenther
(This used to be commit cc3ec6ac65eab8c955cd17f3d4bdf58d6fcc22be)

16 years agoUse pidl for _srvsvc_NetShareSetInfo().
Günther Deschner [Wed, 5 Mar 2008 00:26:39 +0000 (01:26 +0100)]
Use pidl for _srvsvc_NetShareSetInfo().

Guenther
(This used to be commit 9bfa77edc68a887972b609bfb0aee8bbbc89ce04)

16 years agoRe-run make idl.
Günther Deschner [Tue, 4 Mar 2008 22:50:51 +0000 (23:50 +0100)]
Re-run make idl.

Guenther
(This used to be commit 4ace93c3df280558ef75b6619297e367ac9713c9)

16 years agoFix IDL for srvsvc_NetShareSetInfo().
Günther Deschner [Tue, 4 Mar 2008 22:50:23 +0000 (23:50 +0100)]
Fix IDL for srvsvc_NetShareSetInfo().

Guenther
(This used to be commit 40d780f2e75c3a62853568a149a1229828ac9da4)

16 years agoFix rpccli_srvsvc_NetSrvSetInfo call in libnetapi.
Günther Deschner [Wed, 5 Mar 2008 08:53:33 +0000 (09:53 +0100)]
Fix rpccli_srvsvc_NetSrvSetInfo call in libnetapi.

Guenther
(This used to be commit 5911529205ca69c438e0782c07ee4fe5aa95de62)

16 years agoRemove unused marshalling for SRV_NET_SRV_SET_INFO.
Günther Deschner [Tue, 4 Mar 2008 22:40:53 +0000 (23:40 +0100)]
Remove unused marshalling for SRV_NET_SRV_SET_INFO.

Guenther
(This used to be commit a7aef18797407b1f451191647d4b0225ac838817)

16 years agoUse pidl for _srvsvc_NetSrvSetInfo().
Günther Deschner [Tue, 4 Mar 2008 22:40:25 +0000 (23:40 +0100)]
Use pidl for _srvsvc_NetSrvSetInfo().

Guenther
(This used to be commit 75b0bbf790da44c45c679c374dbe09f288f3fb8c)

16 years agoRe-run make idl.
Günther Deschner [Tue, 4 Mar 2008 22:47:28 +0000 (23:47 +0100)]
Re-run make idl.

Guenther
(This used to be commit ea03cb92c481b9bb47d2a4e133cf830acb0f22a3)

16 years agoFix IDL for srvsvc_NetSrvSetInfo().
Günther Deschner [Tue, 4 Mar 2008 22:47:01 +0000 (23:47 +0100)]
Fix IDL for srvsvc_NetSrvSetInfo().

Guenther
(This used to be commit 024021daabe825bc7a033951aa1073ab76bd34aa)

16 years agoRemove unused marshalling for SRV_NET_SRV_GET_INFO.
Günther Deschner [Tue, 4 Mar 2008 22:26:27 +0000 (23:26 +0100)]
Remove unused marshalling for SRV_NET_SRV_GET_INFO.

Guenther
(This used to be commit 53a7e9b07d07d3e9d21360dee35fee27b46929b3)

16 years agoUse rpccli_srvsvc_NetSrvGetInfo() in rpcclient.
Günther Deschner [Tue, 4 Mar 2008 22:11:53 +0000 (23:11 +0100)]
Use rpccli_srvsvc_NetSrvGetInfo() in rpcclient.

Guenther
(This used to be commit 4a74f1e8d2c45574973fc4c0ce4fbc9a843afaa0)

16 years agoUse pidl for _srvsvc_NetSrvGetInfo().
Günther Deschner [Tue, 4 Mar 2008 22:07:45 +0000 (23:07 +0100)]
Use pidl for _srvsvc_NetSrvGetInfo().

Guenther
(This used to be commit 34caa41fa6d44165b470508261c2bde124fc4955)

16 years agoWhitespace cleanup in srvsvc server.
Günther Deschner [Tue, 4 Mar 2008 20:46:09 +0000 (21:46 +0100)]
Whitespace cleanup in srvsvc server.

Guenther
(This used to be commit 3c0a3f8de742678b56f6b998a014105c05400666)

16 years agoFix proxy_srvsvc_call().
Günther Deschner [Tue, 4 Mar 2008 21:54:14 +0000 (22:54 +0100)]
Fix proxy_srvsvc_call().

Wow, this must have been broken a long time already.

Guenther
(This used to be commit 821762e5ab32a2fbea7c41f1d2c2ea8589daa1d3)

16 years agoAdd secure_channel_type to libnetjoin.
Günther Deschner [Tue, 4 Mar 2008 18:04:54 +0000 (19:04 +0100)]
Add secure_channel_type to libnetjoin.

Guenther
(This used to be commit f88910c1e5186737da4eda5a7a396c3238fc6775)

16 years agoRe-run make idl.
Günther Deschner [Tue, 4 Mar 2008 11:28:36 +0000 (12:28 +0100)]
Re-run make idl.

Guenther
(This used to be commit 8e601e2365f50e582de442daa1559f828bda3e89)

16 years agoAdd new Windows 2008 Kerberos PAC Type 12 (apparently again undocumented).
Günther Deschner [Tue, 4 Mar 2008 11:26:05 +0000 (12:26 +0100)]
Add new Windows 2008 Kerberos PAC Type 12 (apparently again undocumented).

We need at least to parse this in order to correctly support kerberized session
setup from w2k8 as well as local pam_winbind logons using kerberos.

Guenther
(This used to be commit 4ba62d49d740c43cf17ceef1534cf1c8a7e4a130)

16 years agoFix counter mismatch in lsa_LookupNames3 server.
Günther Deschner [Tue, 4 Mar 2008 12:19:38 +0000 (13:19 +0100)]
Fix counter mismatch in lsa_LookupNames3 server.

Guenther
(This used to be commit e052d6f2c82a644986e5d99f640310d71cd5c396)

16 years agoFix counter mismatch in lsa_LookupNames server.
Günther Deschner [Tue, 4 Mar 2008 12:16:02 +0000 (13:16 +0100)]
Fix counter mismatch in lsa_LookupNames server.

Guenther
(This used to be commit 80fd085c34befd38d33cf6e59080a2a36016a92d)

16 years agoUpdate release date.
Karolin Seeger [Tue, 4 Mar 2008 08:53:37 +0000 (09:53 +0100)]
Update release date.

Karolin
(cherry picked from commit 491535d0911c64869055b85a210c2ef076086b83)
(This used to be commit 5eacf7c672ce8a2cf17f05c62789d321ed9d89bb)

16 years agoFix lsa_QueryInfoPolicy: make proper talloc copies of the sids.
Günther Deschner [Tue, 4 Mar 2008 11:46:15 +0000 (12:46 +0100)]
Fix lsa_QueryInfoPolicy: make proper talloc copies of the sids.

Guenther
(This used to be commit b9441232d66d78e66464be6c9748a023681ce6ca)

16 years agoUse TALLOC_FREE in libnetjoin debugging dump code.
Günther Deschner [Tue, 4 Mar 2008 10:07:13 +0000 (11:07 +0100)]
Use TALLOC_FREE in libnetjoin debugging dump code.

Guenther
(This used to be commit b753087ff79c1d35a409eddc1f61e115e887c1e1)

16 years agoZero more structs initially in LSA rpc server.
Günther Deschner [Tue, 4 Mar 2008 10:06:02 +0000 (11:06 +0100)]
Zero more structs initially in LSA rpc server.

Guenther
(This used to be commit d7ce643285276790a65faff76666498595a508d7)

16 years agoMove talloc_init to the right place in "net ads join".
Günther Deschner [Tue, 4 Mar 2008 10:04:36 +0000 (11:04 +0100)]
Move talloc_init to the right place in "net ads join".

Guenther
(This used to be commit 8cd07c1fa8f435f7ff3dc79c195da9324fb2452f)

16 years agoFix crash bug in pdb_init_ldapsam().
Günther Deschner [Tue, 4 Mar 2008 10:02:26 +0000 (11:02 +0100)]
Fix crash bug in pdb_init_ldapsam().

Karolin, this needs to be in 3-2-stable.

Guenther
(This used to be commit 0d73bde6de4391e7aec862424762473441fa0905)

16 years agouse constant name less likely to cause conflict
Derrell Lipman [Tue, 4 Mar 2008 03:56:32 +0000 (22:56 -0500)]
use constant name less likely to cause conflict
(This used to be commit fd18b01016d1dc4b08983975353e62084fdc323c)

16 years agoMerge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
Derrell Lipman [Mon, 3 Mar 2008 23:27:41 +0000 (18:27 -0500)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
(This used to be commit 8927b50d6051fcefd87f19dc90c5826378d03e4e)

16 years agoMissed a few 'deprecated' markers
Derrell Lipman [Mon, 3 Mar 2008 23:25:49 +0000 (18:25 -0500)]
Missed a few 'deprecated' markers
(This used to be commit 76ba37ac46b4a77fe228ca90635fa19140541ccd)

16 years agoContinued revamping of libsmbclient.
Derrell Lipman [Mon, 3 Mar 2008 23:13:33 +0000 (18:13 -0500)]
Continued revamping of libsmbclient.

- James suggested using gcc's "deprecated" attribute to mark the context
  structure fields to generate warnings.  This creates a scenario with the
  best of all worlds.  I'm able to move to an organization that more easily
  allows future enhancements, while avoiding any mandatory changes by
  applications.  Thanks, James!

- Updated WHATSNEW.txt so that it accurately reflects the current state of
  affairs.

Derrell
(This used to be commit a67f96fbe9683b46c2149f7cb439d13f7f0e6ecd)

16 years agoZero out the out policy handler in lsa_Close
Volker Lendecke [Mon, 3 Mar 2008 17:12:26 +0000 (18:12 +0100)]
Zero out the out policy handler in lsa_Close

... after a REALLY long session staring at sniffs we can now join XP to
v3-2-test again...

Apparently not doing this makes XP keep an internal handle to LSA open which
confuses the hell out of it.

Karolin, this needs to be in v3-2-stable :-)

Volker
(This used to be commit 2c42fc21d8bede226e411623aecd69038477373b)

16 years agoFix gp_find_file() which broke during the pstring removal.
Günther Deschner [Mon, 3 Mar 2008 08:43:10 +0000 (09:43 +0100)]
Fix gp_find_file() which broke during the pstring removal.

Guenther
(This used to be commit f18ba6c877fa934d19ecc6a65be74b8bad7ee7e4)

16 years agoUpdate WHATSNEW.
Karolin Seeger [Fri, 29 Feb 2008 16:51:00 +0000 (17:51 +0100)]
Update WHATSNEW.
Parameter 'hidden' has been renamed to 'administrative share'.

Karolin
(This used to be commit d0ab519652c3036725b0cea1b4930fc759b4d9fe)

16 years agoRemove use of deprecated function
Derrell Lipman [Sun, 2 Mar 2008 21:21:48 +0000 (16:21 -0500)]
Remove use of deprecated function
(This used to be commit 93580bce833453ba512ee436d6dfdbdcd2c53777)

16 years agofixed missing white space
Derrell Lipman [Sun, 2 Mar 2008 21:13:25 +0000 (16:13 -0500)]
fixed missing white space
(This used to be commit 71e86f13b0ace3841c6712084728c79db74ff803)

16 years agoUpdate WHATSNEW for libsmbclient changes
Derrell Lipman [Sun, 2 Mar 2008 04:08:19 +0000 (23:08 -0500)]
Update WHATSNEW for libsmbclient changes
(This used to be commit f07407a32e178a47c8f9b3e3703aa5a20f0a4f06)

16 years agoReturn NULL, not 0, from a function which returns a pointer.
Derrell Lipman [Sun, 2 Mar 2008 02:19:52 +0000 (21:19 -0500)]
Return NULL, not 0, from a function which returns a pointer.
(This used to be commit 23cb9c49e3724cecaa66655ef64c3111bf14c552)

16 years agochange variable name from f to fn for function pointers
Derrell Lipman [Sun, 2 Mar 2008 02:19:15 +0000 (21:19 -0500)]
change variable name from f to fn for function pointers
(This used to be commit 1fd65359f6cd07539cfe43146ac367a48708a678)

16 years agoComment was in wrong place
Derrell Lipman [Sun, 2 Mar 2008 01:56:54 +0000 (20:56 -0500)]
Comment was in wrong place
(This used to be commit dec70fa3c0424c148016cc667a3c159e16d8a944)

16 years agoMark smbc_option_{get,set} as deprecated
Derrell Lipman [Sun, 2 Mar 2008 01:55:21 +0000 (20:55 -0500)]
Mark smbc_option_{get,set} as deprecated
(This used to be commit a8b4b773d4647f28e7b92c5968469721d34eb550)

16 years agoAdditional revamped libsmbclient documentation
Derrell Lipman [Sun, 2 Mar 2008 01:44:21 +0000 (20:44 -0500)]
Additional revamped libsmbclient documentation

- Ensured that all public functions have documentation in libsmbclient.h
- Reformatted for "proper" indentation
- Re-added temporarily-disabled alternate authentication function capability

Derrell
(This used to be commit 64b7150d92849a1e1e2416b9dcc12fae8d6bea99)

16 years agoModified revamp of the libsmbclient interface.
Derrell Lipman [Fri, 29 Feb 2008 18:34:35 +0000 (13:34 -0500)]
Modified revamp of the libsmbclient interface.

Given the tacit (if that) approval by some people, and clear disapproval by
others for my proposed clean-up and reorganization of libsmbclient, I've come
up with a slightly different approach.  This commit changes back to the
original libsmbclient.h SMBCCTX structure which will maintain ABI
compatibility.  I retain, here, the setter and getter functions which all new
code should use.  Older programs already compiled should continue to work
fine.  Older programs being recompiled will encounter compile-time errors
(intentionally!) so that the code can be corrected to use the setter/getter
interfaces.

Although this doesn't clean up the interface in the way I had wanted, the code
reorganization and requirement for new programs to use the setters and getters
allows future progress to be made on libsmbclient without further muddying up
the interface, while retaining the ABI compatibility that was the big issue
causing disapproval.  I hope that this compromise is adequate.

Derrell
(This used to be commit 56429a3d60b2a48963342f6340b3c01469a892c6)

16 years agoInitial revamp of the libsmbclient interface.
Derrell Lipman [Thu, 28 Feb 2008 16:23:20 +0000 (11:23 -0500)]
Initial revamp of the libsmbclient interface.

The libsmbclient interface has suffered from difficulty of improvement and
feature enrichment without causing ABI breakage.  Although there were a number
of issues, the primary ones were:

(a) the user of the library would manually manipulate the context structure
    members, meaning that nothing in the context structure could change other
    than adding stuff at the end;

(b) there were three methods of setting options: setting bits in a flags field
    within the context structure, setting explicit options variables within an
    options structure in the context structure, and by calling the
    smbc_option_set() function;

(c) the authentication callback did not traditionally provide enough
    information to the callee which required adding an option for a callback
    with a different signature, and now there are requests for even more
    information at the callback, requiring yet a third signature and option to
    set it (if we implement that feature).

This commit provides a reorganization of the code which fixes (a) and (b).
The context structure is now entirely opaque, and there are setter and getter
functions for manipulating it.  This makes maintaining ABI consistency much,
much easier.

Additionally, the options setting/getting has been unified into a single
mechanism using smbc_option_set() and smbc_option_get().

Yet to be completed is a refactoring of the authentication callback (c).

The test programs in examples/libsmbclient have been modified (if necessary;
some applications require no changes at all) for the new API and a few have
been minimally tested.

Derrell
(This used to be commit d4b4bae8ded824d06ad5ab0e219f71187ee5c771)

16 years agoMake sure we are still able to join Windows 2008.
Günther Deschner [Sat, 1 Mar 2008 15:13:25 +0000 (16:13 +0100)]
Make sure we are still able to join Windows 2008.

Guenther
(This used to be commit aa9c0f587718f4d647e87b9662acbedba042b9cb)

16 years agoRevert "Add basic infrastructure for general async requests"
Volker Lendecke [Sat, 1 Mar 2008 08:26:43 +0000 (09:26 +0100)]
Revert "Add basic infrastructure for general async requests"

This reverts commit ae254cb61f4b9331755848c47ebc34e90dd80390.
(This used to be commit 030bef7f22f7a73466204b7860f397dbca9f2ab0)

16 years agoRevert "Add infrastructure to support async SMB requests"
Volker Lendecke [Sat, 1 Mar 2008 08:26:27 +0000 (09:26 +0100)]
Revert "Add infrastructure to support async SMB requests"

This reverts commit f5356825698a02df2d400b51dd95d1f857c83e81.
(This used to be commit 5f53a62be8a21b8d92ac44b18d202882500356e8)

16 years agoRevert "Add async cli_pull support"
Volker Lendecke [Sat, 1 Mar 2008 08:26:18 +0000 (09:26 +0100)]
Revert "Add async cli_pull support"

This reverts commit 844a163458c7585e4306a21ffdae5d08e03d6e4d.
(This used to be commit 5ab1cfda500de07ff3c712442ab2fc74eecc8886)

16 years agoRevert "Convert cli_read to use cli_pull"
Volker Lendecke [Sat, 1 Mar 2008 08:26:06 +0000 (09:26 +0100)]
Revert "Convert cli_read to use cli_pull"

This reverts commit 719527f55e88f0c5fdceda5c807475aba299c79f.
(This used to be commit ac301fada257e2d3b50148109a3d44fa1421b0b4)

16 years agoRevert "Fix warnings"
Volker Lendecke [Sat, 1 Mar 2008 08:25:52 +0000 (09:25 +0100)]
Revert "Fix warnings"

This reverts commit 9a966e5593ae4474014aec5d8c68c489ac8ce0c9.
(This used to be commit 413695e8d0d8232a9c35e693f9a4a8009418ede4)

16 years agoFix init_registry_data for subkeyless top-level keys.
Günther Deschner [Fri, 29 Feb 2008 23:32:36 +0000 (00:32 +0100)]
Fix init_registry_data for subkeyless top-level keys.

On a fresh install with no existing registry.tdb, make sure we are able to
create our initial top-level entries.

Michael, Volker, please check.

Guenther
(This used to be commit 956bc602062825493e1c357e2388fee1e5514b50)

16 years agoRestore 3.0 behaviour with empty /etc/hosts
Volker Lendecke [Fri, 29 Feb 2008 21:38:10 +0000 (22:38 +0100)]
Restore 3.0 behaviour with empty /etc/hosts

Jeremy, in 3.0 we allowed get_mydnsdomname and get_mydnsfullname to fail
without filling in anything useful. Worked fine. Without this patch and a empty
/etc/hosts and no DNS configured, session setup would return
NT_STATUS_BAD_NETWORK_NAME. This is confusing at best, BAD_NETWORK_NAME afaik
is only ever returned from tcon normally.

This restores the 3.0 behaviour.

Comments?

Volker
(This used to be commit 2bd3b7d474768f842921945d283eac10da2a1684)

16 years agoCheck the right variable for being NULL
Volker Lendecke [Fri, 29 Feb 2008 21:33:35 +0000 (22:33 +0100)]
Check the right variable for being NULL
(This used to be commit f2c67803792f1fd3929e922c1f626f8247e08992)

16 years agoFix the build w/o ldap.
Günther Deschner [Fri, 29 Feb 2008 19:52:35 +0000 (20:52 +0100)]
Fix the build w/o ldap.

Guenther
(This used to be commit 5f592d030b7e94331a634e0d625aefc60cfb1f70)

16 years agoAdd gp_get_machine_token().
Günther Deschner [Fri, 29 Feb 2008 17:23:53 +0000 (18:23 +0100)]
Add gp_get_machine_token().

Guenther
(This used to be commit 2f1bc7ddad97b9137ae4cce696bf4e08f9b7ca20)

16 years agoRevert "what a wurst."
Günther Deschner [Fri, 29 Feb 2008 17:19:06 +0000 (18:19 +0100)]
Revert "what a wurst."

That commit message was just too silly, this happens to me during interactive
rebase all the time...

This reverts commit ab687104c1371c84c510eca7ef2caad7c21ea8fc.
(This used to be commit a3a1edab0d5ac07d42e64a5a82dd71fe0c3fdfeb)

16 years agowhat a wurst.
Günther Deschner [Fri, 29 Feb 2008 16:45:25 +0000 (17:45 +0100)]
what a wurst.
(This used to be commit ab687104c1371c84c510eca7ef2caad7c21ea8fc)

16 years agoAdd "registry" Group Policy extension.
Günther Deschner [Fri, 29 Feb 2008 16:06:22 +0000 (17:06 +0100)]
Add "registry" Group Policy extension.

Guenther
(This used to be commit 4e93301ca4931908a7d1994be45c57002f8c6fea)

16 years agoAdd Group Policy extension infrastructure.
Günther Deschner [Fri, 29 Feb 2008 15:03:23 +0000 (16:03 +0100)]
Add Group Policy extension infrastructure.

Guenther
(This used to be commit 6d543b1a1a5a7af98affc9aea2edf650cb476379)

16 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Fri, 29 Feb 2008 14:56:06 +0000 (06:56 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit e7406822d32d5b36d3706144efbd1eaa7c44cead)

16 years agoPatch to fix the "Invalid read of size 4" errors. Bug #3617.
Jeremy Allison [Fri, 29 Feb 2008 14:55:33 +0000 (06:55 -0800)]
Patch to fix the "Invalid read of size 4" errors. Bug #3617.
Jeremy.
(This used to be commit fa12667ec284fdda45b79cbf6bf548ab0faae34f)

16 years agoAdd infrastructure for reading/storing Group Policy state and control data in the...
Günther Deschner [Fri, 29 Feb 2008 14:46:14 +0000 (15:46 +0100)]
Add infrastructure for reading/storing Group Policy state and control data in the registry.

Guenther
(This used to be commit f673bbd300d972dd7ae2d092b3b1e642ed29cfd2)

16 years agoFix warnings
Volker Lendecke [Fri, 29 Feb 2008 14:13:02 +0000 (15:13 +0100)]
Fix warnings
(This used to be commit 9a966e5593ae4474014aec5d8c68c489ac8ce0c9)

16 years agoPure cosmetics, trying to get my group policy diff smaller.
Günther Deschner [Fri, 29 Feb 2008 13:51:37 +0000 (14:51 +0100)]
Pure cosmetics, trying to get my group policy diff smaller.

Gunther
(This used to be commit d7346e9360ffa97e44fa781293d32c707436193b)

16 years agoFix part of bug #3617 from valgrind trace.
Jeremy Allison [Fri, 29 Feb 2008 13:51:09 +0000 (05:51 -0800)]
Fix part of bug #3617 from valgrind trace.
"Invalid read of size 1" errors.
Jeremy.
(This used to be commit d954a4954ba8ed6cb2c6074176a6008cfa398dd7)

16 years agoEliminate tons of build warnings on non-IPV6 system.
Michael Adam [Fri, 29 Feb 2008 12:35:16 +0000 (13:35 +0100)]
Eliminate tons of build warnings on non-IPV6 system.

Michael
(This used to be commit ee4810099c2d26a0ebab3c41a95bc6b57921683d)

16 years agoRevert "make idl: Only compile idl files newer than the output to be generated."
Michael Adam [Fri, 29 Feb 2008 12:17:18 +0000 (13:17 +0100)]
Revert "make idl: Only compile idl files newer than the output to be generated."

This reverts commit 79c199d16e565eabd9fd971247f8df62689bb92a.

Revert this until pidl is capable of doing decent dependency tracking
itself (importing types from imported idls).

Michael
(This used to be commit 1fb69ad1f5c79dd77f73a5fee266e1e363e6974d)

16 years agoRevert "Add libnet_join.idl to the IDL files to be processed by "make idl"."
Michael Adam [Fri, 29 Feb 2008 12:15:56 +0000 (13:15 +0100)]
Revert "Add libnet_join.idl to the IDL files to be processed by "make idl"."

This reverts commit 9b47a7329091b2bfe7cd9b2112ac8fa652ed9f60.

libnet_join.idl should not be processed along with the other idl files
since it should not produce server and client code, just the header.

Michael
(This used to be commit 2967b29f23e04f24a62ea576b0b6c948055689d0)

16 years agoRename the 'hidden' variable to 'administrative share'.
Andreas Schneider [Thu, 28 Feb 2008 13:06:11 +0000 (14:06 +0100)]
Rename the 'hidden' variable to 'administrative share'.
(This used to be commit eff3d3bad5a8860b99375cc0be9dc24f3679e416)

16 years agoFix linking of smbget when there is no shared library support.
Michael Adam [Fri, 29 Feb 2008 11:38:29 +0000 (12:38 +0100)]
Fix linking of smbget when there is no shared library support.

smbget needs libwbclient.

Michael
(This used to be commit 78bc496ecf72b5c2474911302e81a90c488e3070)

16 years agoFill in WHATSNEW.txt.
Günther Deschner [Fri, 29 Feb 2008 10:43:06 +0000 (11:43 +0100)]
Fill in WHATSNEW.txt.

Guenther
(This used to be commit 55e85ccd3ec59afc05b955f1458d9fc655cee752)

16 years agoAttempt to fix the build
Volker Lendecke [Fri, 29 Feb 2008 09:17:35 +0000 (10:17 +0100)]
Attempt to fix the build
(This used to be commit 364d87a5e41045808ebd28f46c5c0c93bd13a7da)

16 years agoconfigure: only build vfs_syncops if dirfd() is available
Stefan Metzmacher [Fri, 29 Feb 2008 08:58:37 +0000 (09:58 +0100)]
configure: only build vfs_syncops if dirfd() is available

This hopefully fixes the build on HP-UX.

metze
(This used to be commit 5fb7533e37b6c682e019b1c3515dc6befc8bda09)

16 years agoconfigure: Remove lib/repdir.c and related stuff
Stefan Metzmacher [Fri, 29 Feb 2008 08:25:18 +0000 (09:25 +0100)]
configure: Remove lib/repdir.c and related stuff

It was only used in configure, but lib/replace already
has a much better version of it.

metze
(This used to be commit c9b60b75b4763c37cfa63741b4f055e4ea488e92)

16 years agoAdd vfs_aio_fork
Volker Lendecke [Thu, 21 Feb 2008 15:14:08 +0000 (16:14 +0100)]
Add vfs_aio_fork

This is used for two purposes:

First, I'm using it to test the async I/O code. In the forked process it is
pretty easy to delay a reply for a random amount of time. See the
BUILD_FARM_HACKS snippet.

Second, there are systems around that claim to have Posix AIO but which is
broken. This might be some help for those systems.

Also add tests how to pass file descriptors
(This used to be commit b0e52cecf2009d4c7f29412dadf17910e54e4327)

16 years agoFix creation of replacetort.
Michael Adam [Fri, 29 Feb 2008 08:40:09 +0000 (09:40 +0100)]
Fix creation of replacetort.

Forgot to git add Makefile.in before doing git commit --amend
in previous commit...

Michael
(This used to be commit 7cf645cdae8ce17705036951538991b0a9dbefaf)

16 years agolibreplace: add snprintf.c to test code for getifaddrs - needed on some systems.
Michael Adam [Fri, 29 Feb 2008 01:46:14 +0000 (02:46 +0100)]
libreplace: add snprintf.c to test code for getifaddrs - needed on some systems.

Michael
(cherry picked from commit 0aff54a12e20d5e91fcdec7aaec103fb9a371a23)
(This used to be commit 77b7d7c0417e498340d1c9364fbbb8671c175477)

16 years agolibreplace: ifdef out ip6 code if unsupported.
Michael Adam [Fri, 29 Feb 2008 01:43:24 +0000 (02:43 +0100)]
libreplace: ifdef out ip6 code if unsupported.

Michael
(cherry picked from commit 54cc0df4dbf6d63a9b94e1ac6af4ec7f7803bc30)
(This used to be commit 1ff0b616a9cb029040031f797b52112d4973e1eb)

16 years agolibreplace: fix rep_freeifaddrs to not segfault on NULL input.
Michael Adam [Fri, 29 Feb 2008 01:23:29 +0000 (02:23 +0100)]
libreplace: fix rep_freeifaddrs to not segfault on NULL input.

Michael
(cherry picked from commit 0cbb87453beb52c6b0bc3a48791f49678f4030c5)
(This used to be commit 34d906ef44d1a5c3452097a9cac438d721fe35c1)

16 years agolibreplace: fix silly crashbug in getifaddrs_test().
Michael Adam [Fri, 29 Feb 2008 01:22:02 +0000 (02:22 +0100)]
libreplace: fix silly crashbug in getifaddrs_test().

Michael
(cherry picked from commit 523626908d25f974fd1ae6d7306b1d4bc8414162)
(This used to be commit 0906120a6e4fe0eb66f3c3fd99c625b30672cb2b)

16 years agolibreplace: add missing newline in output of getifaddrs test.
Michael Adam [Fri, 29 Feb 2008 00:49:30 +0000 (01:49 +0100)]
libreplace: add missing newline in output of getifaddrs test.

Michael
(cherry picked from commit f8243cfc47c7414bab7f249d0e5d1c85e8ca7d64)
(This used to be commit 3c1843f931b896dd3bb142346ecb44c0fb9202d6)

16 years agolibreplace: add missing semicolon to getifaddrs.
Michael Adam [Fri, 29 Feb 2008 00:25:54 +0000 (01:25 +0100)]
libreplace: add missing semicolon to getifaddrs.

Michael
(cherry picked from commit 29818a07de826fd687003ff25865d77939ecaa9a)
(This used to be commit 1d906d346ed90b87895772a64c7613324ef8b682)

16 years agolibreplace: try and fix rep_getifaddrs() for Tru64.
Michael Adam [Thu, 28 Feb 2008 23:06:55 +0000 (00:06 +0100)]
libreplace: try and fix rep_getifaddrs() for Tru64.

Don't fail when there is no address assigned to the interface.
Put NULL into the ifaddrs structure instead.

Michael
(cherry picked from commit ee170c85e0e76411bd752de5fe51db6940dab929)
(This used to be commit 650cc1da4b4404880389c583dbb07ce86df48576)

16 years agolibreplace: use the new getifaddrs test also for autoconf.
Michael Adam [Thu, 28 Feb 2008 20:44:31 +0000 (21:44 +0100)]
libreplace: use the new getifaddrs test also for autoconf.

Michael
(cherry picked from commit a2a506ff0eae2a64ebe2ddbb81a6c2a5fa7fe3da)
(This used to be commit c5932414fdf0b568cbfe6cdefaec41c8afc8ca6b)

16 years agolibreplace: add extended getifaddrs test that prints out the interfaces.
Michael Adam [Thu, 28 Feb 2008 20:43:06 +0000 (21:43 +0100)]
libreplace: add extended getifaddrs test that prints out the interfaces.

Michael

cherry-picked from libreplace-part of 9d2bab09aac22c00fe23f1e1265a2dbd0901e9ce
and adapted replacetort creation
(This used to be commit 52d79ad4872a20cf55f31aba97629c2561bfc16c)