ira/wip.git
16 years agoRemove unused variable from wbcCheckTrustCredentials().
Gerald W. Carter [Thu, 17 Apr 2008 16:09:08 +0000 (18:09 +0200)]
Remove unused variable from wbcCheckTrustCredentials().
(This used to be commit fea52dc46048ff869299267f7596b93a8c5c8b3d)

16 years agoConvert "wbinfo -m" to use wbcListTrusts() API call.
Gerald W. Carter [Thu, 17 Apr 2008 16:07:18 +0000 (18:07 +0200)]
Convert "wbinfo -m" to use wbcListTrusts() API call.
(This used to be commit 2fbe8437efe232b6f53af6fafed5995fe7e26820)

16 years agoAdd wbcListTrusts() API call to libwbclient.so
Gerald W. Carter [Thu, 17 Apr 2008 16:06:10 +0000 (18:06 +0200)]
Add wbcListTrusts() API call to libwbclient.so
(This used to be commit 5c454e77cf664fee65fcb03e5811764c92e73696)

16 years agoFollow error code name convention in libwbclient.
Gerald W. Carter [Thu, 17 Apr 2008 15:49:53 +0000 (17:49 +0200)]
Follow error code name convention in libwbclient.
s/WBC_INVALID_RESPONSE/WBC_ERR_INVALID_RESPONSE/
(This used to be commit d91ce012b0afb30cd22b373412d17de27c55ca86)

16 years agowbinfo: use wbcCheckTrustCredentials()
Stefan Metzmacher [Wed, 16 Apr 2008 22:17:06 +0000 (00:17 +0200)]
wbinfo: use wbcCheckTrustCredentials()

metze
(This used to be commit 2cbe5a006a6df79c38f4aaa68d498cd6d5a34dba)

16 years agolibwbclient: add wbcCheckTrustCredentials()
Stefan Metzmacher [Wed, 16 Apr 2008 21:35:12 +0000 (23:35 +0200)]
libwbclient: add wbcCheckTrustCredentials()

This only accepts NULL as domain for now,
because winbindd doesn't support checking
trust passwords as a domain controller.

metze
(This used to be commit c084ccd70f42ce29ce24565969a9f440dde254e1)

16 years agowbinfo: use wbcResolveWinsByName() and wbcResolveWinsByIP()
Stefan Metzmacher [Mon, 14 Apr 2008 07:35:15 +0000 (09:35 +0200)]
wbinfo: use wbcResolveWinsByName() and wbcResolveWinsByIP()

metze
(This used to be commit a4f628d6c9e2a5761c048e268a29e1f5daae4180)

16 years agolibwbclient: add wbcResolveWinsByName() and wbcResolveWinsByIP()
Stefan Metzmacher [Mon, 14 Apr 2008 07:31:46 +0000 (09:31 +0200)]
libwbclient: add wbcResolveWinsByName() and wbcResolveWinsByIP()

metze
(This used to be commit 57ba71140fbf6b4a5a917fa3248fa76536be883b)

16 years agonet: Be more tolerant while joining.
Günther Deschner [Wed, 16 Apr 2008 22:06:00 +0000 (00:06 +0200)]
net: Be more tolerant while joining.

Guenther
(This used to be commit 70b7b331d9e2d915e6209fca5900f41fae4866fd)

16 years agoNetrUnjoinDomain2: Honor registry config to try config changes.
Günther Deschner [Wed, 16 Apr 2008 21:59:43 +0000 (23:59 +0200)]
NetrUnjoinDomain2: Honor registry config to try config changes.

Guenther
(This used to be commit b42304c299224238a0247e0e1561eb2ad3217b96)

16 years agodsgetdcname: Fix discover_dc_dns.
Günther Deschner [Wed, 16 Apr 2008 21:56:03 +0000 (23:56 +0200)]
dsgetdcname: Fix discover_dc_dns.

Guenther
(This used to be commit 2fe416ffa5c7efd2e6a644e4c8bac756152881d9)

16 years agolibsmbconf: fix segfault in listing share names / config.
Michael Adam [Wed, 16 Apr 2008 20:42:49 +0000 (22:42 +0200)]
libsmbconf: fix segfault in listing share names / config.

Discovered by Günther while giving a talk. - Sorry Günther!

Michael
(This used to be commit 518f4d4e6662138a2e71acc2296acedefc7c739a)

