summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/serverinfo.c
AgeCommit message (Collapse)AuthorFilesLines
2008-01-18Cosmetics and error string reporting for libnetapi.Günther Deschner1-8/+35
Guenther (This used to be commit 4ca33928512bd71268bafd41d2b608e814a7295f)
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-03Rename libnet_smbconf_set_global_param() to libnet_conf_set_global_parameter().Michael Adam1-2/+2
Now all functions are converted to the consistent naming scheme. Michael (This used to be commit a559533c0c8a80f3f4078bbc2675de395359485f)
2007-12-25Fix the buildVolker Lendecke1-2/+1
(This used to be commit 72dc71710813ea9f1d8864c4401fef25a25577bd)
2007-12-21Keep libnetapi_NetX calls static for now.Günther Deschner1-9/+9
Guenther (This used to be commit c255654c68923aca3e258906e49be82d719d5ccd)
2007-12-21Implement NetServerSetInfo level 1005 in local mode with smbconf registry.Günther Deschner1-7/+7
Guenther (This used to be commit 15c2bc15f20a677c3c94895150e396275de6ac9b)
2007-12-21Add NetServerGetInfo and NetServerSetInfo (for level 1005).Günther Deschner1-0/+297
Guenther (This used to be commit 1cad549f54563c3a9787624ba7a56b54107ebd57)