ira/wip.git
14 years agoRemove now unneeded talloc ctx parameter from do_JoinConfig().
Michael Adam [Tue, 25 Dec 2007 02:41:34 +0000 (03:41 +0100)]
Remove now unneeded talloc ctx parameter from do_JoinConfig().

Michael
(This used to be commit be985d8d0ce80d12aa7f0b447b16b14aa0362826)

14 years agoRemove now unneeded talloc ctx parameter from do_join_modify_vals_config().
Michael Adam [Tue, 25 Dec 2007 02:40:35 +0000 (03:40 +0100)]
Remove now unneeded talloc ctx parameter from do_join_modify_vals_config().

Michael
(This used to be commit f8823ae1232022ed3f7f9be6b8959d413e8aed19)

14 years agoRemove now unneeded talloc ctx parameter from do_UnjoinConfig().
Michael Adam [Tue, 25 Dec 2007 02:39:31 +0000 (03:39 +0100)]
Remove now unneeded talloc ctx parameter from do_UnjoinConfig().

Michael
(This used to be commit 92b8e5ea4ba26d663ea4e6fb65e4225d8259ea60)

14 years agoRemove now unneeded talloc ctx parameter from do_unjoin_modify_vals_config().
Michael Adam [Tue, 25 Dec 2007 02:38:06 +0000 (03:38 +0100)]
Remove now unneeded talloc ctx parameter from do_unjoin_modify_vals_config().

Michael
(This used to be commit 4f7375a110a69530d6ef9781573f45a5bf8391a5)

14 years agoAdd two missing free-s.
Michael Adam [Tue, 25 Dec 2007 02:35:00 +0000 (03:35 +0100)]
Add two missing free-s.

Michael
(This used to be commit 4efac39c363d565c2c7211da73d5e1cf2ac3d0b2)

14 years agoRemove talloc context parameter from libnet_smbconf_delparm().
Michael Adam [Tue, 25 Dec 2007 02:34:04 +0000 (03:34 +0100)]
Remove talloc context parameter from libnet_smbconf_delparm().

Make use of talloc stackframe internally.
This removes talloc contxt from net_conf_delparm.

Michael
(This used to be commit 16f137393881edc78c9322f038ba38e53e3ee07d)

14 years agoAdd a missing free.
Michael Adam [Tue, 25 Dec 2007 02:29:41 +0000 (03:29 +0100)]
Add a missing free.

Michael
(This used to be commit bf6031287f75a0e17092f60f9885e7e55cd0f93c)

14 years agoRemove talloc context parameter from libnet_smbconf_setparm().
Michael Adam [Tue, 25 Dec 2007 02:29:05 +0000 (03:29 +0100)]
Remove talloc context parameter from libnet_smbconf_setparm().

Make use of talloc stackframe internally.
This removes talloc contxt from net_conf_setparm.

Michael
(This used to be commit efaffefc438f8375a083b194ac7a09e563000d3c)

14 years agoTypofix in comment.
Michael Adam [Tue, 25 Dec 2007 02:16:25 +0000 (03:16 +0100)]
Typofix in comment.

Michael
(This used to be commit 5039a70246a475176fa8212ad78b430f2211951f)

14 years agoAdd comment header to function libnet_smbconf_drop().
Michael Adam [Tue, 25 Dec 2007 02:08:00 +0000 (03:08 +0100)]
Add comment header to function libnet_smbconf_drop().

Michael
(This used to be commit e94edb6bdbc9379b48679d7c72618acfe862fe52)

14 years agoRemove a d_fprintf() from libnet_smbconf_drop().
Michael Adam [Tue, 25 Dec 2007 02:06:48 +0000 (03:06 +0100)]
Remove a d_fprintf() from libnet_smbconf_drop().

Michael
(This used to be commit 078e5e98b3589cec78893d44146a653dad9a7460)

14 years agoRemove talloc context parameter from libnet_smbconf_drop().
Michael Adam [Tue, 25 Dec 2007 02:05:06 +0000 (03:05 +0100)]
Remove talloc context parameter from libnet_smbconf_drop().

Make use of talloc_stackframe.

Michael
(This used to be commit aaceab1153f6c2a2adde83681913c771a16ca81f)

14 years agoRename drop_smbconf_internal() to libnet_smbconf_drop().
Michael Adam [Tue, 25 Dec 2007 02:01:59 +0000 (03:01 +0100)]
Rename drop_smbconf_internal() to libnet_smbconf_drop().

