Günther Deschner
b6a2cea74d
s3-security: use shared "Standard access rights.".
...
Guenther
2010-06-03 11:00:26 +02:00
Günther Deschner
a75436e3ee
s3-security: use shared SECINFO_DACL define.
...
Guenther
2010-06-03 11:00:12 +02:00
Günther Deschner
e24a59f932
s3-security: use shared SECINFO_SACL define.
...
Guenther
2010-06-03 10:59:54 +02:00
Günther Deschner
630c27bdad
s3-security: use shared SECINFO_GROUP define.
...
Guenther
2010-06-03 10:59:38 +02:00
Günther Deschner
415d3d5fe7
s3-security: use shared SECINFO_OWNER define.
...
Guenther
2010-06-03 10:59:15 +02:00
Günther Deschner
f9f8007361
s3-build: only use ndr_security.h where needed.
...
Guenther
2010-05-31 11:32:37 +02:00
Michael Adam
0fe1ff99a1
s3:registry: move reg_objects.h to registry/ and use it only where needed
...
Every place outside of registry/ where this is used, should probably
be changed to use pure reg_api.c code.
2010-05-25 10:35:31 +02:00
Günther Deschner
ba1befd365
s3-services: move services.h closer to services implementation.
...
Guenther
2010-05-20 13:39:46 +02:00
Günther Deschner
7f6bb48bdf
s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".
...
Guenther
2010-05-18 12:30:12 +02:00
Günther Deschner
8951c8301a
s3-secdesc: remove "typedef struct security_acl SEC_ACL".
...
Guenther
2010-05-18 12:30:12 +02:00
Günther Deschner
a8b01d1f3b
s3-secdesc: remove "typedef struct security_ace SEC_ACE".
...
Guenther
2010-05-18 12:30:11 +02:00
Jelmer Vernooij
b8268cf7b0
s3: Remove use of iconv_convenience.
2010-05-18 11:45:31 +02:00
Günther Deschner
fe31b67d5e
s3-registry: only include registry headers when really needed.
...
Guenther
2010-05-18 01:15:38 +02:00
Günther Deschner
657fd0be1d
s3-services: move services.h to where it is actually used.
...
Guenther
2010-05-18 00:44:27 +02:00
Günther Deschner
3d679a3b5f
s3-rpc: Avoid including every pipe's client and server stubs everywhere in samba.
...
Guenther
2009-11-26 20:03:17 +01:00
Günther Deschner
dd33abf649
s3-svcctl: Fix crash in _svcctl_EnumServicesStatusW().
...
The resume handle is a unique pointer, always check before dereference.
Guenther
2009-04-28 10:37:34 +02:00
Michael Adam
8185d31fb0
s3:registry: replace typedef REGISTRY_VALUE by struct regval_blob
...
Michael
2009-04-27 11:21:03 +02:00
Michael Adam
221151a2a2
s3:registry: replace typedef REGVAL_CTR by struct regval_ctr.
...
This paves the way for hiding the typedef and the implementation
from the surface.
Michael
2009-04-27 11:21:02 +02:00
Günther Deschner
aa26bdd719
s3-svcctl: fix _svcctl_ControlService.
...
Guenther
2009-04-24 13:38:34 +02:00
Günther Deschner
fa302020ee
s3-svcctl: fix memcpy in _svcctl_EnumServicesStatusW().
...
Make sure we are not copying more than what we have as valid data.
Fix from Jeremy. Thanks a lot for watching this so closely!
Guenther
2009-04-14 12:13:24 +02:00
Günther Deschner
76da89daaa
s3-svcctl: minor fix for _svcctl_EnumDependentServicesW().
...
Guenther
2009-04-09 16:42:28 +02:00
Günther Deschner
8b9f2abfcb
s3-svcctl: Fix invalid buffer memset in _svcctl_QueryServiceObjectSecurity().
...
Found by torture-test.
Guenther
2009-04-09 15:08:29 +02:00
Günther Deschner
acd7fef984
s3-svcctl: Fix _svcctl_Set/GetServiceObjectSecurity after IDL changes.
...
Guenther
2009-04-09 14:51:21 +02:00
Günther Deschner
d8a6ea8141
s3-svcctl: Fix _svcctl_EnumServicesStatusW (again).
...
The final plan is to use the same macro based code that we have in spoolss to
handle the buffers and calculate the buffer-sizes.
Guenther
2009-04-08 23:23:17 +02:00
Günther Deschner
8e3145e551
svcctl: use offered/needed for buffer sizes as in spoolss.
...
Guenther
2009-04-08 11:03:53 +02:00
Günther Deschner
b36fab0491
s3-svcctl: no need to define SVCCTL_NUM_INTERNAL_SERVICES twice in a file.
...
Guenther
2009-04-08 01:52:28 +02:00
Günther Deschner
21b083a647
s3-svcctl: Fix _svcctl_EnumServicesStatusW() crash bug on too small buffer.
...
Guenther
2009-04-07 01:16:30 +02:00
Günther Deschner
531af136f9
s3: remove POLICY_HND.
...
Guenther
2009-03-18 23:22:29 +01:00
Jeremy Allison
2033b44c3f
More warning fixes for Solaris.
...
Jeremy.
2009-02-23 15:44:34 -08:00
todd stecher
989ad44d32
Memory leaks and other fixes found by Coverity
2009-01-21 17:13:03 -08:00
Günther Deschner
fa6053fe6d
s3-svcctl: use pidl for _svcctl_EnumServicesStatusW.
...
Guenther
2009-01-09 17:08:18 +01:00
Volker Lendecke
84292022bf
Now that all policy_handle free_fn's are just TALLOC_FREE, dump free_fn
2009-01-08 22:29:54 +01:00
Günther Deschner
ca98357710
s3-svcctl: add copyright to svcctl rpc_server.
...
Guenther
2009-01-08 13:24:22 +01:00
Günther Deschner
cbc2c9059f
s3-svcctl: remove some more redundant headers.
...
Guenther
2009-01-08 13:24:22 +01:00
Günther Deschner
3079e14f94
s3-svcctl: use pidl for _svcctl_QueryServiceConfig2W.
...
Guenther
2009-01-08 11:19:33 +01:00
Günther Deschner
5581637d22
s3-svcctl: fix return code for _svcctl_QueryServiceStatusEx.
...
Guenther
2009-01-08 11:19:33 +01:00
Günther Deschner
385316a09a
s3-svcctl: remove old hand marshalling of svcctl_QueryServiceStatusEx.
...
Guenther
2009-01-08 11:19:33 +01:00
Günther Deschner
b42cb4944a
s3-svcctl: use pidl for _svcctl_QueryServiceStatusEx.
...
Guenther
2009-01-08 11:19:32 +01:00
Jelmer Vernooij
08259c1c52
Add iconv_convenience argument to size functions.
2009-01-01 04:45:33 +01:00
Volker Lendecke
907f126d3e
Get rid of pipes_struct->pipe_user, we have server_info now --- YESSS!
2008-11-24 11:39:03 +01:00
Tim Prouty
0b1015d73e
Fix build warning introduced by making SERVICE_CONTROL an enum
2008-11-17 10:21:29 -08:00
Günther Deschner
e76e77c32d
s3-svctl-server: fix remote rpc service management (bug #5888 ).
...
Don't TALLOC_FREE a non-talloced [ref] pointer.
Guenther
2008-11-13 20:49:38 +01:00
Jeremy Allison
8344e94574
Unify se_access_check with the S4 code. Will make
...
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier
for files.
Jeremy.
2008-10-31 10:51:45 -07:00
Günther Deschner
6a97b4147c
s3: use IDL generated rpc for _svcctl_QueryServiceConfigW.
...
Guenther
2008-10-16 09:54:49 +02:00
Jelmer Vernooij
218f482fbf
Use common strlist implementation in Samba 3 and Samba 4.
2008-10-12 00:56:56 +02:00
Jeremy Allison
e5692d4cbe
Remove SEC_ACCESS. It's a uint32_t.
...
Jeremy.
2008-10-09 09:49:03 -07:00
Günther Deschner
4c17fce8dc
Make sure to zero the returned handle in _svcctl_CloseServiceHandle().
...
Guenther
(This used to be commit 84a079af49
)
2008-03-27 23:31:54 +01:00
Günther Deschner
1a65f16843
Use pidl for _svcctl_EnumDependentServicesW().
...
Guenther
(This used to be commit 988291a9c0
)
2008-03-20 01:38:23 +01:00
Günther Deschner
3279d3110f
Fix debug statement (missing \n).
...
Guenther
(This used to be commit 5895b973a4
)
2008-03-07 13:07:50 +01:00
Günther Deschner
c86cbd7369
Use pidl for _svcctl_SetServiceObjectSecurity().
...
Guenther
(This used to be commit 19048ab4ad
)
2008-02-28 00:43:31 +01:00