summaryrefslogtreecommitdiff
path: root/source3/libnet
AgeCommit message (Collapse)AuthorFilesLines
2007-12-23Make libnet_smbconf_set_global_param() call libnet_smbconf_setparm().Michael Adam1-46/+15
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)
2007-12-23Reorder libnet_conf.c some, adding "section" comments.Michael Adam1-18/+30
Michael (This used to be commit b9f22adfd3e67046b7d786b5b338e078b4cdc6df)
2007-12-23Move net_conf_setparm() to libnet_conf.cMichael Adam1-0/+21
renaming it to libnet_smbconf_setparm() Michael (This used to be commit 60f49b22b5aa125ff6cb358a258a1be99c378d7a)
2007-12-23Move reg_setvalue_internal() to libnet_conf.cMichael Adam1-0/+72
renaming it to libnet_smbconf_setvalue_internal() Michael (This used to be commit 7cb51a1d6d95704225d9ab22e88cc76fa910d38c)
2007-12-23Remove occurrences of registry_key from libnet_join.cMichael Adam1-65/+17
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)
2007-12-23Replace direct deletion of registry value by use of libnet_smbconf_delparm().Michael Adam1-1/+1
Michael (This used to be commit 415fc0a5261f4d941027e5d5305fcea882724aef)
2007-12-23Move logic of net_smbconf_delparm() to libnet/libnet_conf.cMichael Adam1-1/+24
Logic in new function libnet_smbconf_delparm(). Michael (This used to be commit 0cff79e3552e91ba0b6bc054802d28afcf4e8da4)
2007-12-23Move smbconf_value_exists() to libnet/net_conf.cMichael Adam1-0/+17
renaming it to libnet_smbconf_value_exists(). Michael (This used to be commit ba71c6844588f0342589163f514385911e7331e7)
2007-12-23Make libnet_smbconf_open_path_q() static.Michael Adam1-3/+4
Michael (This used to be commit 8cf8ed9de8c3f41588fa93bd102f61f5b8b493c4)
2007-12-22Fix uninitialized error code in do_unjoin_modify_vals_config().Günther Deschner1-1/+1
Guenther (This used to be commit c890ebc3cad7222007e62227ec1f28d978310cbf)
2007-12-21Until we better understand the WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT make sure ↵Günther Deschner1-0/+4
we are not joining as a DC. Guenther (This used to be commit bf3ffbb5d2e8588e0041f0b890b590c58f8fcecf)
2007-12-21Fix typo.Günther Deschner1-2/+0
Guenther (This used to be commit b95801db595109e8eade7cf7c344f281c8684249)
2007-12-21Implement NetServerSetInfo level 1005 in local mode with smbconf registry.Günther Deschner1-0/+46
Guenther (This used to be commit 15c2bc15f20a677c3c94895150e396275de6ac9b)
2007-12-21Add libnet_Unjoin(), libnet_UnjoinCtx and friends.Günther Deschner2-4/+239
Guenther (This used to be commit 89e8abb1163984eed358a4da9be4699a8e3a43f9)
2007-12-21In libnet join code, try lsa query with level 12 first.Günther Deschner1-8/+10
Guenther (This used to be commit f0e8d744c92d2602722e04be6266196941362d63)
2007-12-21Making do_DomainJoin return NTSTATUS again.Günther Deschner1-23/+15
Guenther (This used to be commit 91b884989891881b8abea70e11b87c16c574daaa)
2007-12-21Make sure we also support non-domain join.Günther Deschner1-5/+20
Guenther (This used to be commit c818f5505a124a6f0bb9274a1ba4a6147d2f17b3)
2007-12-21Some libnet and netapi build fixes.Günther Deschner1-0/+26
Guenther (This used to be commit 1d47247283f7bc75291007be3fde72b1d3d95b99)
2007-12-21Add libnet_Join().Günther Deschner1-0/+354
Heavily based on existing code in net_ads_join(). Guenther (This used to be commit fb6315b68b16d64625457881302fd191f90defa0)
2007-12-21Add libnet_JoinCtx structure.Günther Deschner1-0/+48
Guenther (This used to be commit 13c46b1407117c93b8f0275cc16ea5aa49596750)
2007-12-21Very quick conversion of net_conf functions into the libnet_conf layer.Günther Deschner1-0/+149
Certainly needs cleanup later. Guenther (This used to be commit 2b41ac926de76804a50681bd246b3a20e112853b)