Michael
(This used to be commit 5873e6a1f8242e07b1699366a536350a7199c28c)

14 years agoMove drop_smbconf_internal() to libnet_conf.c
Michael Adam [Tue, 25 Dec 2007 01:55:07 +0000 (02:55 +0100)]
Move drop_smbconf_internal() to libnet_conf.c

Michael
(This used to be commit 4c2a3396bb687703f6b74655fda2014d1f75200b)

14 years agoUse the proper boolean constants in net_conf.c
Michael Adam [Tue, 25 Dec 2007 01:48:45 +0000 (02:48 +0100)]
Use the proper boolean constants in net_conf.c

Michael
(This used to be commit 1fe4ea63b197cb7ebc054909d888d74b5ad6523c)

14 years agoAdd error reporting to net_conf_delshare().
Michael Adam [Tue, 25 Dec 2007 01:42:33 +0000 (02:42 +0100)]
Add error reporting to net_conf_delshare().

Michael
(This used to be commit 8d02a2de61eb6b62fef1fbe57194c9d286423ba0)

14 years agoSimplify libnet_smbconf_delshare().
Michael Adam [Tue, 25 Dec 2007 01:31:41 +0000 (02:31 +0100)]
Simplify libnet_smbconf_delshare().

Remove talloc context parameter.
Remove d_printf error message.

Michael
(This used to be commit 870d35c04889603843bae989fb9c01396b4c6ed1)

14 years agoRename reg_delkey_internal() to libnet_smbconf_delshare().
Michael Adam [Tue, 25 Dec 2007 01:24:39 +0000 (02:24 +0100)]
Rename reg_delkey_internal() to libnet_smbconf_delshare().

Michael
(This used to be commit 7d501f0d78ec57509d0bc5ef0dc16fcd24ee27e7)

14 years agoMove reg_delkey_internal() to libnet/libnet_conf.c
Michael Adam [Tue, 25 Dec 2007 01:21:30 +0000 (02:21 +0100)]
Move reg_delkey_internal() to libnet/libnet_conf.c

Michael
(This used to be commit c1b863fd0520ce64a1bad5e2fa3f69afcc2c78d5)

14 years agoAttempt to fix the ifreq detection
Volker Lendecke [Mon, 24 Dec 2007 23:12:18 +0000 (00:12 +0100)]
Attempt to fix the ifreq detection
(This used to be commit 2d08959685b495caf1884babbece27775d8bcb4f)

14 years agoDo not leak memory in libnet_smbconf_delparm().
Michael Adam [Mon, 24 Dec 2007 00:03:14 +0000 (01:03 +0100)]
Do not leak memory in libnet_smbconf_delparm().

Michael
(This used to be commit 49cfe2b9ebe03d5985187890445b775047f8a2f4)

14 years agoDo not leak memory in libnet_smbconf_setparm().
Michael Adam [Mon, 24 Dec 2007 00:00:46 +0000 (01:00 +0100)]
Do not leak memory in libnet_smbconf_setparm().

Michael
(This used to be commit a657b1c9f17d3cebc86b596f1f2d244750d70a6d)

14 years agoUse the appropriate boolean constants.
Michael Adam [Sun, 23 Dec 2007 23:57:04 +0000 (00:57 +0100)]
Use the appropriate boolean constants.

Michael
(This used to be commit 45e3e2451adc1490b62d39d486c169ad53e1d3f3)

14 years agoMake libnet_smbconf_value_exists() use talloc_stackframe().
Michael Adam [Sun, 23 Dec 2007 23:56:24 +0000 (00:56 +0100)]
Make libnet_smbconf_value_exists() use talloc_stackframe().

And not pass a talloc context.

Michael
(This used to be commit 2983aba9d092e6ede43f6eb521c17fe3f304d041)

14 years agoMake libnet_smbconf_key_exists() use talloc_stackframe().
Michael Adam [Sun, 23 Dec 2007 23:53:22 +0000 (00:53 +0100)]
Make libnet_smbconf_key_exists() use talloc_stackframe().

And not pass a talloc context.

Michael
(This used to be commit 7e8451f2f03b246801783aaf4b3d54465292f8f7)

