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
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
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
2f4bd23e9e
dcesrv_srvsvc: Use constants.
2010-12-19 21:44:06 +01:00
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
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
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
6f6365daba
s4:rpc_server/srvsvc/dcesrv_srvsvc.c - remove unreachable code
2010-06-26 20:08:47 +02:00
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
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
ff17d8ab1e
s4:srvsvc RPC - make this one "signed-safe"
2010-03-01 18:45:20 +01:00
1261d694f0
more include minimisation
2009-09-19 14:12:01 -07:00
5fb6530295
s4:srvsvc: Fix logic on error checking.
2009-09-10 01:09:57 +02:00
d3df4061d9
Use struct for server versions.
2008-11-01 15:50:52 +01:00
f25b645ab1
s4-srvsvc: merge srvsvc_NetShareEnum from s3 idl.
...
Guenther
2008-10-31 02:44:34 +01:00
7204deac82
s4-srvsvc: merge srvsvc_NetShareEnumAll from s3 idl.
...
Guenther
2008-10-31 02:44:34 +01:00
947e14adae
s4-srvsvc: merge srvsvc_NetSessEnum from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
546fb4028a
s4-srvsvc: merge srvsvc_NetFileEnum from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
8f99170ab9
s4-srvsvc: merge srvsvc_NetConnEnum from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
d1340df8b8
s4-srvsvc: merge srvsvc_NetCharDevQEnum from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
07f1bb3abc
s4-srvsvc: merge srvsvc_NetCharDevEnum from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
439f197a68
s4-srvsvc: merge srvsvc_NetDiskEnum from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
7255209177
s4-srvsvc: merge srvsvc_NetFileGetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
b70d984f8f
s4-srvsvc: merge srvsvc_NetCharDevQGetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:32 +01:00
6e9d69e4c8
s4-srvsvc: merge srvsvc_NetCharDevGetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:32 +01:00
c982b36930
s4-srvsvc: merge srvsvc_NetSrvGetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:32 +01:00
d2cc4e63c5
s4-srvsvc: merge srvsvc_NetTransportEnum from s3 idl.
...
Guenther
2008-10-31 02:44:32 +01:00
227c6ed8ea
s4-srvsvc: merge srvsvc_NetShareGetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:31 +01:00
523732ed2d
s4-srvsvc: merge srvsvc_NetShareSetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:31 +01:00
3206f35527
s4-srvsvc: merge srvsvc_NetShareAdd from s3 idl.
...
Guenther
2008-10-31 02:44:31 +01:00
31b067a6dd
s4-srvsvc: merge srvsvc_NetShareCheck from s3 idl.
...
Guenther
2008-10-31 02:44:30 +01:00
9fd82703d1
s4-srvsvc: merge srvsvc_NetRemoteTOD from s3 idl.
...
Guenther
2008-10-31 02:44:30 +01:00
f61ce2fe41
s4-srvsvc: merge srvsvc_NetSetFileSecurity from s3 idl.
...
Guenther
2008-10-31 02:44:30 +01:00
95e438d9b3
s4-srvsvc: merge srvsvc_NetSetFileSecurity from s3 idl.
...
Guenther
2008-10-31 02:44:29 +01:00
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
c7dcf7da55
s4-srvsvc-server: fix obvious level mismatch in dcesrv_srvsvc_NetShareAdd().
...
Guenther
2008-10-29 21:06:38 +01:00
21fc767378
Specify event_context to ldb_wrap_connect explicitly.
...
(This used to be commit b4e1ae07a2
)
2008-04-17 12:23:44 +02:00
afe3e8172d
Install public header files again and include required prototypes.
...
(This used to be commit 47ffbbf674
)
2008-04-02 04:53:27 +02:00
e31abef15f
r26440: Remove more uses of global_loadparm.
...
(This used to be commit 8858cf3972
)
2007-12-21 05:50:08 +01:00
f055893ca5
r26382: Remove more uses of global_loadparm.
...
(This used to be commit 6d4c598534
)
2007-12-21 05:49:17 +01:00
2f5ca872a8
r26313: Fix more uses of static loadparm.
...
(This used to be commit 6fd0d9d3b7
)
2007-12-21 05:48:25 +01:00
57f20ccd24
r26296: Store loadparm context in DCE/RPC server context.
...
(This used to be commit fc1f4d2d65
)
2007-12-21 05:48:13 +01:00
37d53832a4
r25398: Parse loadparm context to all lp_*() functions.
...
(This used to be commit 3fcc960839
)
2007-10-10 15:07:25 -05:00
ffeee68e4b
r25026: Move param/param.h out of includes.h
...
(This used to be commit abe8349f9b
)
2007-10-10 15:05:38 -05:00
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac
)
2007-10-10 14:59:12 -05:00
64e88a8ccf
r20850: Prefix all server calls with dcesrv_
...
(This used to be commit 76c78b0339
)
2007-10-10 14:43:39 -05:00
443a22b7f7
r18860: fixed some code that bitrotted while we didn't have the safety check
...
with NTSTATUS, WERROR etc.
(This used to be commit fddb85bfa8
)
2007-10-10 14:20:16 -05:00
fec00fd6f8
r18740: Some more work around srvsvc
...
(This used to be commit be2f4a2c44
)
2007-10-10 14:19:06 -05:00
c4d45aac9d
r18590: Some more work on the srvsvc pipe
...
(This used to be commit 2c035787d4
)
2007-10-10 14:18:53 -05:00
fa257e78b5
r18558: Fix ShareCheck which was assuming all paths are "C:\"
...
Also cope with the fact that we define the FSTYPE as NTFS by default.
We never use this anywhere else, so we may just change it, but just
detect the fact and return DISK in share_classic for now.
(This used to be commit 4daf5f7764
)
2007-10-10 14:18:46 -05:00