16 years agoadd AC_TRY_RUN_STRICT support for Sun Studio compiler
Björn Jacke [Wed, 9 Apr 2008 14:27:20 +0000 (16:27 +0200)]
add AC_TRY_RUN_STRICT support for Sun Studio compiler
(This used to be commit ce7025df2958dac284ec9e5ce47ab172c3aa2567)

16 years agoFix out of tree build. Remove the embedded srcdir path from talloc and tdb.
Gerald W. Carter [Wed, 16 Apr 2008 13:48:00 +0000 (15:48 +0200)]
Fix out of tree build.  Remove the embedded srcdir path from talloc and tdb.
(This used to be commit 359921acd436684a0b4cf76ba15f82a224d2c337)

16 years agolibnetapi: Add initial inline doxygen comments.
Günther Deschner [Wed, 16 Apr 2008 08:03:06 +0000 (10:03 +0200)]
libnetapi: Add initial inline doxygen comments.

Guenther
(This used to be commit 01bc4b6ac03b98c2371b4dfc0948f5ef8d06bcbc)

16 years agonet: Remove unused rpc_user_add/del_internals code.
Günther Deschner [Wed, 16 Apr 2008 00:45:00 +0000 (02:45 +0200)]
net: Remove unused rpc_user_add/del_internals code.

Guenther
(This used to be commit e68daef0ee051515c8f489820fde9110747e8aa6)

16 years agonet: Use NetUserAdd for "net rpc user add".
Günther Deschner [Wed, 16 Apr 2008 00:41:52 +0000 (02:41 +0200)]
net: Use NetUserAdd for "net rpc user add".

Guenther
(This used to be commit 4868b4ea1a18d4218330c49bf57818c4b5117d1d)

16 years agonet: use NetUserDel for "net rpc user delete".
Günther Deschner [Wed, 16 Apr 2008 00:39:41 +0000 (02:39 +0200)]
net: use NetUserDel for "net rpc user delete".

Guenther
(This used to be commit 0105770c1598e6fcbcaa29e17f3b7fd33114a333)

16 years agolibnetapi: Let NetUserAdd_l/NetUserDel_l talk to the local RPC server.
Günther Deschner [Wed, 16 Apr 2008 00:38:13 +0000 (02:38 +0200)]
libnetapi: Let NetUserAdd_l/NetUserDel_l talk to the local RPC server.

Guenther
(This used to be commit 9bbb6cea0b21d98ae13f7a41226b437515bd5a2f)

16 years agoerrors: Add WERR_NO_SUCH_USER.
Günther Deschner [Wed, 16 Apr 2008 00:37:27 +0000 (02:37 +0200)]
errors: Add WERR_NO_SUCH_USER.

Guenther
(This used to be commit 82803186febfe6a55c1a598073657c2c4a513000)

16 years agoerrors: Add WERR_NONE_MAPPED.
Günther Deschner [Wed, 16 Apr 2008 00:23:20 +0000 (02:23 +0200)]
errors: Add WERR_NONE_MAPPED.

Guenther
(This used to be commit dc165e1c80586664ddb4d3d68182598d02ba204a)

16 years agonet/libnetapi: Include netapi headers early and free on exit.
Günther Deschner [Wed, 16 Apr 2008 00:16:08 +0000 (02:16 +0200)]
net/libnetapi: Include netapi headers early and free on exit.

Guenther
(This used to be commit 020b1e6431601fadf44dbfe8393908c096ecfa4c)

16 years agolibnetapi: do not overwrite status in libnetapi_get_error_string().
Günther Deschner [Tue, 15 Apr 2008 22:14:52 +0000 (00:14 +0200)]
libnetapi: do not overwrite status in libnetapi_get_error_string().

Guenther
(This used to be commit 143e2b573043dd04a6404fc91d781e8a727bd092)

16 years agoloadparm: remove pfunc parameter from process_registry_globals().
Michael Adam [Sun, 13 Apr 2008 19:57:55 +0000 (21:57 +0200)]
loadparm: remove pfunc parameter from process_registry_globals().

Use do_parameter() directly.

Michael
(This used to be commit 59b81bfd0abecb190d0c49e62581b26f10b96829)

16 years agolibnetapi: Add missing headers.
Günther Deschner [Tue, 15 Apr 2008 20:30:06 +0000 (22:30 +0200)]
libnetapi: Add missing headers.

Guenther
(This used to be commit 3fda711f2526914bf18ec004d553453e692b1e85)

16 years agoIDL: For the fun of it, build drsuapi.idl.
Günther Deschner [Tue, 15 Apr 2008 20:04:59 +0000 (22:04 +0200)]
IDL: For the fun of it, build drsuapi.idl.

