summaryrefslogtreecommitdiffstats
path: root/source3/lib/netapi/serverinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-param Remove 'announce version' parameterAndrew Bartlett2011-06-231-2/+2
| | | | | | | | The only users I can find of this on the internet involve confused users, and our own documentation recommends never setting this. Don't confuse our users any longer. Andrew Bartlett
* s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett2011-06-091-1/+1
| | | | | | | | There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
* s3-libnetapi/libnetjoin: fix uninitialized variables after the libsmbconf ↵Günther Deschner2011-05-131-1/+1
| | | | | | changes. Guenther
* libsmbconf: Convert smbconf_set_parameter() to sbcErr.Andreas Schneider2011-05-101-1/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_init() to sbcErr.Andreas Schneider2011-05-101-2/+7
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-netapi: use libnetapi_get_binding_handle().Günther Deschner2011-04-121-18/+9
| | | | Guenther
* s3-libnetapi: prefer dcerpc_srvsvc_X functions.Günther Deschner2011-01-131-4/+21
| | | | | | Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* s3: Attempt to fix bug 7665Volker Lendecke2010-10-021-3/+3
| | | | | | | Quite a few of our internal routines put stuff on talloc_tos() these days. In top-level netapi routines, properly allocate a stackframe and clean it again. Also, don't leak memory in the rpccli_ callers onto the libnetapi context.
* smbconf: only include smbconf headers where needed.Günther Deschner2010-05-181-0/+2
| | | | Guenther
* s3: only include gen_ndr headers where needed.Günther Deschner2010-05-061-1/+0
| | | | | | | | | | | | | | | | | This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther
* s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner2009-11-261-0/+1
| | | | | | samba. Guenther
* Revert "s3: Make libnetapi_open_pipe take strings instead of a ↵Volker Lendecke2009-11-081-3/+3
| | | | | | ndr_interface_table" This reverts commit 5fc9d93408effe75abcd231c45cbc14656692ebe.
* s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_tableVolker Lendecke2009-11-081-3/+3
|
* Fix some dead code warnings from SUN StudioVolker Lendecke2009-06-261-2/+2
|
* Fix an uninitialized variableVolker Lendecke2009-02-191-0/+1
|
* s3-netapi: fix Coverity #881 and #882.Günther Deschner2009-02-171-7/+56
| | | | Guenther
* netapi: implement more SERVER_INFO_X levels.Günther Deschner2009-02-061-1/+271
| | | | Guenther
* libnetapi_open_pipe does not need to return cli_stateVolker Lendecke2009-01-181-6/+0
| | | | | | | | | | The user session key is also available in rpccli->auth->user_session_key Guenther, please check! Thanks, Volker
* netapi: add support for local query of level 101 in NetServerGetInfo.Günther Deschner2008-09-051-0/+25
| | | | | Guenther (This used to be commit b7a2f27c1cae9abed2f821177fca425012222632)
* netapi: add support for more infolevels in NetServerGetInfo_r.Günther Deschner2008-09-051-3/+90
| | | | | Guenther (This used to be commit 43aad72457f77ac209494cfca46048e0c4bfa6c7)
* netapi: make libnetapi_open_ipc_connection static.Günther Deschner2008-08-141-18/+9
| | | | | | Guenther (cherry picked from commit 0259914f8ff04514a8395d8e1af61aadd50c5efb) (This used to be commit 7edc671cc1007ae216e7efdbcdb9cfa1e547dca5)
* netapi: make non-implemented local calls default to remote "localhost" calls.Günther Deschner2008-08-141-1/+1
| | | | | | Guenther (cherry picked from commit aa70e588803e3767796dc958b139f4ee464d8626) (This used to be commit 9927ac6eec9fe1fecfedb97b61c4f93379fc8722)
* netapi: use "buffer" in libnetapi.Günther Deschner2008-07-301-3/+3
| | | | | Guenther (This used to be commit 80957bc1bc1462a2478b3eea64f5cb7a84d08677)
* Refactoring: libnetapi_open_pipe takes an interface instead of pipe_idxVolker Lendecke2008-07-211-3/+6
| | | | (This used to be commit 726e56c72fdb685ab5eddefd2fd8b043dc38d6ad)
* netapi: implement NetRemoteTOD().Günther Deschner2008-06-171-2/+32
| | | | | Guenther (This used to be commit 76877680a8a6400bc2d3b5e3b788b7d5fc683850)
* netapi: add NetRemoteTOD() skeleton.Günther Deschner2008-06-171-0/+19
| | | | | Guenther (This used to be commit 78bc98cb55e36ef175f9c0f6fcd943781a514005)
* libnetapi: fix a C++ warning by making implicit cast explicitMichael Adam2008-04-131-1/+1
| | | | | Michael (This used to be commit b62dd61cc56ec33601289fd4e23058c7f9ad3f0d)
* Use libnetapi_open_pipe in netapi functions.Günther Deschner2008-04-101-10/+6
| | | | | Guenther (This used to be commit 5804d8b112e1da022988c635284eb4799974d4c7)
* Use libnetapi_open_ipc_connection in libnetapi.Günther Deschner2008-04-101-32/+4
| | | | | Guenther (This used to be commit d9f19fc61586d606393368799dee9757c169d602)
* Split out private headers in libnetapi.Günther Deschner2008-04-101-0/+1
| | | | | Guenther (This used to be commit dd6251d51472a96bfc5ba3d62ea788c8924d4c6b)
* Use SERVER_INFO_1005 in libnetapi.Günther Deschner2008-04-101-2/+2
| | | | | Guenther (This used to be commit 5f8793dd1d8a3694afb7f2d882cfb9990eb40b75)
* Try to use kerberos in libnetapi.Günther Deschner2008-04-081-2/+6
| | | | | Guenther (This used to be commit 9cfce2229508c2145c3527074ac76520544e5d25)
* Restructure inner workings of libnetapi a bit.Günther Deschner2008-04-081-145/+36
| | | | | Guenther (This used to be commit a4e3bc2bade8bf74696e1c6ced74da563ff2df7b)
* libsmbconf: add a "path" variable to the conf context.Michael Adam2008-03-211-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)
* libsmbconf: add backend specific init function.Michael Adam2008-03-211-1/+1
| | | | | | | | Hide generic init function taking smbconf_ops argument from public api. Michael (This used to be commit b3f6920ccb9a27fde26e889a7f1f3afaf56b784f)
* libsmbconf: rename smbconf_close() to smbconf_shutdown().Michael Adam2008-03-211-1/+1
| | | | | Michael (This used to be commit 797b26ad3fad27e085827efb61f6b4d8b37e93f0)
* libsmbconf: rename smbconf_open() to smbconf_init().Michael Adam2008-03-211-1/+1
| | | | | | | That's more appropriate. Michael (This used to be commit d7bd9bb8aa2003ec0a9860df26857f67255febe2)
* libsmbconf: rename all occurrences of libnet_conf_ to smbconf_ .Michael Adam2008-03-171-6/+5
| | | | | Michael (This used to be commit 097af0309d7c3e9342058ba5266667293b23c80d)
* Give a better error message why NetServerSetInfo() may fail in the gui.Günther Deschner2008-03-051-0/+3
| | | | | Guenther (This used to be commit 1bbbebb7767b8a25532e8be3dbd274c211e34bbd)
* Fix rpccli_srvsvc_NetSrvSetInfo call in libnetapi.Günther Deschner2008-03-051-1/+1
| | | | | Guenther (This used to be commit 5911529205ca69c438e0782c07ee4fe5aa95de62)
* Cosmetics and error string reporting for libnetapi.Günther Deschner2008-01-181-8/+35
| | | | | Guenther (This used to be commit 4ca33928512bd71268bafd41d2b608e814a7295f)
* Use lp_config_backend_is_registry() instead of lp_include_registry_globals().Michael Adam2008-01-161-1/+1
| | | | | Michael (This used to be commit c5a7d421c512a6221b0300549d7b5de0368d252e)
* Introduce a libnet_conf context created by libnet_conf_open().Michael Adam2008-01-131-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)
* Rename libnet_smbconf_set_global_param() to libnet_conf_set_global_parameter().Michael Adam2008-01-031-2/+2
| | | | | | | Now all functions are converted to the consistent naming scheme. Michael (This used to be commit a559533c0c8a80f3f4078bbc2675de395359485f)
* Fix the buildVolker Lendecke2007-12-251-2/+1
| | | | (This used to be commit 72dc71710813ea9f1d8864c4401fef25a25577bd)
* Keep libnetapi_NetX calls static for now.Günther Deschner2007-12-211-9/+9
| | | | | Guenther (This used to be commit c255654c68923aca3e258906e49be82d719d5ccd)
* Implement NetServerSetInfo level 1005 in local mode with smbconf registry.Günther Deschner2007-12-211-7/+7
| | | | | Guenther (This used to be commit 15c2bc15f20a677c3c94895150e396275de6ac9b)
* Add NetServerGetInfo and NetServerSetInfo (for level 1005).Günther Deschner2007-12-211-0/+297
Guenther (This used to be commit 1cad549f54563c3a9787624ba7a56b54107ebd57)