7dc7b9e554
smbdotconf: mark "server string" with substitution="1"
...
Signed-off-by: Ralph Boehme <slow@samba.org >
Reviewed-by: Stefan Metzmacher <metze@samba.org >
2019-11-27 10:25:36 +00:00
1643c334db
libsmb: Give dsgetdcname.c its own header
...
Signed-off-by: Volker Lendecke <vl@samba.org >
Reviewed-by: Jeremy Allison <jra@samba.org >
2018-04-11 01:06:39 +02:00
a72a52fca1
werror: replace WERR_UNKNOWN_LEVEL with WERR_INVALID_LEVEL in source3/lib/netapi/
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org >
Reviewed-by: Jeremy Allison <jra@samba.org >
2016-09-28 00:04:34 +02:00
9219c9df44
werror: replace WERR_NO_SUCH_SERVICE with WERR_SERVICE_DOES_NOT_EXIST in source3/lib/netapi/serverinfo.c
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org >
Reviewed-by: Jeremy Allison <jra@samba.org >
2016-09-28 00:04:24 +02:00
9bde08f153
werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source3/lib/netapi/
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org >
Reviewed-by: Jeremy Allison <jra@samba.org >
2016-09-28 00:04:22 +02:00
db1c5d721b
werror: replace WERR_NOMEM with WERR_NOT_ENOUGH_MEMORY in source3/lib/netapi/
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org >
Reviewed-by: Jeremy Allison <jra@samba.org >
2016-09-28 00:04:18 +02:00
2ca2ab3550
param: rename lp function and variable from "serverstring" to "server_string"
...
Signed-off-by: Garming Sam <garming@catalyst.net.nz >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
Reviewed-by: Jeremy Allison <jra@samba.org >
2014-02-07 16:19:11 -08:00
fa37bbd9d0
s3-libnetapi: pass down ndr_interface_table to libnetapi_get_binding_handle().
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org >
Reviewed-by: Stefan Metzmacher <metze@samba.org >
Reviewed-by: Andreas Schneider <asn@samba.org >
2013-08-05 10:29:59 +02:00
fe72740e82
loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *.
...
They use talloc_tos() internally: hoist that up to the callers, some
of whom don't want to us talloc_tos().
A simple patch, but hits a lot of files.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2012-07-18 15:07:23 +09:30
734e1b6812
s3-param Remove 'announce version' parameter
...
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
2011-06-23 13:47:27 +02:00
74eed8f3ed
s3-param Remove special case for global_myname(), rename to lp_netbios_name()
...
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
2011-06-09 12:40:09 +02:00
04c101e873
s3-libnetapi/libnetjoin: fix uninitialized variables after the libsmbconf changes.
...
Guenther
2011-05-13 00:18:49 +02:00
ddc28a683f
libsmbconf: Convert smbconf_set_parameter() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org >
2011-05-10 19:13:21 +02:00
29eea4b09a
libsmbconf: Convert smbconf_init() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org >
2011-05-10 19:13:20 +02:00
3acd6bde58
s3-netapi: use libnetapi_get_binding_handle().
...
Guenther
2011-04-12 12:20:43 +02:00
1ef94dffe6
s3-libnetapi: prefer dcerpc_srvsvc_X functions.
...
Guenther
Signed-off-by: Andreas Schneider <asn@samba.org >
2011-01-13 14:11:16 +01:00
13756d0e80
s3: Attempt to fix bug 7665
...
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.
2010-10-02 12:02:02 +02:00
e9f5bdf6b5
smbconf: only include smbconf headers where needed.
...
Guenther
2010-05-18 10:36:33 +02:00
c6ebab846d
s3: only include gen_ndr headers where needed.
...
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
2010-05-06 00:22:59 +02:00
3d679a3b5f
s3-rpc: Avoid including every pipe's client and server stubs everywhere in samba.
...
Guenther
2009-11-26 20:03:17 +01:00
6a650d7d16
Revert "s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_table"
...
This reverts commit 5fc9d93408
.
2009-11-08 19:43:46 +01:00
5fc9d93408
s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_table
2009-11-08 13:12:16 +01:00
382a937800
Fix some dead code warnings from SUN Studio
2009-06-26 17:45:16 +02:00
9823b4343d
Fix an uninitialized variable
2009-02-19 21:00:29 +01:00
dc7f04aac7
s3-netapi: fix Coverity #881 and #882 .
...
Guenther
2009-02-17 10:21:22 +01:00
bbfc11644d
netapi: implement more SERVER_INFO_X levels.
...
Guenther
2009-02-06 11:10:36 +01:00
a9542ddcb7
libnetapi_open_pipe does not need to return cli_state
...
The user session key is also available in rpccli->auth->user_session_key
Guenther, please check!
Thanks,
Volker
2009-01-18 20:10:06 +01:00
78a80f1865
netapi: add support for local query of level 101 in NetServerGetInfo.
...
Guenther
(This used to be commit b7a2f27c1c
)
2008-09-05 13:03:36 +02:00
c59158b225
netapi: add support for more infolevels in NetServerGetInfo_r.
...
Guenther
(This used to be commit 43aad72457
)
2008-09-05 13:03:27 +02:00
fcd10d26a4
netapi: make libnetapi_open_ipc_connection static.
...
Guenther
(cherry picked from commit 0259914f8f
)
(This used to be commit 7edc671cc1
)
2008-08-14 12:22:11 +02:00
87b9c9ade2
netapi: make non-implemented local calls default to remote "localhost" calls.
...
Guenther
(cherry picked from commit aa70e58880
)
(This used to be commit 9927ac6eec
)
2008-08-14 12:22:02 +02:00
44465215ff
netapi: use "buffer" in libnetapi.
...
Guenther
(This used to be commit 80957bc1bc
)
2008-07-30 16:43:47 +02:00
798b56edae
Refactoring: libnetapi_open_pipe takes an interface instead of pipe_idx
...
(This used to be commit 726e56c72f
)
2008-07-21 14:36:27 +02:00
a2290e5e00
netapi: implement NetRemoteTOD().
...
Guenther
(This used to be commit 76877680a8
)
2008-06-17 19:58:01 +02:00
ebbeddfdcd
netapi: add NetRemoteTOD() skeleton.
...
Guenther
(This used to be commit 78bc98cb55
)
2008-06-17 19:56:44 +02:00
2595377988
libnetapi: fix a C++ warning by making implicit cast explicit
...
Michael
(This used to be commit b62dd61cc5
)
2008-04-13 00:24:42 +02:00
ef6ed54765
Use libnetapi_open_pipe in netapi functions.
...
Guenther
(This used to be commit 5804d8b112
)
2008-04-10 22:44:00 +02:00
aeb7f7db40
Use libnetapi_open_ipc_connection in libnetapi.
...
Guenther
(This used to be commit d9f19fc615
)
2008-04-10 22:04:04 +02:00
8ab9696bfb
Split out private headers in libnetapi.
...
Guenther
(This used to be commit dd6251d514
)
2008-04-10 21:52:03 +02:00
1a8a8b7769
Use SERVER_INFO_1005 in libnetapi.
...
Guenther
(This used to be commit 5f8793dd1d
)
2008-04-10 21:31:12 +02:00
af19343df8
Try to use kerberos in libnetapi.
...
Guenther
(This used to be commit 9cfce22295
)
2008-04-08 19:42:26 +02:00
ba35a8c8dd
Restructure inner workings of libnetapi a bit.
...
Guenther
(This used to be commit a4e3bc2bad
)
2008-04-08 03:08:49 +02:00
6f7cfeddd6
libsmbconf: add a "path" variable to the conf context.
...
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 96434d9dc7
)
2008-03-21 18:19:24 +01:00
fececde181
libsmbconf: add backend specific init function.
...
Hide generic init function taking smbconf_ops argument
from public api.
Michael
(This used to be commit b3f6920ccb
)
2008-03-21 02:25:56 +01:00
23b1d721b8
libsmbconf: rename smbconf_close() to smbconf_shutdown().
...
Michael
(This used to be commit 797b26ad3f
)
2008-03-21 02:25:56 +01:00
adf5bf554c
libsmbconf: rename smbconf_open() to smbconf_init().
...
That's more appropriate.
Michael
(This used to be commit d7bd9bb8aa
)
2008-03-21 02:25:56 +01:00
6274929b1e
libsmbconf: rename all occurrences of libnet_conf_ to smbconf_ .
...
Michael
(This used to be commit 097af0309d
)
2008-03-17 18:03:02 +01:00
65b0235ee3
Give a better error message why NetServerSetInfo() may fail in the gui.
...
Guenther
(This used to be commit 1bbbebb776
)
2008-03-05 15:23:00 +01:00
d1ef6699c0
Fix rpccli_srvsvc_NetSrvSetInfo call in libnetapi.
...
Guenther
(This used to be commit 5911529205
)
2008-03-05 09:54:12 +01:00
b1424846c6
Cosmetics and error string reporting for libnetapi.
...
Guenther
(This used to be commit 4ca3392851
)
2008-01-18 02:55:10 +01:00