summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
AgeCommit message (Collapse)AuthorFilesLines
2008-04-08Restructure inner workings of libnetapi a bit.Günther Deschner7-680/+662
Guenther (This used to be commit a4e3bc2bade8bf74696e1c6ced74da563ff2df7b)
2008-04-02Some fixes for netdomjoin-gui and support for browsing/joining OUs.Günther Deschner1-157/+390
Guenther (This used to be commit 4714bae0dbbb2ad010c2929f83de6bca84cfac46)
2008-04-02Make sure to hand down the domain name in libnetapi NetUnjoinDomain.Günther Deschner1-7/+11
Guenther (This used to be commit 0058ab30de943f134792e3d66051206086987110)
2008-03-21libsmbconf: add a "path" variable to the conf context.Michael Adam1-1/+1
This is passed to the module init routines. In case of the registry, this is the path of the basekey in registry, that is to be used, defaulting to KEY_SMBCONF (HKLM\software\samba\smbconf), when NULL is given. This is the only case currently used. In order to support other keys, registry initialization for smbconf has to be changed to support different keys. Michael (This used to be commit 96434d9dc7a66773e313cc128af57493dee245a1)
2008-03-21libsmbconf: add backend specific init function.Michael Adam1-1/+1
Hide generic init function taking smbconf_ops argument from public api. Michael (This used to be commit b3f6920ccb9a27fde26e889a7f1f3afaf56b784f)
2008-03-21libsmbconf: rename smbconf_close() to smbconf_shutdown().Michael Adam1-1/+1
Michael (This used to be commit 797b26ad3fad27e085827efb61f6b4d8b37e93f0)
2008-03-21libsmbconf: rename smbconf_open() to smbconf_init().Michael Adam1-1/+1
That's more appropriate. Michael (This used to be commit d7bd9bb8aa2003ec0a9860df26857f67255febe2)
2008-03-17libsmbconf: rename all occurrences of libnet_conf_ to smbconf_ .Michael Adam1-6/+5
Michael (This used to be commit 097af0309d7c3e9342058ba5266667293b23c80d)
2008-03-07Enable libnetjoin debugging for now but avoid printing passwords.Günther Deschner1-0/+1
The gen_ndr needs proper fixing still. Guenther (This used to be commit 966d7244d7765d285a7026b97e6093fd1f8d83ce)
2008-03-06In libnetapi, point out that lp_load has failed.Günther Deschner1-0/+1
Guenther (This used to be commit be673bfc61559f661040c6fb1ba7d2e4552967f2)
2008-03-05Give a better error message why NetServerSetInfo() may fail in the gui.Günther Deschner2-1/+4
Guenther (This used to be commit 1bbbebb7767b8a25532e8be3dbd274c211e34bbd)
2008-03-05Add PICFLAG to libnetapi Makefile.Günther Deschner1-0/+1
Guenther (This used to be commit 29fca3c0353f2be4577613d7e38fbc51d2a370fa)
2008-03-05Fix rpccli_srvsvc_NetSrvSetInfo call in libnetapi.Günther Deschner1-1/+1
Guenther (This used to be commit 5911529205ca69c438e0782c07ee4fe5aa95de62)
2008-02-29Trying to fix libnetapi examples Makefile.in.Günther Deschner1-14/+19
Guenther (This used to be commit 405ef74d7e9ef614ea39b7cfd1d57307d9490545)
2008-02-28Only set DEBUGLEVEL to 0 in libnetapi when not set already.Günther Deschner1-1/+3
Guenther (This used to be commit 3ace1601ac5b5d87d6bfd8aa0afe0c75858b6990)
2008-02-28Let dsgetdcname() return a struct netr_DsRGetDCNameInfo.Günther Deschner1-6/+6
Guenther (This used to be commit b1a4b21f8c35dc23e5c986ebe44d3806055eb39b)
2008-01-31Re-run make idl.Günther Deschner1-2/+2
Guenther (This used to be commit b658270518140c457536b0c7db06a646d7077529)
2008-01-29Eliminate remote tree of dsgetdcname (which will happen in libnetapi then).Günther Deschner1-3/+3
Guenther (This used to be commit fd490d236b1fb73a75c457b75128c9b98719418f)
2008-01-25Add LIBNETAPI_LOCAL_SERVER() macro.Günther Deschner1-0/+5
Guenther (This used to be commit 4bdcf07bcc3aaf7c3f7245cfdda06433bcf4ae60)
2008-01-25No need to close registry on libnetapi_free() anymore.Günther Deschner1-1/+0
Guenther (This used to be commit 6bf75652ef07f5a534cef5034b7aad4fdcbcd265)
2008-01-18Fix the build w/o ADS.Günther Deschner1-0/+4
Guenther (This used to be commit 645f2376d40fabdc787902ac7506ad7234616619)
2008-01-18Add header for NetGetJoinableOUs to libnetapi.Günther Deschner1-0/+11
Guenther (This used to be commit f297ea259d58f7a12924b7111ab79818188cff46)
2008-01-18Add NetGetJoinableOUs() to libnetapi (incl. example).Günther Deschner3-3/+309
Guenther (This used to be commit 8858e403e1940c362d307b4d4125f977abb0b96a)
2008-01-18Cosmetics and error string reporting for libnetapi.Günther Deschner3-16/+114
Guenther (This used to be commit 4ca33928512bd71268bafd41d2b608e814a7295f)
2008-01-18Add some more debugging into netdomjoin-gui.Günther Deschner1-4/+9
Guenther (This used to be commit d4c5b323229c6f43c824e3559084c98e370730a5)
2008-01-18Fix local hostname detection in netdomjoin-gui.Günther Deschner1-10/+27
Guenther (This used to be commit 30458116b389889cad845eb96b54c3edc833e722)
2008-01-18Improve libnetapi_set_error_string().Günther Deschner2-7/+39
Guenther (This used to be commit 96f645553ae5c75aabfe588e1a67f3d4bfacb5cb)
2008-01-17Use new pidl-generated netlogon client calls in NetApi GetDcName().Günther Deschner2-38/+8
Guenther (This used to be commit 733e07a06ce3c903ff5837df6a5119f6d6e3eccb)
2008-01-16Use lp_config_backend_is_registry() instead of lp_include_registry_globals().Michael Adam1-1/+1
Michael (This used to be commit c5a7d421c512a6221b0300549d7b5de0368d252e)
2008-01-13Introduce a libnet_conf context created by libnet_conf_open().Michael Adam1-1/+17
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 (This used to be commit c2a9346faa26e79af5948197a1b322e545f0ed09)
2008-01-11As long as DsGetDcName is not part of libnetapi, lowercase the fn name.Günther Deschner1-2/+2
Guenther (This used to be commit 19a980f52044a170618629e5b0484c1f6b586e5f)
2008-01-11Fix libnetapi error string callers.Günther Deschner3-7/+7
Guenther (This used to be commit 1ad7a0a361edfa5ac738f011db1d6a9db256ac2c)
2008-01-11Include some basic headers in netapi.h.Günther Deschner1-0/+10
Guenther (This used to be commit 23b92a6fa57858c8a23c737a9cd00c076ef5dadd)
2008-01-11Refactor libnetapi error string functions a bit.Günther Deschner2-6/+20
Guenther (This used to be commit 3b450a8bcc97b6d03c4b7b9373a3a382c0fcea30)
2008-01-08Correctly free buffers in netdomjoin-gui.Günther Deschner1-1/+8
Guenther (This used to be commit 04d78d4d9a8cffe44c927036038aef1d6d6b44b2)
2008-01-08Make name_buffer in NetGetJoinInformation() talloced.Günther Deschner1-2/+2
Guenther (This used to be commit 421905fb608df6736944ac21ac67abee24991521)
2008-01-08Add NetApiBufferFree() to libnetapi.Günther Deschner2-0/+19
Guenther (This used to be commit c49196954d38f0c2851abbfe25086cd6fe660a2e)
2008-01-08Fix crash bug when strequal is used too late in libnetapi_free.Günther Deschner1-5/+8
Guenther (This used to be commit ba2b8a310e1d6f78116350e24c17ae4db08b9bed)
2008-01-07Enable talloc reporting in libnetapi if DEVELOPER compiled.Günther Deschner1-0/+3
Guenther (This used to be commit 01e9151546a83e0c772a144efa85437ca0c8a307)
2008-01-07In libnetapi example, use libnetapi_get_error_string().Günther Deschner1-1/+6
Guenther (This used to be commit b624db92d61809a44881abbdd09dfa3a74ff7a88)
2008-01-07In the local path of NetJoinDomain, try to get error string from libnetjoin.Günther Deschner1-0/+3
Guenther (This used to be commit 0f0f0e13022da584b77e850fec2cef6169e1ac28)
2008-01-07Add libnetapi_set_error_string and libnetapi_get_error_string.Günther Deschner2-4/+33
Guenther (This used to be commit f8806bad8134d544229c426f58bee143ba752cf8)
2008-01-07Add krb5 cc env to libnetapi_ctx.Günther Deschner1-0/+4
Guenther (This used to be commit df2b078fa1658bdbff1280f7fe0b062d9eabd60c)
2008-01-07Let libnetapi use it's own krb5 cred cache in memory if necessary.Günther Deschner1-0/+33
Guenther (This used to be commit 863fb30038e384585502f0154a742481594b99d0)
2008-01-07Rearrange order of libnet join context init.Günther Deschner1-3/+3
Guenther (This used to be commit 89669c66f27fb47c9769d1058e29bff83f862752)
2008-01-07Free libnet_JoinCtx after joining.Günther Deschner1-1/+4
Guenther (This used to be commit 5abae9ef15fa9884c5c4a0e256274f70f6ecd779)
2008-01-07Close registry in libnetapi_free().Günther Deschner1-0/+1
Guenther (This used to be commit e7258a4408e40686ff090d0f8e120ce78acbd097)
2008-01-07Add NET_API_STATUS_SUCCESS define.Günther Deschner2-10/+14
Guenther (This used to be commit a72ad63163a8c642ea762087a739e6d63c37647a)
2008-01-07Fix two memleaks in libnetapi.Günther Deschner1-1/+4
Guenther (This used to be commit d73bde99e8518607bb78b5625ce5fb1991d8e402)
2008-01-07Failure while unjoining a domain is non-critical.Günther Deschner1-8/+2
Just continue joining to the workgroup in that case. Guenther (This used to be commit bf9ce2a928e3136d3bfe368f75d5b99273c5b04f)