Günther Deschner
617268101a
s3-libgpo: fix the build of scripts client side extension.
...
Guenther
2010-09-21 16:13:58 -07:00
Volker Lendecke
2cf1f05860
s3: Remove a global variable in bugfix for bug 7665
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-21 16:13:58 -07:00
Volker Lendecke
1d90227c3c
s3: Remove a pointless if-statement
2010-09-21 11:09:46 -07:00
Björn Jacke
81d257e8ae
s3: don't build krb5 locator plugin if we don't build winbind
...
this fixes bug #7329
2010-09-21 10:54:37 -07:00
Günther Deschner
24cac13666
s3-waf: remove reg_util_legacy from waf build as well.
...
Guenther
2010-09-21 01:25:07 -07:00
Günther Deschner
bf38287c76
s3-winbindd: another attempt to fix the non-ldap build.
...
Guenther
2010-09-21 00:20:00 -07:00
Michael Adam
2d67730daf
s3:registry: move regio.h from include/ to registry/
2010-09-21 09:08:33 +02:00
Michael Adam
4f7d41aa3d
s3:registry: move the reg_db.h from include/ to registry/
2010-09-21 08:53:49 +02:00
Michael Adam
a35daebaf1
s3:registry: move prototype from reg_init_smbconf.c to its own header.
2010-09-21 08:52:06 +02:00
Michael Adam
d25b2adf34
s3:registry: move prototype from reg_init_full.c to its own header.
2010-09-21 08:52:06 +02:00
Michael Adam
0bd2756b97
s3:registry: move prototypes from reg_init_basic.c to their own header.
2010-09-21 08:52:06 +02:00
Michael Adam
4696cd6cbe
s3:registry: move reg_api_regf prototypes to their own header file.
...
These two calls are currently only used in the WINREG rpc server.
And this reqires linking in the regfio code.
2010-09-21 08:52:06 +02:00
Michael Adam
b11cc30508
s3:registry: move the reg_api prototypes to their own header.
2010-09-21 08:52:06 +02:00
Michael Adam
e4eda5f9bc
s3:registry:reg_api: update (C)
2010-09-21 08:52:05 +02:00
Michael Adam
d86d2256b9
s3:services_db: convert get_common_service_dispname() to talloc
2010-09-21 07:41:23 +02:00
Michael Adam
919450a60e
s3:registry: regfio fix the build
2010-09-21 07:41:23 +02:00
Michael Adam
08cf13a3df
s3:registry: remove now (finally) obsolete reg_util_registry.{c,h}
2010-09-21 06:53:33 +02:00
Michael Adam
7f1efa6ea2
s3:services_db: does not need legacy registry code any more.
2010-09-21 06:53:32 +02:00
Michael Adam
8df2ab9746
s3:services_db: rewrite svcctl_init_keys() to use reg_api calls instead of legacy
2010-09-21 06:53:32 +02:00
Michael Adam
a6f0f912cc
s3:services_db: extract core of svcctl_set_secdesc to _internal version
...
The internal version operates on an already opened key.
2010-09-21 06:53:32 +02:00
Michael Adam
f2a4d5536b
s3:services_db: create the "Security" subkey if it does not exist in svcctl_set_secdesc()
...
Windows behaves like this. - Tests will follow.
2010-09-21 06:53:32 +02:00
Michael Adam
8be007dbb0
s3:services_db: remove bogus comments
...
(from copy and paste probably...)
2010-09-21 06:53:32 +02:00
Michael Adam
5fe2abb2f8
s3:services_db: remove unused legacy function svcctl_fetch_regvalues().
2010-09-21 06:53:32 +02:00
Michael Adam
e869af9e0e
s3:rpc_server:ntsvcs: registry is not directly used an more.
2010-09-21 06:53:32 +02:00
Michael Adam
d760e543a1
s3:rpc_server:ntsvcs: use svcctl_lookup_dispname instead of legacy svcctl in _PNP_GetDeviceRegProp
2010-09-21 06:53:32 +02:00
Michael Adam
4cee4bbd02
s3:rpc_server: registry is not direclty used in the svcctl server any more
2010-09-21 06:53:31 +02:00
Michael Adam
3cab109754
s3:srv_ntsvcs_nt: make fill_svc_config() use svcctl_get_string_value()
...
instead of using legacy svcctl_fetch_regvalues()
2010-09-21 06:53:31 +02:00
Michael Adam
3c85a9fcbe
s3:services_db: publish svcctl_get_string_value()
2010-09-21 06:53:31 +02:00
Michael Adam
e28bc8d763
s3:services_db: factor out common code of lookup_dispname and lookup_description
...
into a new function svcctl_get_string_value()
2010-09-21 06:53:31 +02:00
Michael Adam
53dcbc2dd2
s3:services_db: change svcctl_lookup_description() to use reg_api functions
2010-09-21 06:53:31 +02:00
Michael Adam
9fee033656
s3:services_db: rewrite svcctl_lookup_description() to use a tmp talloc ctx
...
Also remove a possible memory by tallocing the result string
also in a default case, where a string constant was returned before.
2010-09-21 06:53:31 +02:00
Michael Adam
464515cd61
s3:services_db: change svcctl_lookup_dispname() to use reg_api functions
2010-09-21 06:53:31 +02:00
Michael Adam
e464ca9f31
s3:services_db: make svcctl_lookup_dispname() use a temp talloc ctx
2010-09-21 06:53:31 +02:00
Michael Adam
a4b1042f33
s3:services_db: change svcctl_get_secdesc() to use reg_api functions
2010-09-21 06:53:31 +02:00
Michael Adam
4fc2b5c40e
s3:services_db: use temp talloc ctx in svcctl_get_secdesc()
2010-09-21 06:53:30 +02:00
Michael Adam
9bfd587358
s3:services_db: remove the TALLOC_CTX argument from svcctl_set_secdesc
2010-09-21 06:53:30 +02:00
Michael Adam
91d5446390
s3:services_db: fix a debug message
2010-09-21 06:53:30 +02:00
Michael Adam
d2794b05a6
s3:services_db: rewrite svcctl_set_secdesc to use tmp talloc ctx
...
and add a common exit point
2010-09-21 06:53:30 +02:00
Michael Adam
7cefb89872
s3:services_db: rewrite svcctl_set_secdesc() using reg_api calls instead of legacy
2010-09-21 06:53:30 +02:00
Michael Adam
f53c17b4ff
s3:services_db: untanlge assignments from check in read_init_file().
2010-09-21 06:53:30 +02:00
Michael Adam
a67a553f40
s3:services_db: untangle assignments from check in construct_service_sd().
2010-09-21 06:53:29 +02:00
Günther Deschner
6f47a24bc5
s3-libnetapi: Fix Bug #7665 , memory leak in netapi connection manager.
...
Guenther
2010-09-20 21:05:37 -07:00
Andrew Bartlett
80ca590d38
s3-lib/util Remove unused smb_uuid_unpack()
...
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20 16:15:11 -07:00
Andrew Bartlett
03011bf118
s3-libads call common GUID_from_ndr_blob()
...
This does a length-limited check, and so avoids reading beyond the
allocated memory if the server sends less than 16 bytes.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20 16:15:11 -07:00
Andrew Bartlett
6acb47b115
s3-uuid Remove unused smb_uuid_pack()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20 16:15:10 -07:00
Andrew Bartlett
d7bc452a89
s3: Replace sid_binstring and sid_guidstring with PIDL-based alternatives
...
This reduces the manual marshalling of these structures by removing
the duplication here.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20 16:15:03 -07:00
Günther Deschner
8853babb50
s3-build: try to fix the non-ldap build.
...
ldapsam_search_suffix_by_name is already prototyped in smbldap.h.
Guenther
2010-09-20 15:06:30 -07:00
Günther Deschner
d0a6c32add
s3-nmbd: move SYNC_DNS to nmbd.h
...
Guenther
2010-09-20 14:10:34 -07:00
Günther Deschner
102a70e809
s3-util: use shared dom_sid_dup.
...
Guenther
2010-09-20 14:05:07 -07:00
Günther Deschner
4dbd743e46
s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.
...
Guenther
2010-09-20 14:04:37 -07:00