14 years agoDon't leak memory in libnet_smbconf_getparm().
Michael Adam [Sun, 23 Dec 2007 23:47:43 +0000 (00:47 +0100)]
Don't leak memory in libnet_smbconf_getparm().

Michael
(This used to be commit 09e62c765401102480d39a483bfffaf5a054babc)

14 years agoFix rights error in libnet_smbconf_delparm().
Michael Adam [Sun, 23 Dec 2007 22:58:58 +0000 (23:58 +0100)]
Fix rights error in libnet_smbconf_delparm().

Introduced by additional test for existence of given parameter.

Michael
(This used to be commit 0fe095e85ca981e5660a67f3fb7d7965ae62c667)

14 years agoRemove redundant check of return value.
Michael Adam [Sun, 23 Dec 2007 22:02:47 +0000 (23:02 +0100)]
Remove redundant check of return value.

Michael
(This used to be commit 29f46c2d45e7ad7f8a9a525f9ac82c050a510967)

14 years agoMove logic of net_conf_getparm() to libnet_conf.c.
Michael Adam [Sun, 23 Dec 2007 14:07:20 +0000 (15:07 +0100)]
Move logic of net_conf_getparm() to libnet_conf.c.

Michael
(This used to be commit d3a20c4d5a8109334cd3ed665ba60cfcc4425059)

14 years agoselftest: also export LD_LIBRARY_PATH for samba4's smbtorture
Stefan Metzmacher [Sun, 23 Dec 2007 19:09:16 +0000 (20:09 +0100)]
selftest: also export LD_LIBRARY_PATH for samba4's smbtorture

metze
(This used to be commit f5570dcf503a4b28ebf624d06fd090f3b6b0a560)

14 years agoAttempt to make the build farm run s4torture again
Volker Lendecke [Sun, 23 Dec 2007 15:38:28 +0000 (16:38 +0100)]
Attempt to make the build farm run s4torture again
(This used to be commit 04710626e174d7237521f33a351b4425add063b8)

14 years agoAttempt to fix the Solaris build
Volker Lendecke [Sun, 23 Dec 2007 14:53:09 +0000 (15:53 +0100)]
Attempt to fix the Solaris build

Lets see what the others in the build farm think about this
(This used to be commit c2a988d8427b7598291ae6999b5258e2b6a2e7cb)

14 years agoConvert the [gu]id_sid cache to memcache
Volker Lendecke [Sat, 22 Dec 2007 13:52:34 +0000 (14:52 +0100)]
Convert the [gu]id_sid cache to memcache
(This used to be commit 4baf36784f6496121a6863af0283821785eb0cf1)

14 years agoRename libnet_reg_createkey_internal() to libnet_smbconf_reg_createkey_internal().
Michael Adam [Sun, 23 Dec 2007 03:10:15 +0000 (04:10 +0100)]
Rename libnet_reg_createkey_internal() to libnet_smbconf_reg_createkey_internal().

Michael
(This used to be commit 0e7f215f54c68b2d40f65f90ed11c41e1a7ef5ed)

14 years agoMake libnet_smbconf_set_global_param() call libnet_smbconf_setparm().
Michael Adam [Sun, 23 Dec 2007 02:52:00 +0000 (03:52 +0100)]
Make libnet_smbconf_set_global_param() call libnet_smbconf_setparm().

This not only removes duplicate logic, but also the use of
libnet_smbconf_reg_setvalue_internal() instead of do_modify_val_config()
which is removed, does add important tests and canonicalizations.

Michael
(This used to be commit fa844866493ee270f31faa3eca77cdff16b26301)

14 years agoReorder libnet_conf.c some, adding "section" comments.
Michael Adam [Sun, 23 Dec 2007 02:47:16 +0000 (03:47 +0100)]
Reorder libnet_conf.c some, adding "section" comments.

Michael
(This used to be commit b9f22adfd3e67046b7d786b5b338e078b4cdc6df)

14 years agoMove net_conf_setparm() to libnet_conf.c
Michael Adam [Sun, 23 Dec 2007 02:41:55 +0000 (03:41 +0100)]
Move net_conf_setparm() to libnet_conf.c

renaming it to libnet_smbconf_setparm()

Michael
(This used to be commit 60f49b22b5aa125ff6cb358a258a1be99c378d7a)

14 years agoMove reg_setvalue_internal() to libnet_conf.c
Michael Adam [Sun, 23 Dec 2007 02:34:36 +0000 (03:34 +0100)]
Move reg_setvalue_internal() to libnet_conf.c

