summaryrefslogtreecommitdiffstats
path: root/source/libnet
Commit message (Collapse)AuthorAgeFilesLines
* Add a function libnet_conf_get_seqnum() to the libnet_conf API.Michael Adam2008-02-191-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 Adam2008-02-151-1/+1
| | | | | | That's what it actually is. Michael
* Collect all init_lsa_string varients in one place.Günther Deschner2008-02-121-5/+0
| | | | Guenther
* Remove all callers of rpccli_samr_setuserinfo2 and replace withGünther Deschner2008-02-121-24/+16
| | | | | | rpccli_samr_SetUserInfo (see the opcode mixup in rpc_samr.h). Guenther
* Use everyGünther Deschner2008-02-121-4/+7
|
* Removing unused ACCT_-flags.Günther Deschner2008-02-121-1/+2
| | | | Guenther
* Use rpccli_samr_LookupNames() in libnetjoin.Günther Deschner2008-02-081-20/+24
| | | | Guenther
* Use rpccli_lsa_QueryInfoPolicy() in libnet_join.Günther Deschner2008-02-081-4/+7
| | | | Guenther
* Use rpccli_lsa_QueryInfoPolicy2 in libnet join.Günther Deschner2008-02-081-8/+8
| | | | Guenther
* Use rpccli_samr_Connect2() all over the place.Günther Deschner2008-02-041-4/+8
| | | | Guenther
* Use rpccli_samr_CreateUser2() all over the place.Günther Deschner2008-02-011-6/+18
| | | | Guenther
* Use rpccli_samr_OpenUser() all over the place.Günther Deschner2008-02-011-6/+10
| | | | Guenther
* Use rpccli_samr_OpenDomain() all over the place.Günther Deschner2008-02-011-8/+10
| | | | Guenther
* Remove rpccli_samr_close and use pidl generated function instead.Günther Deschner2008-01-311-6/+6
| | | | Guenther
* Eliminate remote tree of dsgetdcname (which will happen in libnetapi then).Günther Deschner2008-01-291-2/+0
| | | | Guenther
* Trying to avoid defining new SAMR acct creation flags when we already have ↵Günther Deschner2008-01-251-4/+6
| | | | | | | | them with different names. Matt, Jeremy, please check. Guenther
* Forward ported version of Matt Geddes <musicalcarrion@gmail.com>Jeremy Allison2008-01-231-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_confMichael Adam2008-01-211-0/+4
| | | | Michael
* Fix formatting of multi_sz registry values.Michael Adam2008-01-211-1/+5
| | | | | | Don't print only the last component. Michael
* Use talloc_stackframe() for temporary contexts throughout libnet_conf.cMichael Adam2008-01-211-4/+4
| | | | Michael
* Add a check for talloc failure. - Pointed out by Volker.Michael Adam2008-01-211-0/+4
| | | | Michael
* Use lp_config_backend_is_registry() instead of lp_include_registry_globals().Michael Adam2008-01-161-2/+2
| | | | Michael
* Autofetch domain_sid while unjoining in libnetjoin.Günther Deschner2008-01-161-0/+11
| | | | Guenther
* Nicen some error strings in libnetjoin.Günther Deschner2008-01-161-7/+10
| | | | Guenther
* Avoid use of NDR_PRINT_X_DEBUG (that debugs with level 0) in libnetjoin.Günther Deschner2008-01-161-4/+37
| | | | Guenther
* Use autogenerated debugging functions in libnetjoin when requested.Günther Deschner2008-01-151-0/+15
| | | | Guenther
* Remove unrequired TALLOC_FREE.Günther Deschner2008-01-151-1/+0
| | | | Guenther
* Use autogenerated libnet_join header.Günther Deschner2008-01-152-76/+1
| | | | Guenther
* No need to re-establish AD connection all the time.Günther Deschner2008-01-151-8/+0
| | | | Guenther
* Use dsgetdcname() to find a dc when unjoining in libnetjoin.Günther Deschner2008-01-151-0/+23
| | | | Guenther
* Re-arrange pre- and postprocessing code in libnetjoin.Günther Deschner2008-01-151-19/+84
| | | | Guenther
* Make use of the new libnet_conf_delete_global_parameter() function.Michael Adam2008-01-131-1/+1
| | | | Michael
* Add a function libnet_conf_delete_global_parameter() to libnet_conf.cMichael Adam2008-01-131-0/+21
| | | | | | Create the [global] section if it does not yet exist. Michael
* Add a function libnet_conf_get_global_parameter() to libnet_conf.cMichael Adam2008-01-131-0/+25
| | | | | | It creates the [global] section if it does not yet exist. Michael
* Move libnet_conf_set_global_parameter() inside libnet_conf.cMichael Adam2008-01-131-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 Adam2008-01-131-0/+6
| | | | Michael
* Add auto-adding of [global] to libnet_conf_set_global_parameter().Michael Adam2008-01-131-1/+12
| | | | Michael
* Remove auto-generation of missing share from libnet_conf_set_parameter().Michael Adam2008-01-131-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 Adam2008-01-134-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 Deschner2008-01-121-2/+3
| | | | Guenther
* Call dsgetdcname when we have no specific dc defined for joining.Günther Deschner2008-01-121-0/+27
| | | | Guenther
* Fix some error strings in libnet_join.Günther Deschner2008-01-121-1/+6
| | | | Guenther
* Add appropriate error code when pre-creating accounts in ous isnt supported ↵Günther Deschner2008-01-121-2/+2
| | | | | | by DC. Guenther
* For libnet_join error string functions, make sure not to overwrite last ↵Günther Deschner2008-01-121-10/+10
| | | | | | status string. Guenther
* Merge all ads related calls in libnet_join_post_processing_ads().Günther Deschner2008-01-121-32/+49
| | | | Guenther
* Use WITH_ADS define in libnet_join, hopefully not breaking the build.Günther Deschner2008-01-121-16/+11
| | | | Guenther
* Auto-add missing shares in libnet_conf_set_parameter().Günther Deschner2008-01-121-2/+4
| | | | | | Michael, please have a look. Guenther
* Add debug bool flag for libnetjoin ctx.Günther Deschner2008-01-121-0/+1
| | | | Guenther
* Use domain_is_ad one more time in libnetjoin.Günther Deschner2008-01-121-3/+2
| | | | Guenther
* Remove code accidentially submittet with last commit 83aed537c16f63.Michael Adam2008-01-111-42/+0
| | | | | | This is ist still in preparation and will follow soon. Soory! Michael