Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a function libnet_conf_get_seqnum() to the libnet_conf API. | Michael Adam | 2008-02-19 | 1 | -0/+13 |
| | | | | | | | This is to provide a change sequence number to users, so that they can use it to detect change in the config and trigger a reload. Michael | ||||
* | Rename registry_init_regdb() to registry_init_smbconf(). | Michael Adam | 2008-02-15 | 1 | -1/+1 |
| | | | | | | That's what it actually is. Michael | ||||
* | Collect all init_lsa_string varients in one place. | Günther Deschner | 2008-02-12 | 1 | -5/+0 |
| | | | | Guenther | ||||
* | Remove all callers of rpccli_samr_setuserinfo2 and replace with | Günther Deschner | 2008-02-12 | 1 | -24/+16 |
| | | | | | | rpccli_samr_SetUserInfo (see the opcode mixup in rpc_samr.h). Guenther | ||||
* | Use every | Günther Deschner | 2008-02-12 | 1 | -4/+7 |
| | |||||
* | Removing unused ACCT_-flags. | Günther Deschner | 2008-02-12 | 1 | -1/+2 |
| | | | | Guenther | ||||
* | Use rpccli_samr_LookupNames() in libnetjoin. | Günther Deschner | 2008-02-08 | 1 | -20/+24 |
| | | | | Guenther | ||||
* | Use rpccli_lsa_QueryInfoPolicy() in libnet_join. | Günther Deschner | 2008-02-08 | 1 | -4/+7 |
| | | | | Guenther | ||||
* | Use rpccli_lsa_QueryInfoPolicy2 in libnet join. | Günther Deschner | 2008-02-08 | 1 | -8/+8 |
| | | | | Guenther | ||||
* | Use rpccli_samr_Connect2() all over the place. | Günther Deschner | 2008-02-04 | 1 | -4/+8 |
| | | | | Guenther | ||||
* | Use rpccli_samr_CreateUser2() all over the place. | Günther Deschner | 2008-02-01 | 1 | -6/+18 |
| | | | | Guenther | ||||
* | Use rpccli_samr_OpenUser() all over the place. | Günther Deschner | 2008-02-01 | 1 | -6/+10 |
| | | | | Guenther | ||||
* | Use rpccli_samr_OpenDomain() all over the place. | Günther Deschner | 2008-02-01 | 1 | -8/+10 |
| | | | | Guenther | ||||
* | Remove rpccli_samr_close and use pidl generated function instead. | Günther Deschner | 2008-01-31 | 1 | -6/+6 |
| | | | | Guenther | ||||
* | Eliminate remote tree of dsgetdcname (which will happen in libnetapi then). | Günther Deschner | 2008-01-29 | 1 | -2/+0 |
| | | | | Guenther | ||||
* | Trying to avoid defining new SAMR acct creation flags when we already have ↵ | Günther Deschner | 2008-01-25 | 1 | -4/+6 |
| | | | | | | | | them with different names. Matt, Jeremy, please check. Guenther | ||||
* | Forward ported version of Matt Geddes <musicalcarrion@gmail.com> | Jeremy Allison | 2008-01-23 | 1 | -1/+6 |
| | | | | | | patch for adding acct_flags to rpccli_samr_create_dom_user(). Jerry please test. Jeremy. | ||||
* | Add another check for talloc failure to libnet_conf | Michael Adam | 2008-01-21 | 1 | -0/+4 |
| | | | | Michael | ||||
* | Fix formatting of multi_sz registry values. | Michael Adam | 2008-01-21 | 1 | -1/+5 |
| | | | | | | Don't print only the last component. Michael | ||||
* | Use talloc_stackframe() for temporary contexts throughout libnet_conf.c | Michael Adam | 2008-01-21 | 1 | -4/+4 |
| | | | | Michael | ||||
* | Add a check for talloc failure. - Pointed out by Volker. | Michael Adam | 2008-01-21 | 1 | -0/+4 |
| | | | | Michael | ||||
* | Use lp_config_backend_is_registry() instead of lp_include_registry_globals(). | Michael Adam | 2008-01-16 | 1 | -2/+2 |
| | | | | Michael | ||||
* | Autofetch domain_sid while unjoining in libnetjoin. | Günther Deschner | 2008-01-16 | 1 | -0/+11 |
| | | | | Guenther | ||||
* | Nicen some error strings in libnetjoin. | Günther Deschner | 2008-01-16 | 1 | -7/+10 |
| | | | | Guenther | ||||
* | Avoid use of NDR_PRINT_X_DEBUG (that debugs with level 0) in libnetjoin. | Günther Deschner | 2008-01-16 | 1 | -4/+37 |
| | | | | Guenther | ||||
* | Use autogenerated debugging functions in libnetjoin when requested. | Günther Deschner | 2008-01-15 | 1 | -0/+15 |
| | | | | Guenther | ||||
* | Remove unrequired TALLOC_FREE. | Günther Deschner | 2008-01-15 | 1 | -1/+0 |
| | | | | Guenther | ||||
* | Use autogenerated libnet_join header. | Günther Deschner | 2008-01-15 | 2 | -76/+1 |
| | | | | Guenther | ||||
* | No need to re-establish AD connection all the time. | Günther Deschner | 2008-01-15 | 1 | -8/+0 |
| | | | | Guenther | ||||
* | Use dsgetdcname() to find a dc when unjoining in libnetjoin. | Günther Deschner | 2008-01-15 | 1 | -0/+23 |
| | | | | Guenther | ||||
* | Re-arrange pre- and postprocessing code in libnetjoin. | Günther Deschner | 2008-01-15 | 1 | -19/+84 |
| | | | | Guenther | ||||
* | Make use of the new libnet_conf_delete_global_parameter() function. | Michael Adam | 2008-01-13 | 1 | -1/+1 |
| | | | | Michael | ||||
* | Add a function libnet_conf_delete_global_parameter() to libnet_conf.c | Michael Adam | 2008-01-13 | 1 | -0/+21 |
| | | | | | | Create the [global] section if it does not yet exist. Michael | ||||
* | Add a function libnet_conf_get_global_parameter() to libnet_conf.c | Michael Adam | 2008-01-13 | 1 | -0/+25 |
| | | | | | | It creates the [global] section if it does not yet exist. Michael | ||||
* | Move libnet_conf_set_global_parameter() inside libnet_conf.c | Michael Adam | 2008-01-13 | 1 | -30/+23 |
| | | | | | | | | Also remove the "convenience function" section comment. The set_global_parameter function now has a right to exist in the api. Michael | ||||
* | Add a comment header to libnet_conf_set_global_parameter(). | Michael Adam | 2008-01-13 | 1 | -0/+6 |
| | | | | Michael | ||||
* | Add auto-adding of [global] to libnet_conf_set_global_parameter(). | Michael Adam | 2008-01-13 | 1 | -1/+12 |
| | | | | Michael | ||||
* | Remove auto-generation of missing share from libnet_conf_set_parameter(). | Michael Adam | 2008-01-13 | 1 | -4/+2 |
| | | | | | | | | Günther, I wanted to have this as atomic as possible. I will add this behaviour to libnet_conf_set_global_parameter() next with the justification that [global] should exist transparently. Michael | ||||
* | Introduce a libnet_conf context created by libnet_conf_open(). | Michael Adam | 2008-01-13 | 4 | -92/+205 |
| | | | | | | | | | | | | | | | | | | | The libnet_conf_ctx stores the information necessary to interoperate with the configuration. It is created by calling libnet_conf_open() and destroyed by calling libnet_conf_close(). The context is passed to all the libnet_conf functions. It currently stores the token to access the registry. Later, it could store more data, e.g. the server to connect to, credentials, and so on. For support of other backends than registry or support of remote configuration, only the open function will have to be changed. In net_conf, the calls to the actual net_conf functions is wrapped into a function that calls libnet_conf_open()/_close(). Thus an individual variant of net_conf_runfunction2() and functable2 is used to cope with functions being called by the wrapper with the additional libnet_conf_ctx argument. Michael | ||||
* | Fix some indents. | Günther Deschner | 2008-01-12 | 1 | -2/+3 |
| | | | | Guenther | ||||
* | Call dsgetdcname when we have no specific dc defined for joining. | Günther Deschner | 2008-01-12 | 1 | -0/+27 |
| | | | | Guenther | ||||
* | Fix some error strings in libnet_join. | Günther Deschner | 2008-01-12 | 1 | -1/+6 |
| | | | | Guenther | ||||
* | Add appropriate error code when pre-creating accounts in ous isnt supported ↵ | Günther Deschner | 2008-01-12 | 1 | -2/+2 |
| | | | | | | by DC. Guenther | ||||
* | For libnet_join error string functions, make sure not to overwrite last ↵ | Günther Deschner | 2008-01-12 | 1 | -10/+10 |
| | | | | | | status string. Guenther | ||||
* | Merge all ads related calls in libnet_join_post_processing_ads(). | Günther Deschner | 2008-01-12 | 1 | -32/+49 |
| | | | | Guenther | ||||
* | Use WITH_ADS define in libnet_join, hopefully not breaking the build. | Günther Deschner | 2008-01-12 | 1 | -16/+11 |
| | | | | Guenther | ||||
* | Auto-add missing shares in libnet_conf_set_parameter(). | Günther Deschner | 2008-01-12 | 1 | -2/+4 |
| | | | | | | Michael, please have a look. Guenther | ||||
* | Add debug bool flag for libnetjoin ctx. | Günther Deschner | 2008-01-12 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | Use domain_is_ad one more time in libnetjoin. | Günther Deschner | 2008-01-12 | 1 | -3/+2 |
| | | | | Guenther | ||||
* | Remove code accidentially submittet with last commit 83aed537c16f63. | Michael Adam | 2008-01-11 | 1 | -42/+0 |
| | | | | | | This is ist still in preparation and will follow soon. Soory! Michael |