renaming it to libnet_smbconf_setvalue_internal()

Michael
(This used to be commit 7cb51a1d6d95704225d9ab22e88cc76fa910d38c)

14 years agoRemove occurrences of registry_key from libnet_join.c
Michael Adam [Sun, 23 Dec 2007 02:13:30 +0000 (03:13 +0100)]
Remove occurrences of registry_key from libnet_join.c

Replace duplicated logic by calls of libnet_smbconf_set_global_param()
from libnet_conf.c, pushing logic from do_JoinConfig() and do_UnjoinConfig()
to do_join_modify_vals_config() and do_unjoin_modify_vals_config()
respectively.

Only the net_conf api functions should be exported by libnet_conf.c, not
the lower level registry access functions.

Michael
(This used to be commit 81b9f1301d61f05f9153be61d62c13e82cecf7e2)

14 years agoReplace direct deletion of registry value by use of libnet_smbconf_delparm().
Michael Adam [Sun, 23 Dec 2007 02:02:19 +0000 (03:02 +0100)]
Replace direct deletion of registry value by use of libnet_smbconf_delparm().

Michael
(This used to be commit 415fc0a5261f4d941027e5d5305fcea882724aef)

14 years agoMove logic of net_smbconf_delparm() to libnet/libnet_conf.c
Michael Adam [Sun, 23 Dec 2007 01:55:25 +0000 (02:55 +0100)]
Move logic of net_smbconf_delparm() to libnet/libnet_conf.c

Logic in new function libnet_smbconf_delparm().

Michael
(This used to be commit 0cff79e3552e91ba0b6bc054802d28afcf4e8da4)

14 years agoMove smbconf_value_exists() to libnet/net_conf.c
Michael Adam [Sun, 23 Dec 2007 01:44:29 +0000 (02:44 +0100)]
Move smbconf_value_exists() to libnet/net_conf.c

renaming it to libnet_smbconf_value_exists().

Michael
(This used to be commit ba71c6844588f0342589163f514385911e7331e7)

14 years agoMake libnet_smbconf_open_path_q() static.
Michael Adam [Sun, 23 Dec 2007 00:43:13 +0000 (01:43 +0100)]
Make libnet_smbconf_open_path_q() static.

Michael
(This used to be commit 8cf8ed9de8c3f41588fa93bd102f61f5b8b493c4)

14 years agoIf we detect a case insensitive filesystem make
Jeremy Allison [Sun, 23 Dec 2007 01:38:18 +0000 (17:38 -0800)]
If we detect a case insensitive filesystem make
sure we don't search directories on name misses
for non-mangled names.
Jeremy
(This used to be commit 120048d2f40cf1a0ace2ecde205cbc694d263d69)

14 years agoFix typo in output.
Michael Adam [Sun, 23 Dec 2007 00:34:20 +0000 (01:34 +0100)]
Fix typo in output.

Michael
(This used to be commit 2fe111c19bc827ec132365e718a2136bda57e568)

14 years agoFix wbcAllocate[GU]id
Volker Lendecke [Sat, 22 Dec 2007 23:35:06 +0000 (00:35 +0100)]
Fix wbcAllocate[GU]id

wbcRequestResponse() returns a wbcErr, not NSS_STATUS
(This used to be commit 1bbdbdef991408af07afaba7bc0b4da55f06aed8)

14 years agoFix wbcPing()
Volker Lendecke [Sat, 22 Dec 2007 23:33:44 +0000 (00:33 +0100)]
Fix wbcPing()

Without request and response, wbcRequestResponse() will always return
WBC_ERR_INVALID_PARAM, so the ping will never reach winbind.
(This used to be commit 9a24753d35a4b1a283a65c60088d82e4b80f14c8)

14 years agotiny simplification
Volker Lendecke [Sat, 22 Dec 2007 23:32:09 +0000 (00:32 +0100)]
tiny simplification
(This used to be commit 8bd248456205a82d57af21559a77a1030f4679b7)

14 years agoUse filesystem capabilities to support case-insensitive filesystems.
James Peach [Sat, 22 Dec 2007 22:55:37 +0000 (14:55 -0800)]
Use filesystem capabilities to support case-insensitive filesystems.

If we know the underlying filesystem is case-insensitive, then we
know that it won't help to search for case variations of the requested
name.

