Garming Sam
1fb1f6bc0d
lib/param: handle non-constant strings properly by passing in a memory context
...
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Change-Id: Ic6bb1c709defd2b0f35fc7b877da0badca385776
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
2014-02-20 10:11:06 +13:00
Garming Sam
bce62e6000
s4: pass down a memory context when performing share_string_option, to allow substitutions
...
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Change-Id: I24b36db3ac11834c3268b2da929e214c10268b16
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
2014-02-20 10:11:00 +13:00
Garming Sam
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
Jelmer Vernooij
d415a7f788
source4/rpc_server: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Jelmer Vernooij
2f4bd23e9e
dcesrv_srvsvc: Use constants.
2010-12-19 21:44:06 +01:00
Andrew Tridgell
56640a8501
s4-rpc_server: split out DCERPC_SHARE as a separate subsystem
...
this avoids a problem with -Wl,-no-undefined in the ntvfs layer
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:27 +11:00
Andrew Bartlett
f7ffc12e2d
libcli/security Use static SIDs rather than parsing from strings
...
This should make the security_token_is_*() calls a little faster.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-14 02:35:05 +00:00
Andrew Tridgell
6b266b85cf
s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
...
this converts all callers that use the Samba4 loadparm lp_ calling
convention to use the lpcfg_ prefix.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16 18:24:27 +10:00
Matthias Dieter Wallnöfer
6f6365daba
s4:rpc_server/srvsvc/dcesrv_srvsvc.c - remove unreachable code
2010-06-26 20:08:47 +02:00
Stefan Metzmacher
32bcc73cf8
s4:rpc_server/srvsvc: pass tsocket_address to the ntvfs layer
...
metze
2010-04-27 13:00:25 +02:00
Stefan Metzmacher
11a402afa8
s4:rpc_server/srvsvc: remove unused ZERO_STRUCT(r->out);
...
Here it doesn't matter, but it's a bad example for other code
as it might reset the [out,ref] pointers which are already
generated by the pidl generated code.
metze
2010-03-10 17:12:09 +01:00
Matthias Dieter Wallnöfer
6a1a7ce9eb
s4:srvsvc RPC - "srvsvc_create_ntvfs_connect"
...
Previous commit was incomplete. The "service" parameter in the "tcon" structure
should point to "scfg->name". I'm not sure if "share" is right but the first
was used before commit f390daef47
.
2010-03-03 20:15:25 +01:00
Matthias Dieter Wallnöfer
9b4d208ce8
s4:srvsvc RPC - fix up the "ntvfs_connect" in "srvsvc_create_ntvfs_connect"
...
This should be the right fix (set the service name in the tcon union to the
share name/path). That should be the solution for bug #6784 .
2010-03-03 18:43:23 +01:00
Matthias Dieter Wallnöfer
05bd8c17be
s4:srvsvc RPC - revert one unsigned integer "i" back to signed
...
This is needed since this particular "i" counts until "count" which itself is
signed. "count" is set through a signed integer variable parameter from the
"share_list_all" call.
2010-03-01 21:18:43 +01:00
Matthias Dieter Wallnöfer
ff17d8ab1e
s4:srvsvc RPC - make this one "signed-safe"
2010-03-01 18:45:20 +01:00
Andrew Tridgell
95e895d880
s4: ran minimal_includes.pl on source4/rpc_server
2009-10-20 16:04:56 +11:00
Matthias Dieter Wallnöfer
f390daef47
s4/srvsvc: deactivate a "ntvfs_connect" with a wrong parameter
...
In the srvsvc code for s4 (NTVFS module) there exists a call to "ntvfs_connect"
which is performed with a totally wrong argument. Since I'm not able to fix
this, I commented it out and added a "FIXME" comment.
2009-10-02 15:33:40 +02:00
Andrew Tridgell
1261d694f0
more include minimisation
2009-09-19 14:12:01 -07:00
Andrew Kroeger
5fb6530295
s4:srvsvc: Fix logic on error checking.
2009-09-10 01:09:57 +02:00
Jelmer Vernooij
d3df4061d9
Use struct for server versions.
2008-11-01 15:50:52 +01:00
Günther Deschner
f25b645ab1
s4-srvsvc: merge srvsvc_NetShareEnum from s3 idl.
...
Guenther
2008-10-31 02:44:34 +01:00
Günther Deschner
7204deac82
s4-srvsvc: merge srvsvc_NetShareEnumAll from s3 idl.
...
Guenther
2008-10-31 02:44:34 +01:00
Günther Deschner
947e14adae
s4-srvsvc: merge srvsvc_NetSessEnum from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
Günther Deschner
546fb4028a
s4-srvsvc: merge srvsvc_NetFileEnum from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
Günther Deschner
8f99170ab9
s4-srvsvc: merge srvsvc_NetConnEnum from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
Günther Deschner
d1340df8b8
s4-srvsvc: merge srvsvc_NetCharDevQEnum from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
Günther Deschner
07f1bb3abc
s4-srvsvc: merge srvsvc_NetCharDevEnum from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
Günther Deschner
439f197a68
s4-srvsvc: merge srvsvc_NetDiskEnum from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
Günther Deschner
7255209177
s4-srvsvc: merge srvsvc_NetFileGetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
Günther Deschner
b70d984f8f
s4-srvsvc: merge srvsvc_NetCharDevQGetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:32 +01:00
Günther Deschner
6e9d69e4c8
s4-srvsvc: merge srvsvc_NetCharDevGetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:32 +01:00
Günther Deschner
c982b36930
s4-srvsvc: merge srvsvc_NetSrvGetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:32 +01:00
Günther Deschner
d2cc4e63c5
s4-srvsvc: merge srvsvc_NetTransportEnum from s3 idl.
...
Guenther
2008-10-31 02:44:32 +01:00
Günther Deschner
227c6ed8ea
s4-srvsvc: merge srvsvc_NetShareGetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:31 +01:00
Günther Deschner
523732ed2d
s4-srvsvc: merge srvsvc_NetShareSetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:31 +01:00
Günther Deschner
3206f35527
s4-srvsvc: merge srvsvc_NetShareAdd from s3 idl.
...
Guenther
2008-10-31 02:44:31 +01:00
Günther Deschner
31b067a6dd
s4-srvsvc: merge srvsvc_NetShareCheck from s3 idl.
...
Guenther
2008-10-31 02:44:30 +01:00
Günther Deschner
9fd82703d1
s4-srvsvc: merge srvsvc_NetRemoteTOD from s3 idl.
...
Guenther
2008-10-31 02:44:30 +01:00
Günther Deschner
f61ce2fe41
s4-srvsvc: merge srvsvc_NetSetFileSecurity from s3 idl.
...
Guenther
2008-10-31 02:44:30 +01:00
Günther Deschner
95e438d9b3
s4-srvsvc: merge srvsvc_NetSetFileSecurity from s3 idl.
...
Guenther
2008-10-31 02:44:29 +01:00
Günther Deschner
0b95cb251c
s4-srvsvc: merge srvsvc_NetShareInfo502 from s3.
...
Apparently both s3 and s4 are not entirely correct one this. metze is looking
into hand-marshalling security descriptors so this will fix this finally. For
now, just keep the two in sync.
Guenther
2008-10-31 02:44:29 +01:00
Günther Deschner
c7dcf7da55
s4-srvsvc-server: fix obvious level mismatch in dcesrv_srvsvc_NetShareAdd().
...
Guenther
2008-10-29 21:06:38 +01:00
Jelmer Vernooij
21fc767378
Specify event_context to ldb_wrap_connect explicitly.
...
(This used to be commit b4e1ae07a2
)
2008-04-17 12:23:44 +02:00
Jelmer Vernooij
afe3e8172d
Install public header files again and include required prototypes.
...
(This used to be commit 47ffbbf674
)
2008-04-02 04:53:27 +02:00
Stefan Metzmacher
87f2925252
ntvfs: pass down the client capabilities into the ntvfs layer
...
Note that we don't use any protocol specific values here.
For now only NTVFS_CLIENT_CAP_LEVEL_II_OPLOCKS is defined
others should be defined, when we find out that the ntvfs
layer needs to know about it.
metze
(This used to be commit cc42cd5f67
)
2008-03-06 16:31:25 +01:00
Jelmer Vernooij
e31abef15f
r26440: Remove more uses of global_loadparm.
...
(This used to be commit 8858cf3972
)
2007-12-21 05:50:08 +01:00
Jelmer Vernooij
f055893ca5
r26382: Remove more uses of global_loadparm.
...
(This used to be commit 6d4c598534
)
2007-12-21 05:49:17 +01:00
Jelmer Vernooij
a72c5053c5
r26353: Remove use of global_loadparm.
...
(This used to be commit 17637e4490
)
2007-12-21 05:48:57 +01:00
Jelmer Vernooij
2f5ca872a8
r26313: Fix more uses of static loadparm.
...
(This used to be commit 6fd0d9d3b7
)
2007-12-21 05:48:25 +01:00
Jelmer Vernooij
57f20ccd24
r26296: Store loadparm context in DCE/RPC server context.
...
(This used to be commit fc1f4d2d65
)
2007-12-21 05:48:13 +01:00