summaryrefslogtreecommitdiffstats
path: root/source3/libnet
Commit message (Collapse)AuthorAgeFilesLines
...
* Move format_value() to libnet_conf.c.Michael Adam2007-12-291-0/+34
| | | | | Michael (This used to be commit 3422a5048ad4b7f789ec233356885d78dbdacf9a)
* Move libnet_smbconf_reg_open_basepath() in source fileMichael Adam2007-12-261-9/+9
| | | | | | | to group helper functions more logically. Michael (This used to be commit 3fa3891f8721e9f02594cd1be2dc6b9b88692416)
* Rename libnet_smbconf_open_basepath() to libnet_smbconf_reg_open_basepath().Michael Adam2007-12-261-4/+5
| | | | | Michael (This used to be commit 4c0e7270c42788e7f77c402032ae74cf0f8a7106)
* Rename libnet_smbconf_open_path() to libnet_smbconf_reg_open_path().Michael Adam2007-12-261-10/+12
| | | | | Michael (This used to be commit 4b0e636965bd37e7c0deecb7b5eff0cc4487408b)
* Rename libnet_smbconf_open_path_q() to libnet_smbconf_open_path()Michael Adam2007-12-261-27/+10
| | | | | | | | | removing previouse libnet_smbconf_open_path() and adding DEBUG output (instead of d_fprintf error output) to new libnet_smbconf_open_path(). Michael (This used to be commit e63cc54fab8a0b03573f76305eab366a3ee4eda1)
* Remove now unneeded talloc ctx parameter from do_JoinConfig().Michael Adam2007-12-251-3/+2
| | | | | Michael (This used to be commit be985d8d0ce80d12aa7f0b447b16b14aa0362826)
* Remove now unneeded talloc ctx parameter from do_join_modify_vals_config().Michael Adam2007-12-251-3/+2
| | | | | Michael (This used to be commit f8823ae1232022ed3f7f9be6b8959d413e8aed19)
* Remove now unneeded talloc ctx parameter from do_UnjoinConfig().Michael Adam2007-12-251-3/+2
| | | | | Michael (This used to be commit 92b8e5ea4ba26d663ea4e6fb65e4225d8259ea60)
* Remove now unneeded talloc ctx parameter from do_unjoin_modify_vals_config().Michael Adam2007-12-251-3/+2
| | | | | Michael (This used to be commit 4f7375a110a69530d6ef9781573f45a5bf8391a5)
* Remove talloc context parameter from libnet_smbconf_delparm().Michael Adam2007-12-252-4/+4
| | | | | | | | Make use of talloc stackframe internally. This removes talloc contxt from net_conf_delparm. Michael (This used to be commit 16f137393881edc78c9322f038ba38e53e3ee07d)
* Remove talloc context parameter from libnet_smbconf_setparm().Michael Adam2007-12-252-16/+12
| | | | | | | | Make use of talloc stackframe internally. This removes talloc contxt from net_conf_setparm. Michael (This used to be commit efaffefc438f8375a083b194ac7a09e563000d3c)
* Typofix in comment.Michael Adam2007-12-251-1/+1
| | | | | Michael (This used to be commit 5039a70246a475176fa8212ad78b430f2211951f)
* Add comment header to function libnet_smbconf_drop().Michael Adam2007-12-251-0/+3
| | | | | Michael (This used to be commit e94edb6bdbc9379b48679d7c72618acfe862fe52)
* Remove a d_fprintf() from libnet_smbconf_drop().Michael Adam2007-12-251-1/+0
| | | | | Michael (This used to be commit 078e5e98b3589cec78893d44146a653dad9a7460)
* Remove talloc context parameter from libnet_smbconf_drop().Michael Adam2007-12-251-14/+8
| | | | | | | Make use of talloc_stackframe. Michael (This used to be commit aaceab1153f6c2a2adde83681913c771a16ca81f)
* Rename drop_smbconf_internal() to libnet_smbconf_drop().Michael Adam2007-12-251-1/+1
| | | | | Michael (This used to be commit 5873e6a1f8242e07b1699366a536350a7199c28c)
* Move drop_smbconf_internal() to libnet_conf.cMichael Adam2007-12-251-0/+50
| | | | | Michael (This used to be commit 4c2a3396bb687703f6b74655fda2014d1f75200b)
* Simplify libnet_smbconf_delshare().Michael Adam2007-12-251-7/+4
| | | | | | | | Remove talloc context parameter. Remove d_printf error message. Michael (This used to be commit 870d35c04889603843bae989fb9c01396b4c6ed1)
* Rename reg_delkey_internal() to libnet_smbconf_delshare().Michael Adam2007-12-251-3/+3
| | | | | Michael (This used to be commit 7d501f0d78ec57509d0bc5ef0dc16fcd24ee27e7)
* Move reg_delkey_internal() to libnet/libnet_conf.cMichael Adam2007-12-251-0/+24
| | | | | Michael (This used to be commit c1b863fd0520ce64a1bad5e2fa3f69afcc2c78d5)
* Do not leak memory in libnet_smbconf_delparm().Michael Adam2007-12-241-2/+7
| | | | | Michael (This used to be commit 49cfe2b9ebe03d5985187890445b775047f8a2f4)
* Do not leak memory in libnet_smbconf_setparm().Michael Adam2007-12-241-1/+5
| | | | | Michael (This used to be commit a657b1c9f17d3cebc86b596f1f2d244750d70a6d)
* Use the appropriate boolean constants.Michael Adam2007-12-241-4/+4
| | | | | Michael (This used to be commit 45e3e2451adc1490b62d39d486c169ad53e1d3f3)
* Make libnet_smbconf_value_exists() use talloc_stackframe().Michael Adam2007-12-241-5/+5
| | | | | | | And not pass a talloc context. Michael (This used to be commit 2983aba9d092e6ede43f6eb521c17fe3f304d041)
* Make libnet_smbconf_key_exists() use talloc_stackframe().Michael Adam2007-12-241-12/+6
| | | | | | | And not pass a talloc context. Michael (This used to be commit 7e8451f2f03b246801783aaf4b3d54465292f8f7)
* Don't leak memory in libnet_smbconf_getparm().Michael Adam2007-12-241-3/+9
| | | | | Michael (This used to be commit 09e62c765401102480d39a483bfffaf5a054babc)
* Fix rights error in libnet_smbconf_delparm().Michael Adam2007-12-241-1/+1
| | | | | | | Introduced by additional test for existence of given parameter. Michael (This used to be commit 0fe095e85ca981e5660a67f3fb7d7965ae62c667)
* Remove redundant check of return value.Michael Adam2007-12-241-2/+1
| | | | | Michael (This used to be commit 29f46c2d45e7ad7f8a9a525f9ac82c050a510967)
* Move logic of net_conf_getparm() to libnet_conf.c.Michael Adam2007-12-241-0/+24
| | | | | Michael (This used to be commit d3a20c4d5a8109334cd3ed665ba60cfcc4425059)
* Rename libnet_reg_createkey_internal() to ↵Michael Adam2007-12-231-4/+5
| | | | | | | libnet_smbconf_reg_createkey_internal(). Michael (This used to be commit 0e7f215f54c68b2d40f65f90ed11c41e1a7ef5ed)
* Make libnet_smbconf_set_global_param() call libnet_smbconf_setparm().Michael Adam2007-12-231-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)
* Reorder libnet_conf.c some, adding "section" comments.Michael Adam2007-12-231-18/+30
| | | | | Michael (This used to be commit b9f22adfd3e67046b7d786b5b338e078b4cdc6df)
* Move net_conf_setparm() to libnet_conf.cMichael Adam2007-12-231-0/+21
| | | | | | | renaming it to libnet_smbconf_setparm() Michael (This used to be commit 60f49b22b5aa125ff6cb358a258a1be99c378d7a)
* Move reg_setvalue_internal() to libnet_conf.cMichael Adam2007-12-231-0/+72
| | | | | | | renaming it to libnet_smbconf_setvalue_internal() Michael (This used to be commit 7cb51a1d6d95704225d9ab22e88cc76fa910d38c)
* Remove occurrences of registry_key from libnet_join.cMichael Adam2007-12-231-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)
* Replace direct deletion of registry value by use of libnet_smbconf_delparm().Michael Adam2007-12-231-1/+1
| | | | | Michael (This used to be commit 415fc0a5261f4d941027e5d5305fcea882724aef)
* Move logic of net_smbconf_delparm() to libnet/libnet_conf.cMichael Adam2007-12-231-1/+24
| | | | | | | Logic in new function libnet_smbconf_delparm(). Michael (This used to be commit 0cff79e3552e91ba0b6bc054802d28afcf4e8da4)
* Move smbconf_value_exists() to libnet/net_conf.cMichael Adam2007-12-231-0/+17
| | | | | | | renaming it to libnet_smbconf_value_exists(). Michael (This used to be commit ba71c6844588f0342589163f514385911e7331e7)
* Make libnet_smbconf_open_path_q() static.Michael Adam2007-12-231-3/+4
| | | | | Michael (This used to be commit 8cf8ed9de8c3f41588fa93bd102f61f5b8b493c4)
* Fix uninitialized error code in do_unjoin_modify_vals_config().Günther Deschner2007-12-221-1/+1
| | | | | Guenther (This used to be commit c890ebc3cad7222007e62227ec1f28d978310cbf)
* Until we better understand the WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT make sure ↵Günther Deschner2007-12-211-0/+4
| | | | | | | | | we are not joining as a DC. Guenther (This used to be commit bf3ffbb5d2e8588e0041f0b890b590c58f8fcecf)
* Fix typo.Günther Deschner2007-12-211-2/+0
| | | | | Guenther (This used to be commit b95801db595109e8eade7cf7c344f281c8684249)
* Implement NetServerSetInfo level 1005 in local mode with smbconf registry.Günther Deschner2007-12-211-0/+46
| | | | | Guenther (This used to be commit 15c2bc15f20a677c3c94895150e396275de6ac9b)
* Add libnet_Unjoin(), libnet_UnjoinCtx and friends.Günther Deschner2007-12-212-4/+239
| | | | | Guenther (This used to be commit 89e8abb1163984eed358a4da9be4699a8e3a43f9)
* In libnet join code, try lsa query with level 12 first.Günther Deschner2007-12-211-8/+10
| | | | | Guenther (This used to be commit f0e8d744c92d2602722e04be6266196941362d63)
* Making do_DomainJoin return NTSTATUS again.Günther Deschner2007-12-211-23/+15
| | | | | Guenther (This used to be commit 91b884989891881b8abea70e11b87c16c574daaa)
* Make sure we also support non-domain join.Günther Deschner2007-12-211-5/+20
| | | | | Guenther (This used to be commit c818f5505a124a6f0bb9274a1ba4a6147d2f17b3)
* Some libnet and netapi build fixes.Günther Deschner2007-12-211-0/+26
| | | | | Guenther (This used to be commit 1d47247283f7bc75291007be3fde72b1d3d95b99)
* Add libnet_Join().Günther Deschner2007-12-211-0/+354
| | | | | | | Heavily based on existing code in net_ads_join(). Guenther (This used to be commit fb6315b68b16d64625457881302fd191f90defa0)
* Add libnet_JoinCtx structure.Günther Deschner2007-12-211-0/+48
| | | | | Guenther (This used to be commit 13c46b1407117c93b8f0275cc16ea5aa49596750)