Jeremy, please review (and revert if you disagree).
(This used to be commit 9e8b8f8c16612d8a08b55802f4fd9afca5498a7c)

14 years agoFix "may be used uninitialized" compiler warnings.
James Peach [Sat, 22 Dec 2007 22:10:06 +0000 (14:10 -0800)]
Fix "may be used uninitialized" compiler warnings.
(This used to be commit 22ac34a329c9be9cf7d1e6749ebcfb50215378e4)

14 years agoMerge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
James Peach [Sat, 22 Dec 2007 22:01:44 +0000 (14:01 -0800)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
(This used to be commit 30cb2d215f1a4a440d5ecaab3f898daa714eee2b)

14 years agoCache the underlying filesystem capabilities at connection time.
James Peach [Sat, 22 Dec 2007 22:01:25 +0000 (14:01 -0800)]
Cache the underlying filesystem capabilities at connection time.

This change alters the Samba connection code to cache the filesystem
capabilities when a new client connects. This can be used to enable
filesystem specific optimisations is a general manner.
(This used to be commit de3c5b808a941ac8e9ebe7169536d8290067eef5)

14 years agoRemove redundant connection_struct from check_magic() parameter list.
Michael Adam [Sat, 22 Dec 2007 01:13:02 +0000 (02:13 +0100)]
Remove redundant connection_struct from check_magic() parameter list.

Michael
(This used to be commit cebaa483e62910ac3f87cd135b2aff18dc880416)

14 years agoRemove redundant connection_struct from fd_close() parameter list.
Michael Adam [Sat, 22 Dec 2007 01:01:26 +0000 (02:01 +0100)]
Remove redundant connection_struct from fd_close() parameter list.

Michael
(This used to be commit 3611cc8561cf837adea83fc7c16ca7535f188466)

14 years agoRemove redundant connection_struct from fd_close_posix() parameter list.
Michael Adam [Sat, 22 Dec 2007 00:49:29 +0000 (01:49 +0100)]
Remove redundant connection_struct from fd_close_posix() parameter list.

Michael
(This used to be commit f3365b74ac016eaee1e82eef769dd618af5df201)

14 years agoAdd NT error to debug to try and track this down.
Jeremy Allison [Sat, 22 Dec 2007 00:43:02 +0000 (16:43 -0800)]
Add NT error to debug to try and track this down.
Jermey.
(This used to be commit a1482b09150f4d292965c77bc73d47fb14f5eb85)

14 years agoFix the build of cifs.spnego.
Günther Deschner [Sat, 22 Dec 2007 00:13:53 +0000 (01:13 +0100)]
Fix the build of cifs.spnego.

Guenther
(This used to be commit b4a4a2b2933d693876b67231f747e1e232936054)

14 years agoFix net_dom_join & net_dom_unjoin.
Günther Deschner [Fri, 21 Dec 2007 23:34:30 +0000 (00:34 +0100)]
Fix net_dom_join & net_dom_unjoin.

Guenther
(This used to be commit 6dd17e4840ee6c4bf0df3c3f76f9b232b3674d55)

14 years agoFix uninitialized error code in do_unjoin_modify_vals_config().
Günther Deschner [Fri, 21 Dec 2007 23:12:59 +0000 (00:12 +0100)]
Fix uninitialized error code in do_unjoin_modify_vals_config().

Guenther
(This used to be commit c890ebc3cad7222007e62227ec1f28d978310cbf)

14 years agoCorrect netapi header filename. Thanks Jeremy.
Günther Deschner [Fri, 21 Dec 2007 23:02:45 +0000 (00:02 +0100)]
Correct netapi header filename. Thanks Jeremy.

Guenther
(This used to be commit f192737ec8140aa6570bfb49a165b31890d63b16)

14 years agoFix install - it was trying to install libnetapi.h whereas
Jeremy Allison [Fri, 21 Dec 2007 22:38:52 +0000 (14:38 -0800)]
Fix install - it was trying to install libnetapi.h whereas
the actual file is netapi.h. Guenther please check which
name this should be !
Jeremy.
(This used to be commit 035fadaa596e893b7eeac09bc587ad3b73f77d0b)

14 years agoUntil we better understand the WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT make sure we are
Günther Deschner [Fri, 21 Dec 2007 22:04:26 +0000 (23:04 +0100)]
Until we better understand the WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT make sure we are
not joining as a DC.

Guenther
(This used to be commit bf3ffbb5d2e8588e0041f0b890b590c58f8fcecf)

14 years agoFix make test by adding winbind libs to vlp.
Jeremy Allison [Fri, 21 Dec 2007 21:42:47 +0000 (13:42 -0800)]
Fix make test by adding winbind libs to vlp.
Jeremy.
(This used to be commit abba6717b5da709ae9cf3097042228ddbe630cca)

14 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Fri, 21 Dec 2007 21:14:59 +0000 (13:14 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test

Conflicts:

source/library-versions.in
(This used to be commit 11acca7d3884731491709dd09b7de2edc8bb5811)

14 years agoGenerate pkgconfig files for at least lib{smbclient,smbsharemodes,netapi}.
Günther Deschner [Fri, 21 Dec 2007 21:05:17 +0000 (22:05 +0100)]
Generate pkgconfig files for at least lib{smbclient,smbsharemodes,netapi}.

Guenther
(This used to be commit ad87786c91709d62ee2cbd02c87e59b855e050cc)

14 years agoActually fix the merge.
Jeremy Allison [Fri, 21 Dec 2007 20:50:39 +0000 (12:50 -0800)]
Actually fix the merge.
Jeremy.
(This used to be commit c855de0c05e2e271e2610de67a6d7e3aba52390f)

14 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Fri, 21 Dec 2007 20:44:31 +0000 (12:44 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test

Conflicts:

source/Makefile.in
(This used to be commit 351df194a927371600824f4c03d8a24b95fbef64)

14 years agoMake sure libnet/libnet_proto.h exists.
Günther Deschner [Fri, 21 Dec 2007 20:25:39 +0000 (21:25 +0100)]
Make sure libnet/libnet_proto.h exists.

Guenther
(This used to be commit d6703f6d4e6a5256980188f6a840e6aaf07bc607)

14 years agoFix build failure if symlink already exists.
Jeremy Allison [Fri, 21 Dec 2007 20:18:35 +0000 (12:18 -0800)]
Fix build failure if symlink already exists.
Jeremy.
(This used to be commit b8310f427277640c7b2526d0c5cd84deecfd3e99)

14 years agoFix const warning.
Jeremy Allison [Fri, 21 Dec 2007 20:18:17 +0000 (12:18 -0800)]
Fix const warning.
Jeremy.
(This used to be commit 5159f897ddaad1878fff629cc074dd71b2b3f4ab)

14 years agoFix initialization warnings.
Jeremy Allison [Fri, 21 Dec 2007 20:11:23 +0000 (12:11 -0800)]
Fix initialization warnings.
Jeremy.
(This used to be commit 832c093830cb3978641be3d87670fa900105da25)

14 years agoFix making the new proto file after a distclean.
Jeremy Allison [Fri, 21 Dec 2007 20:06:37 +0000 (12:06 -0800)]
Fix making the new proto file after a distclean.
Jeremy.
(This used to be commit 35a450b59501c6545083efc9f913cb626188f329)

14 years agoFix "make test" using the LD_LIBRARY_PATH for selftest script so
Gerald (Jerry) Carter [Fri, 21 Dec 2007 19:50:13 +0000 (13:50 -0600)]
Fix "make test" using the LD_LIBRARY_PATH for selftest script so
smbd can locate the libwbclient library (if neccessary).
(This used to be commit 481cc9ab6a6608e13710c93783ea4e62363e78be)

14 years agoCompile fix: Correct use of wbcDomainInfo() after function signature change.
Gerald (Jerry) Carter [Fri, 21 Dec 2007 19:47:45 +0000 (13:47 -0600)]
Compile fix: Correct use of wbcDomainInfo() after function signature change.

Also fixes a doxygen warngin about an undocumented parameter in the same
function.
(This used to be commit 290ab64e9e5fb2a28e14a5f344f22119d5304563)

14 years agoDe-couple smbd from staticly linking against winbindd client files.
Gerald (Jerry) Carter [Fri, 21 Dec 2007 17:59:56 +0000 (11:59 -0600)]
De-couple smbd from staticly linking against winbindd client files.

Implements a wrapper layer in winbind_util.c which are just stubs
if compiled --without-winbind.  When building with winbindd, it
is now required to build the libwbclient DSO first (in the Makefile)
and then either set LD_LIBRARY_PATH or /etc/ld.so.conf to pick up the
library PATH.
(This used to be commit 42787bccff4fcffafc7aae6a678e792604ecaaa5)

14 years agoAdd files for new LGPL libwbclient DSO implementing the Winbind client API
Gerald (Jerry) Carter [Fri, 21 Dec 2007 17:57:34 +0000 (11:57 -0600)]
Add files for new LGPL libwbclient DSO implementing the Winbind client API
(based on the winbind_struct_protocol.h).

The API in incomplete, but sufficient to merge.  See wbclienbt.h for the i
interface functions.
(This used to be commit 83d274b46078a9ace77edb822a0e336c79dcf40e)

14 years agoMove gtk app to the correct location. Thanks obnox!
Günther Deschner [Fri, 21 Dec 2007 16:29:15 +0000 (17:29 +0100)]
Move gtk app to the correct location. Thanks obnox!

Guenther
(This used to be commit 740a2b080db56d504c4edd58bf41d72edb3d32ee)

14 years agoMove libnetapi examples into subdirs.
Günther Deschner [Fri, 21 Dec 2007 16:05:55 +0000 (17:05 +0100)]
Move libnetapi examples into subdirs.

Guenther
(This used to be commit 0c3de6f3458419e57daaa71f1dad679897388f5a)

14 years agoGitignore some generated files.
Günther Deschner [Fri, 21 Dec 2007 15:49:33 +0000 (16:49 +0100)]
Gitignore some generated files.

Guenther
(This used to be commit 1e090654320ba3ce94d8114acaf931dbb2557a0c)

14 years agoDeactive remote join code server side until some last issues are resolved.
Günther Deschner [Fri, 21 Dec 2007 15:44:52 +0000 (16:44 +0100)]
Deactive remote join code server side until some last issues are resolved.

Guenther
(This used to be commit 1489870f05695a929902264eb9b95eab886bdaa6)

14 years agoAdd netdomjoin-gui (my first gui application), another libnetapi user.
Günther Deschner [Fri, 21 Dec 2007 15:36:06 +0000 (16:36 +0100)]
Add netdomjoin-gui (my first gui application), another libnetapi user.

Guenther
(This used to be commit cf57ade5ec4a808eccb19a7723d753742fb71ca9)

14 years agoAdd netdomjoin cmd line tool (another libnetapi example).
Günther Deschner [Fri, 21 Dec 2007 15:08:13 +0000 (16:08 +0100)]
Add netdomjoin cmd line tool (another libnetapi example).

Guenther
(This used to be commit c502686f09713a7cf3786c254be6515a7aa23555)

14 years agoMake sure libnetapi has getdcname support.
Günther Deschner [Fri, 21 Dec 2007 15:03:12 +0000 (16:03 +0100)]
Make sure libnetapi has getdcname support.

Guenther
(This used to be commit c527a28c47f42617853cd28772ef46e5e6b058b6)

14 years agoAdd getdc.c, a libnetapi example (incl. Makefile).
Günther Deschner [Fri, 21 Dec 2007 15:02:35 +0000 (16:02 +0100)]
Add getdc.c, a libnetapi example (incl. Makefile).

Guenther
(This used to be commit faedc78fc78527ee3bf05e1177ea43653aea67b2)

14 years agoAdd basic remote NetGetDCName and NetGetAnyDCName versions to libnetapi.
Günther Deschner [Fri, 21 Dec 2007 14:51:00 +0000 (15:51 +0100)]
Add basic remote NetGetDCName and NetGetAnyDCName versions to libnetapi.

Guenther
(This used to be commit 5bc49546a32abb4524133b9f2916cdd51d4eb462)

14 years agoMake libnetapi_errstr use our NTSTATUS and WERROR error string macros.
Günther Deschner [Fri, 21 Dec 2007 14:30:29 +0000 (15:30 +0100)]
Make libnetapi_errstr use our NTSTATUS and WERROR error string macros.

Guenther
(This used to be commit e46aa35d432e930835206b9ce7583f46933015d8)

14 years agoAdd error string for access denied in libnetapi.
Günther Deschner [Thu, 20 Dec 2007 14:06:20 +0000 (15:06 +0100)]
Add error string for access denied in libnetapi.

Guenther
(This used to be commit 4df868e3c366958c64ed8445489c8d1e8a28e50b)

14 years agoRemove doubled cli_set_timeout calls from libnetapi.
Günther Deschner [Thu, 20 Dec 2007 14:03:12 +0000 (15:03 +0100)]
Remove doubled cli_set_timeout calls from libnetapi.

Guenther
(This used to be commit acc5d8e784b706001457ceeeb9bd4961a13d57d2)

14 years agoFix typo.
Günther Deschner [Thu, 20 Dec 2007 11:13:04 +0000 (12:13 +0100)]
Fix typo.

Guenther
(This used to be commit b95801db595109e8eade7cf7c344f281c8684249)

14 years agoKeep libnetapi_NetX calls static for now.
Günther Deschner [Thu, 20 Dec 2007 11:12:06 +0000 (12:12 +0100)]
Keep libnetapi_NetX calls static for now.

Guenther
(This used to be commit c255654c68923aca3e258906e49be82d719d5ccd)

14 years agoMerge all headers into libnetapi.h.
Günther Deschner [Thu, 20 Dec 2007 00:19:26 +0000 (01:19 +0100)]
Merge all headers into libnetapi.h.

Guenther
(This used to be commit a2c5beda2ec98dea8951fb3a37774f5f325410ef)

14 years agoImplement NetServerSetInfo level 1005 in local mode with smbconf registry.
Günther Deschner [Wed, 19 Dec 2007 15:07:40 +0000 (16:07 +0100)]
Implement NetServerSetInfo level 1005 in local mode with smbconf registry.

Guenther
(This used to be commit 15c2bc15f20a677c3c94895150e396275de6ac9b)

14 years agoAdd NetServerGetInfo and NetServerSetInfo (for level 1005).
Günther Deschner [Wed, 19 Dec 2007 14:10:24 +0000 (15:10 +0100)]
Add NetServerGetInfo and NetServerSetInfo (for level 1005).

Guenther
(This used to be commit 1cad549f54563c3a9787624ba7a56b54107ebd57)

14 years agoSplit out local and remote paths for NetGetJoinInformation.
Günther Deschner [Wed, 19 Dec 2007 12:52:51 +0000 (13:52 +0100)]
Split out local and remote paths for NetGetJoinInformation.

Guenther
(This used to be commit d1e4f9dd5cde79f915e3e0f652621d966aa850e8)

14 years agoAdd libnetapi_errstr().
Günther Deschner [Wed, 19 Dec 2007 11:09:08 +0000 (12:09 +0100)]
Add libnetapi_errstr().

Guenther
(This used to be commit 465e61a3599a277366ada6ecda3a1e6ddb1f2490)

14 years agoAdd support for remote and local unjoining in libnetapi.
Günther Deschner [Wed, 19 Dec 2007 10:03:45 +0000 (11:03 +0100)]
Add support for remote and local unjoining in libnetapi.

Guenther
(This used to be commit 74048fe7cfbd05994d533bea4a477d6ca93449d9)

14 years agoAdd libnet_Unjoin(), libnet_UnjoinCtx and friends.
Günther Deschner [Wed, 19 Dec 2007 10:02:39 +0000 (11:02 +0100)]
Add libnet_Unjoin(), libnet_UnjoinCtx and friends.

Guenther
(This used to be commit 89e8abb1163984eed358a4da9be4699a8e3a43f9)

14 years agoRemove unrequired TALLOC_CTX from libnetapi_NetJoinDomain & friends.
Günther Deschner [Wed, 19 Dec 2007 09:55:52 +0000 (10:55 +0100)]
Remove unrequired TALLOC_CTX from libnetapi_NetJoinDomain & friends.

Guenther
(This used to be commit 96ebdca45b998da7e6137973dea717bf3ac76328)

14 years agoFix NetJoinDomainLocal.
Günther Deschner [Wed, 19 Dec 2007 09:52:45 +0000 (10:52 +0100)]
Fix NetJoinDomainLocal.

Guenther
(This used to be commit 24605c9175fb313c9c888783817da755cd8ce594)

14 years agoUse DsGetDcName in local libnetapi join to find a dc.
Günther Deschner [Wed, 19 Dec 2007 01:25:15 +0000 (02:25 +0100)]
Use DsGetDcName in local libnetapi join to find a dc.

Guenther
(This used to be commit fbc60c1648ff8b1fa0ae33c09237e41232f9769c)