Guenther
(This used to be commit 192645f63918c8656ca0fac5bb6d2704c9500a15)

16 years agoIDL: Fix several DRSUAPI calls.
Günther Deschner [Tue, 15 Apr 2008 18:39:11 +0000 (20:39 +0200)]
IDL: Fix several DRSUAPI calls.

Guenther
(This used to be commit aa7308fbc37eb9a26b4583b1ce2ca435b0648541)

16 years agoIDL: Import drsuapi.idl from samba4.
Günther Deschner [Tue, 15 Apr 2008 18:38:22 +0000 (20:38 +0200)]
IDL: Import drsuapi.idl from samba4.

Guenther
(This used to be commit f583e99cef55156fa5294c3eaef0cd29740af5f1)

16 years agoMerge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into 3-2-nopipeindex
Jelmer Vernooij [Tue, 15 Apr 2008 18:52:17 +0000 (20:52 +0200)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into 3-2-nopipeindex
(This used to be commit 9028f9e065536594df901ae4aac900102f2d85f6)

16 years agoauth: add SeDiskOperatorsPrivilege to get_root_nt_token to fix registry shares.
Michael Adam [Tue, 15 Apr 2008 18:41:14 +0000 (20:41 +0200)]
auth: add SeDiskOperatorsPrivilege to get_root_nt_token to fix registry shares.

Michael
(This used to be commit 6bb107b17d557c27d035ca518ab61296814a3cea)

16 years agoReconcile ndr_syntax_id used by pidl-generated code and Samba3's RFC_IFACE.
Jelmer Vernooij [Tue, 15 Apr 2008 18:26:52 +0000 (20:26 +0200)]
Reconcile ndr_syntax_id used by pidl-generated code and Samba3's RFC_IFACE.
(This used to be commit 7bea00dca1ee08ef731dfa73110ef9c190a29919)

16 years agolibmsbconf: add handling of NULL share parameters to registry backend.
Michael Adam [Tue, 15 Apr 2008 15:39:01 +0000 (17:39 +0200)]
libmsbconf: add handling of NULL share parameters to registry backend.

Michael
(This used to be commit 6c1181fda2f040d9555917b10a65bc0dfc1f0593)

16 years agolibsmbconf: don't complain with WERR_ALREADY_EXISTS for NULL share in smbconf_create_...
Michael Adam [Tue, 15 Apr 2008 15:37:39 +0000 (17:37 +0200)]
libsmbconf: don't complain with WERR_ALREADY_EXISTS for NULL share in smbconf_create_share().

These are values stored inside the base key for registry.
This is not getting deleted.

Michael
(This used to be commit aa167de8252bb615bd21fb3fd9468383b8357d32)

16 years agonet conf: adapt output of NULL share params in net conf list.
Michael Adam [Tue, 15 Apr 2008 15:36:44 +0000 (17:36 +0200)]
net conf: adapt output of NULL share params in net conf list.

don't list NULL share name and don't indent these parameters

Michael
(This used to be commit 0212b38913945ce3c8b14734804d81f1cd315621)

16 years agonet conf: simplify logic in test output of net conf import.
Michael Adam [Tue, 15 Apr 2008 15:36:11 +0000 (17:36 +0200)]
net conf: simplify logic in test output of net conf import.

Michael
(This used to be commit 367c8b133b2f3e73155f20f689602909eef9827b)

16 years agolibsmbconf: make sure to always list the NULL section first in text backend.
Michael Adam [Tue, 15 Apr 2008 14:06:57 +0000 (16:06 +0200)]
libsmbconf: make sure to always list the NULL section first in text backend.

Michael
(This used to be commit b50fdf321dc8056caa2b057cbd7f83792dfbcd4d)

16 years agonet conf: fix output of out-of-share parameters in test mode import
Michael Adam [Tue, 15 Apr 2008 12:38:36 +0000 (14:38 +0200)]
net conf: fix output of out-of-share parameters in test mode import

Michael
(This used to be commit 5424e07e7d3e842488cba7ae389124f01221c5ba)

16 years agolibsmbconf: default to the NULL section when a parameter is encountered w/o section
Michael Adam [Tue, 15 Apr 2008 12:37:15 +0000 (14:37 +0200)]
libsmbconf: default to the NULL section when a parameter is encountered w/o section

Michael
(This used to be commit e1b98f1cbce72d12085d86da834f0949ecbfbf67)

16 years agolibsmbconf: allow NULL sharename in smbconf_share_exists().
Michael Adam [Tue, 15 Apr 2008 12:36:39 +0000 (14:36 +0200)]
libsmbconf: allow NULL sharename in smbconf_share_exists().

Michael
(This used to be commit cb23052b2055d77924b2a593ec14f0c1de9a3b51)

16 years agolibsmbconf: add handling of NULL strings to smbconf_find_in_array().
Michael Adam [Tue, 15 Apr 2008 11:50:27 +0000 (13:50 +0200)]
libsmbconf: add handling of NULL strings to smbconf_find_in_array().

Michael
(This used to be commit a5923bafe9b543d50dca06d251186948baeac8cc)

16 years agolibsmbconf: add handling of "NULL" strings to smbconf_add_string_to_array()
Michael Adam [Tue, 15 Apr 2008 11:49:59 +0000 (13:49 +0200)]
libsmbconf: add handling of "NULL" strings to smbconf_add_string_to_array()

Michael
(This used to be commit aba261a9143bc7ab681b1c57ccfc08da0cffcfe7)

16 years agoRegenerate DCE/RPC client code after fixing memcpy() length bug in pidl.
Jelmer Vernooij [Tue, 15 Apr 2008 14:11:10 +0000 (16:11 +0200)]
Regenerate DCE/RPC client code after fixing memcpy() length bug in pidl.
(This used to be commit ac4c63d999f9ae61428bcdae400d127459896d6c)

16 years agolib/sharesec.c: fix the upgrade code, db_traverse returns the number of records!
Stefan Metzmacher [Mon, 14 Apr 2008 22:18:34 +0000 (00:18 +0200)]
lib/sharesec.c: fix the upgrade code, db_traverse returns the number of records!

metze
(This used to be commit ccdebe97f85b76378e42d8cf08324228bd19cf32)

16 years agopdb_tdb: fix the upgrade code, db_traverse returns the number of records!
Stefan Metzmacher [Mon, 14 Apr 2008 22:12:45 +0000 (00:12 +0200)]
pdb_tdb: fix the upgrade code, db_traverse returns the number of records!

metze
(This used to be commit baaf571d540ace5119c528fd35bceab335bd6741)

16 years agolibnetjoin/net: Fix lp_config_backend_is_registry() handling.
Günther Deschner [Mon, 14 Apr 2008 21:07:55 +0000 (23:07 +0200)]
libnetjoin/net: Fix lp_config_backend_is_registry() handling.

Thanks obnox, now we can net ads join and net ads leave with zero
configuration changes if "config backend = registry".

Guenther
(This used to be commit 9003881773de787a51ceadcdc2cb1e95f6979763)

16 years agonet: abort when lp_realm is not set in net_ads_leave().
Günther Deschner [Mon, 14 Apr 2008 20:58:38 +0000 (22:58 +0200)]
net: abort when lp_realm is not set in net_ads_leave().

Guenther
(This used to be commit 53735edcbb059e73c51ae17d4ff75d2a4dee53e5)

16 years agolibnetjoin: delete the workgroup name when requested while unjoining.
Günther Deschner [Mon, 14 Apr 2008 20:57:37 +0000 (22:57 +0200)]
libnetjoin: delete the workgroup name when requested while unjoining.

Guenther
(This used to be commit 1782e89f3341eca5ee1fa39881ee8efb3fac9a5b)

16 years agolibnetjoin: separate out libnet_join_lookup_dc_rpc.
Günther Deschner [Mon, 14 Apr 2008 20:56:12 +0000 (22:56 +0200)]
libnetjoin: separate out libnet_join_lookup_dc_rpc.

Guenther
(This used to be commit 8d3d1c094a28f75b01315ee05b7939ffba374f20)

16 years agolibgpo: fix build warning.
Günther Deschner [Mon, 14 Apr 2008 16:21:21 +0000 (18:21 +0200)]
libgpo: fix build warning.

Thanks metze&vl.

Guenther
(This used to be commit cb3f1df7d8f35848a432764ea7d6720ec131ede1)

16 years agonet: exit early in net_ads_join() if the domain is not set.
Günther Deschner [Mon, 14 Apr 2008 14:16:25 +0000 (16:16 +0200)]
net: exit early in net_ads_join() if the domain is not set.

Guenther
(This used to be commit 8331fbe735e2bec386ab8fc1645dc371d45d3063)

16 years agolibnetjoin: Fix unjoining when no KRB5CCNAME is around.
Günther Deschner [Mon, 14 Apr 2008 14:15:18 +0000 (16:15 +0200)]
libnetjoin: Fix unjoining when no KRB5CCNAME is around.

Guenther
(This used to be commit 7fd237c545e0a7e0029195dbbb6691571abdfe84)

16 years agonet: use WERROR for check_ads_config().
Günther Deschner [Mon, 14 Apr 2008 14:13:52 +0000 (16:13 +0200)]
net: use WERROR for check_ads_config().

Guenther
(This used to be commit 9176057986be63c7ebebb56f7daabbc3883802c5)

16 years agodoserr: Add WERR_INVALID_DOMAIN_STATE and WERR_INVALID_DOMAIN_ROLE.
Günther Deschner [Mon, 14 Apr 2008 13:48:23 +0000 (15:48 +0200)]
doserr: Add WERR_INVALID_DOMAIN_STATE and WERR_INVALID_DOMAIN_ROLE.

Guenther
(This used to be commit 91a55fc27dc100cf193cfa2613771312f018449e)

16 years agonet: the success of secrets_init is checked by libnetjoin now.
Günther Deschner [Mon, 14 Apr 2008 13:47:30 +0000 (15:47 +0200)]
net: the success of secrets_init is checked by libnetjoin now.

Guenther
(This used to be commit 0a6a5d082426ca82accf18fffa7740683a42cac1)

16 years agoWKSSVC: In _wkssvc_NetrJoinDomain2, do modify the local configuration if enabled.
Günther Deschner [Mon, 14 Apr 2008 12:46:30 +0000 (14:46 +0200)]
WKSSVC: In _wkssvc_NetrJoinDomain2, do modify the local configuration if enabled.

Guenther
(This used to be commit 260efafb8fb6527eb0a182f9a6bfed8239dd8315)

16 years agolibnetjoin: Remove machine account if we failed to set password.
Günther Deschner [Mon, 14 Apr 2008 12:42:19 +0000 (14:42 +0200)]
libnetjoin: Remove machine account if we failed to set password.

Guenther
(This used to be commit db5e0ed186429667a7f6fc67e4b19a7ca75f357e)

16 years agoRemove two pointless else branches
Volker Lendecke [Sun, 30 Mar 2008 20:08:17 +0000 (22:08 +0200)]
Remove two pointless else branches
(This used to be commit ed343114cd0844a7fd14b45f95c0f43a6d172a42)

16 years agoRemove namedpipe_transact fn pointer from smb_np_struct
Volker Lendecke [Sun, 13 Apr 2008 17:14:09 +0000 (19:14 +0200)]
Remove namedpipe_transact fn pointer from smb_np_struct
(This used to be commit d1f82b7e67a791e19d08c682b607d82ae649feb4)

16 years agoEnable multiple fd events on a single file descriptor
Volker Lendecke [Tue, 1 Apr 2008 13:29:59 +0000 (15:29 +0200)]
Enable multiple fd events on a single file descriptor

Now we can have multiple events listen on a single fd. The order in which they
are called is naturally not defined, meaning that it is only deterministic if
exactly one event is readable or writeable.
(This used to be commit 61503f822b60f98dd1f7549707ec89b48e32caeb)

16 years agoFix some "ignoring asprintf result" warnings
Volker Lendecke [Wed, 2 Apr 2008 13:54:49 +0000 (15:54 +0200)]
Fix some "ignoring asprintf result" warnings
(This used to be commit 155d62ddfd3584d44a493c2aa1ea7f096bcff432)

16 years agoMake use of ZERO_STRUCT instead of memset in namequery.c
Volker Lendecke [Sat, 29 Mar 2008 16:20:15 +0000 (17:20 +0100)]
Make use of ZERO_STRUCT instead of memset in namequery.c
(This used to be commit 4f1d49615e1407b9c3ad5eeb50a248b8fee50e23)

16 years agoFix the build of db_open_trans with CLUSTER_SUPPORT enabled
Volker Lendecke [Mon, 14 Apr 2008 10:53:11 +0000 (12:53 +0200)]
Fix the build of db_open_trans with CLUSTER_SUPPORT enabled

Metze, you might want to check this.
(This used to be commit 3b4a402bc5c3490000581d43a12388883bcf8150)

16 years agolibnetjoin: Fix joining when no KRB5CCNAME is around.
Günther Deschner [Mon, 14 Apr 2008 10:20:33 +0000 (12:20 +0200)]
libnetjoin: Fix joining when no KRB5CCNAME is around.

Guenther
(This used to be commit 512e6ca0a9be9fe35994ec1010110573a5b551d1)

16 years agoUse more error-prone form of testing dm_destroy_session() return code after discussin...
Alexander Bokovoy [Mon, 14 Apr 2008 09:56:36 +0000 (13:56 +0400)]
Use more error-prone form of testing dm_destroy_session() return code after discussing with Tridge
(This used to be commit 4abdbad52e456764bca1b17ead04edee1e2a2a64)

16 years agoloadparm: use the new smbconf_init() dispatcher for loading registry config.
Michael Adam [Sun, 13 Apr 2008 15:22:52 +0000 (17:22 +0200)]
loadparm: use the new smbconf_init() dispatcher for loading registry config.

Michael
(This used to be commit 78afb30f8073c3804dfa0cecadf973d5af5dd612)

16 years agonet conf: use the new smbconf_init() dispatcher instead of explicit backend init.
Michael Adam [Sun, 13 Apr 2008 15:16:54 +0000 (17:16 +0200)]
net conf: use the new smbconf_init() dispatcher instead of explicit backend init.

Michael
(This used to be commit 281c9287a34533045b62302bb33ced3d216421ac)

16 years agolibsmbconf: add a smbconf init dispatcher smbconf_init().
Michael Adam [Sun, 13 Apr 2008 15:13:16 +0000 (17:13 +0200)]
libsmbconf: add a smbconf init dispatcher smbconf_init().

The dispatcher takes a config source argument in the form
of "backend:path" where backend can (currently) be one of
"txt" (aka "file") or "reg" (aka "registry").

When the path is omitted, it is up to the backend to provide
a default path.

When there is no separator ":" and the string is not a recognized
backend, then file backend is assumed and the string is passed
in as the path argument.

Michael
(This used to be commit cc613a60eb0f6b92cae98e8669e5e569a1eb9324)

16 years agolibsmbconf: move setting of verbatim variable into a more internal function.
Michael Adam [Sun, 13 Apr 2008 14:36:30 +0000 (16:36 +0200)]
libsmbconf: move setting of verbatim variable into a more internal function.

Michael
(This used to be commit 9efd7b515183fa28f400fe88af63e0b0126e3e00)

16 years agolibsmbconf: add a check for talloc failure to smbconf_txt_init().
Michael Adam [Sun, 13 Apr 2008 14:34:40 +0000 (16:34 +0200)]
libsmbconf: add a check for talloc failure to smbconf_txt_init().

Michael
(This used to be commit f76ec7d87e206426c795374397ba725ecdeec784)

16 years agolibsmbconf: remove the bool verbatim parameter from txt backend init function.
Michael Adam [Sun, 13 Apr 2008 14:32:05 +0000 (16:32 +0200)]
libsmbconf: remove the bool verbatim parameter from txt backend init function.

Always be verbatim for now. Backend config options may be added later
via some private data pointer.

Michael
(This used to be commit e8bafcfbf4a7ab1dc1ce4f2acd24b0eb74933256)

16 years agolibsmbconf: rename smbconf_init() to smbconf_init_internal().
Michael Adam [Sun, 13 Apr 2008 14:26:14 +0000 (16:26 +0200)]
libsmbconf: rename smbconf_init() to smbconf_init_internal().

smbconf_init should be the name of the dispatcher (to be written)

Michael
(This used to be commit 3fb95ab757650712716472ebaccb7119feb27596)

16 years agolibnetapi: add libnetapi_set_use_kerberos
Günther Deschner [Sun, 13 Apr 2008 17:22:24 +0000 (19:22 +0200)]
libnetapi: add libnetapi_set_use_kerberos

Don't unconditionally set the kerberos flag for authentication.

Guenther
(This used to be commit 15bef5ae413adf278cccc0e547c4b8ccd180eca2)

16 years agolibnetapi: Add NetQueryDisplayInformation header.
Günther Deschner [Sun, 13 Apr 2008 17:23:42 +0000 (19:23 +0200)]
libnetapi: Add NetQueryDisplayInformation header.

Guenther
(This used to be commit 3c107934acc907e3eedd116b42d1d07ee0574183)

16 years agolibnetapi: add NetQueryDisplayInformation example.
Günther Deschner [Sun, 13 Apr 2008 17:15:15 +0000 (19:15 +0200)]
libnetapi: add NetQueryDisplayInformation example.

Guenther
(This used to be commit 5f9332cf1f60bb5a23a16776b95af3a83c5deb40)

16 years agolibnetapi: fill in NetQueryDisplayInformation_r.
Günther Deschner [Sun, 13 Apr 2008 17:12:31 +0000 (19:12 +0200)]
libnetapi: fill in NetQueryDisplayInformation_r.

Guenther
(This used to be commit 7fb9991b4c54fd0b9629e47afc1e5bbc2cfc1088)

16 years agolibnetapi: don't reset the error code in NetUserAdd_r if the operation failed.
Günther Deschner [Sun, 13 Apr 2008 17:11:01 +0000 (19:11 +0200)]
libnetapi: don't reset the error code in NetUserAdd_r if the operation failed.

Guenther
(This used to be commit 9edb067f62b1e36f1da461b3eb09cb123d2089dd)

16 years agolibnetapi: add NetQueryDisplayInformation skeleton.
Günther Deschner [Sun, 13 Apr 2008 17:04:18 +0000 (19:04 +0200)]
libnetapi: add NetQueryDisplayInformation skeleton.

Guenther
(This used to be commit 6ec4a62b6d584f6745c3285474372f235614b598)

16 years agoRe-run make idl.
Günther Deschner [Sun, 13 Apr 2008 17:00:53 +0000 (19:00 +0200)]
Re-run make idl.

Guenther
(This used to be commit afd0e925dc63b6f776caa5fd442c4e48e8349682)

16 years agolibnetapi: Add IDL for NetQueryDisplayInformation.
Günther Deschner [Sun, 13 Apr 2008 16:59:42 +0000 (18:59 +0200)]
libnetapi: Add IDL for NetQueryDisplayInformation.

Guenther
(This used to be commit 1200eb474c145fdde91bc39546454015fecf22f0)

16 years agoFix the build of eventlogadm.
Günther Deschner [Sun, 13 Apr 2008 16:27:03 +0000 (18:27 +0200)]
Fix the build of eventlogadm.

Guenther
(This used to be commit 57a5628abf628b6276f36da8ae1f3c15a4db4488)

16 years agogpo: add scripts plugin.
Günther Deschner [Sun, 13 Apr 2008 15:52:11 +0000 (17:52 +0200)]
gpo: add scripts plugin.

Guenther
(This used to be commit cd6388f04041a667bf0909d81e8af5f7b3bdc4af)

16 years agolibnetapi: don't to try to free NULL struct.
Günther Deschner [Sun, 13 Apr 2008 15:33:27 +0000 (17:33 +0200)]
libnetapi: don't to try to free NULL struct.

Guenther
(This used to be commit eb33d30d80ab2fe770e248f5b2a70a83a43dd156)

16 years agogpo: make integer debug print more readable.
Günther Deschner [Sun, 13 Apr 2008 15:32:07 +0000 (17:32 +0200)]
gpo: make integer debug print more readable.

Guenther
(This used to be commit b2cf8010aea3221bb6b108b9395b9d89cc1bc0d5)

16 years agoregistry: honour the WERROR that regsubkey_ctr_addkey gives us in reg_load_tree.
Michael Adam [Sun, 13 Apr 2008 13:45:33 +0000 (15:45 +0200)]
registry: honour the WERROR that regsubkey_ctr_addkey gives us in reg_load_tree.

Michael
(This used to be commit c2d9baa29edb2356f32ca19aea828184e9ac7b93)

16 years agoregistry: honour the WERROR that regsubkey_ctr_addkey gives in regdb_fetch_keys.
Michael Adam [Sun, 13 Apr 2008 13:41:07 +0000 (15:41 +0200)]
registry: honour the WERROR that regsubkey_ctr_addkey gives in regdb_fetch_keys.

Michael
(This used to be commit 7dd7471da7eca2671b4aa62e8790973e3ff14177)

16 years agonet registry: remove superfluous regdb_close().
Michael Adam [Sun, 13 Apr 2008 13:36:05 +0000 (15:36 +0200)]
net registry: remove superfluous regdb_close().

Michael
(This used to be commit d4e74036d3b8c5de4ce130eab7fc775e3cb746d5)

16 years agoregistry: rename init_registry() to registry_init_full() for consistency.
Michael Adam [Sun, 13 Apr 2008 13:33:12 +0000 (15:33 +0200)]
registry: rename init_registry() to registry_init_full() for consistency.

Michael
(This used to be commit 14d82708d4499b48830d3dd25a0133f00a39d030)

16 years agoregistry: change init_registry() to return WERROR instead of bool.
Michael Adam [Sun, 13 Apr 2008 13:31:02 +0000 (15:31 +0200)]
registry: change init_registry() to return WERROR instead of bool.

Michael
(This used to be commit 0b196095dbbc29c796cb0742fe6e57a421e9596b)

16 years agoregistry: change registry_init_smbconf() to return WERROR instead of bool
Michael Adam [Sun, 13 Apr 2008 13:25:47 +0000 (15:25 +0200)]
registry: change registry_init_smbconf() to return WERROR instead of bool

Michael
(This used to be commit 7c343c60574cda091f59861fbcb2893aefb564e9)

16 years agoregistry: refactor common part of registry initialization out.
Michael Adam [Sun, 13 Apr 2008 13:21:31 +0000 (15:21 +0200)]
registry: refactor common part of registry initialization out.

into a new function registry_init_common().

Michael
(This used to be commit 5da52b95ac69e4abfbc44335df2447bec8f16e13)

16 years agoregistry: change registry_init_basic() to return WERROR instead of bool
Michael Adam [Sun, 13 Apr 2008 13:12:04 +0000 (15:12 +0200)]
registry: change registry_init_basic() to return WERROR instead of bool

Michael
(This used to be commit 6a31e659cb371395dff0906786f3c6ef0cc2b3de)

16 years agoregistry: change reghook_cache_add() to return WERROR instead of bool
Michael Adam [Sun, 13 Apr 2008 12:55:49 +0000 (14:55 +0200)]
registry: change reghook_cache_add() to return WERROR instead of bool

Michael
(This used to be commit e65a999989c97c4c7b0af5093e0e89583691e9a8)

16 years agoregistry cachehook: change helper function keyname_to_path() to return WERROR.
Michael Adam [Sun, 13 Apr 2008 12:49:32 +0000 (14:49 +0200)]
registry cachehook: change helper function keyname_to_path() to return WERROR.

Michael
(This used to be commit 78bb005ee45e7a0be24b5222c3f878058b5cd8ea)

16 years agoadt_tree: change pathtree_add to return WERR instead of bool.
Michael Adam [Sun, 13 Apr 2008 12:41:44 +0000 (14:41 +0200)]
adt_tree: change pathtree_add to return WERR instead of bool.

Michael
(This used to be commit da45fb92f69221758f36db4cbb7d871e3ce60718)

16 years agoregistry cachehook: revert logic to make fast path more obvious and reduce indent.
Michael Adam [Sun, 13 Apr 2008 12:40:51 +0000 (14:40 +0200)]
registry cachehook: revert logic to make fast path more obvious and reduce indent.

Michael
(This used to be commit e97d558c5660e6d235b62528f5527a62ac1252d7)

16 years agoregistry: change reghook_cache_init() to return WERROR and use it in the callers.
Michael Adam [Sun, 13 Apr 2008 12:18:06 +0000 (14:18 +0200)]
registry: change reghook_cache_init() to return WERROR and use it in the callers.

Michael
(This used to be commit 2f4ca62dce50225d67ba8643afba4199e1845c5f)

16 years agoregistry cachehook: compare cache_tree against NULL, not 0.
Michael Adam [Sun, 13 Apr 2008 11:41:39 +0000 (13:41 +0200)]
registry cachehook: compare cache_tree against NULL, not 0.

Michael
(This used to be commit 4bfc0be55f2a436a9c687ab6ad86e704fcb753d6)

16 years agoregistry: change init_registry_key() and init_registry_data() to return WERR
Michael Adam [Sun, 13 Apr 2008 11:38:44 +0000 (13:38 +0200)]
registry: change init_registry_key() and init_registry_data() to return WERR

Michael
(This used to be commit e0718f04a7392695eed6cd1bf888d3af1d5d6177)

16 years agoregistry: unify debug output in the registry init functions.
Michael Adam [Sun, 13 Apr 2008 10:46:21 +0000 (12:46 +0200)]
registry: unify debug output in the registry init functions.

Michael
(This used to be commit 4fd9b45ffc08e7deeae58be3129832148748af13)

16 years agoregistry: change regdb_init() to return WERROR instead of bool.
Michael Adam [Sun, 13 Apr 2008 10:41:34 +0000 (12:41 +0200)]
registry: change regdb_init() to return WERROR instead of bool.

Michael
(This used to be commit c312852abce72bc167abee8b29fc699c4a643ca7)