Volker Lendecke
988cffe9ca
Fix Coverity ID 478
...
(This used to be commit 5f77938dc4
)
2008-03-23 18:28:23 +01:00
Volker Lendecke
3b9680264a
Fix Coverity ID 479
...
(This used to be commit 70b33397ba
)
2008-03-23 18:28:23 +01:00
Volker Lendecke
7af3ebdac0
Fix Coverity ID 480
...
(This used to be commit 45677e8694
)
2008-03-23 18:28:23 +01:00
Volker Lendecke
20caa9bbe6
Fix Coverity ID 450
...
(This used to be commit 700cceb694
)
2008-03-23 18:28:23 +01:00
Volker Lendecke
9c45d49140
Fix Coverity ID 453
...
(This used to be commit 8f875674e7
)
2008-03-23 18:28:23 +01:00
Volker Lendecke
43554ded6d
Fix Coverity ID 462
...
(This used to be commit 9cf1e16a9c
)
2008-03-23 18:28:23 +01:00
Volker Lendecke
bc7a0a9198
Fix Coverity ID 432
...
(This used to be commit 7070c77ee2
)
2008-03-23 16:22:00 +01:00
Volker Lendecke
fd9efee21d
Fix Coverity ID 436
...
(This used to be commit 9e0ee1ad4f
)
2008-03-23 16:21:59 +01:00
Volker Lendecke
527b561824
Fix Coverity warnings
...
ID 449, 448, 447, 446, 445, 444, 443, 442, 441, 440, 439, 438, 437
(This used to be commit 0d50b4ee90
)
2008-03-23 16:16:13 +01:00
Karolin Seeger
fe063b7bf5
VERSION: Update pre release number.
...
Karolin
(This used to be commit 4e609ffb2f
)
2008-03-23 07:28:13 +01:00
Michael Adam
7290b6a8fc
libgpo: open the registry in gp_init_reg_ctx().
...
I forgot the regdb_open() call: registry_init_basic() closes
the registry in the end... sorry.
Michael
(This used to be commit 4185ed03a3
)
2008-03-22 02:45:04 +01:00
Michael Adam
5ea7faef3d
libgpo: replace hand-crafted registry initialization by registry_init_basic.
...
IMO there is no need to imitate a custom registry backend.
Only default regdb hooks are used here, so a plain initialization
of regdb should suffice.
This way, only reg_api is used in libgpo, and no registry
backend code is visible.
Michael
(This used to be commit 10ae8accb4
)
2008-03-22 02:29:40 +01:00
Michael Adam
39067a5dbd
libgpo: use reg_setkeysecurity() instead of regdb_set_secdesc().
...
That is, use the reg_api function instead of the backend function.
For this, code had to be changed, to take a "struct registry_key"
instead of a char *.
Michael
(This used to be commit 4717e6d0cf
)
2008-03-22 02:29:34 +01:00
Michael Adam
178c430821
registry: add reg_init_basic() - init registry with only the db backend.
...
Michael
(This used to be commit 1831042bdc
)
2008-03-22 02:05:53 +01:00
Michael Adam
4825cef8bc
registry: close registry in exit path in registry_init_smbconf().
...
Michael
(This used to be commit 5aa3141bff
)
2008-03-22 01:54:18 +01:00
Michael Adam
b8a949b566
registry: some whitespace cleanup in init_registry().
...
Michael
(This used to be commit f33095e44b
)
2008-03-22 01:53:44 +01:00
Michael Adam
88d46f4ea4
registry: remove unneeded talloc stackframe variable.
...
Michael
(This used to be commit 81993db828
)
2008-03-22 01:52:03 +01:00
Michael Adam
e12ed5279a
registry: close regdb in error path (and use it) in init_registry().
...
Michael
(This used to be commit 73b325fe7a
)
2008-03-22 01:49:21 +01:00
Michael Adam
9ec7af58c6
registry: fix registry_init_smbconf() to close the registry at the end.
...
Michael
(This used to be commit f4d87fdbf2
)
2008-03-21 23:50:49 +01:00
Michael Adam
a81ed36e86
libsmbconf: add internal open/close handling to registry backend.
...
This internally keeps track of opened registry in the private data
struct. The first call that really accesses data, opens the registry
and it is kept open until the destructor is called.
This behaviour might be changed in the future.
Michael
(This used to be commit 03e72e1307
)
2008-03-21 23:43:52 +01:00
Michael Adam
aa3e4d56cb
libsmbconf: add a comment.
...
Michael
(This used to be commit 513ae78ef7
)
2008-03-21 22:55:20 +01:00
Michael Adam
be97af0edb
libsmbconf: add private_data section to smbconf_ctx.
...
This private data should be used by backends.
The token for the registry backend is moved from
the context to the private data section, since
this is registry specific.
Michael
(This used to be commit a02163356b
)
2008-03-21 22:52:27 +01:00
Michael Adam
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
Michael Adam
40ea88db5e
libsmbconf: add structuring comments to the prototypes in the public header.
...
Michael
(This used to be commit 4f816df276
)
2008-03-21 16:45:25 +01:00
Michael Adam
e62cae6638
libsmbconf: adapt a comment to new circumstances
...
Michael
(This used to be commit 83b9453c88
)
2008-03-21 16:42:42 +01:00
Michael Adam
5e1eca34f3
libsmbconf: group together functions in smbconf.c more appropriately
...
Michael
(This used to be commit e8ed8ad077
)
2008-03-21 16:40:20 +01:00
Michael Adam
44dc10d808
libsmbconf: add a comment.
...
Michael
(This used to be commit 8974b28368
)
2008-03-21 16:35:52 +01:00
Michael Adam
890d1d8f78
libsmbconf: move registry implementation to a module of its own.
...
Michael
(This used to be commit 431b10bfe0
)
2008-03-21 16:26:50 +01:00
Volker Lendecke
4b3351e5dc
On Solaris, size_t seems to be only 32 bit.
...
Fix bug 5341, thanks a lot to Karoly Vegh for testing it!
Volker
(This used to be commit 19eb8c9316
)
2008-03-21 13:41:42 +01:00
Volker Lendecke
4f4f1dfbb6
Fix Coverity ID 473
...
Simo, S4 also has this bug, you might want to merge the fix.
(This used to be commit b82cf75c82
)
2008-03-21 11:52:34 +01:00
Volker Lendecke
1e696c2845
Fix Coverity ID 506
...
(This used to be commit c9add4d59a
)
2008-03-21 11:48:09 +01:00
Volker Lendecke
7168f310a6
Fix Coverity ID 507
...
(This used to be commit 4ea5798b97
)
2008-03-21 11:45:57 +01:00
Volker Lendecke
e14f26f22b
Fix Coverity ID 537
...
(This used to be commit b19ea3635c
)
2008-03-21 11:42:42 +01:00
Volker Lendecke
7ca6192c1a
Fix Coverity ID 538
...
(This used to be commit d69b8b19ae
)
2008-03-21 11:41:15 +01:00
Volker Lendecke
c69c5c132a
Fix Coverity ID 547
...
Günther, please check. If r->in.ads==NULL, we can't call ads_leave_realm at
all.
Thanks,
Volker
(This used to be commit 120d8c889f
)
2008-03-21 10:40:40 +01:00
Volker Lendecke
35cab4a8c2
Fix Coverity ID 548
...
Günther, please check -- in all infolevels we do a comment=talloc_strdup
Thanks,
Volker
(This used to be commit e2021c5b57
)
2008-03-21 10:28:33 +01:00
Volker Lendecke
296bbc3c9f
Fix Coverity IDs 553, 552
...
(This used to be commit 1a0aed566b
)
2008-03-21 10:22:15 +01:00
Günther Deschner
7c8e66210d
Add my copyright.
...
Guenther
(This used to be commit 4689057f63
)
2008-03-21 04:16:22 +01:00
Günther Deschner
5fdf4b8f4a
Remove remaining old srvsvc client and server rpc code entirely.
...
Guenther
(This used to be commit a5f0186f70
)
2008-03-21 04:16:22 +01:00
Günther Deschner
bbd6120c0d
Remove double RPC_PARSE_OBJ2 from Makefile.
...
Guenther
(This used to be commit 0244734cc5
)
2008-03-21 04:16:22 +01:00
Günther Deschner
1dc52e8fbf
Move MAX.*ENTRY definitions out of old rpc srvsvc parsing code.
...
Guenther
(This used to be commit 4e36657275
)
2008-03-21 04:16:21 +01:00
Günther Deschner
286a6282e2
Remove unused marshalling for SRV_NET_SESS_ENUM.
...
Guenther
(This used to be commit 54554683d6
)
2008-03-21 04:16:21 +01:00
Günther Deschner
08213f706e
Use pidl for _srvsvc_NetSessEnum().
...
Guenther
(This used to be commit 5d14938b14
)
2008-03-21 04:16:21 +01:00
Günther Deschner
3c2d315b4c
Add support for setting resume handle in netsessenum rpcclient command.
...
Guenther
(This used to be commit a01588d65f
)
2008-03-21 04:16:21 +01:00
Günther Deschner
10f40399e0
Remove unused marshalling for SRV_NET_CONN_ENUM.
...
Guenther
(This used to be commit 51467443f7
)
2008-03-21 04:16:21 +01:00
Günther Deschner
a6bbefa1cb
Use pidl for _srvsvc_NetConnEnum().
...
Guenther
(This used to be commit b8714e03e7
)
2008-03-21 04:16:21 +01:00
Günther Deschner
4489ad0998
Allow to set or unset resume_handle in netconnenum in rpcclient.
...
Guenther
(This used to be commit f1b93c24fe
)
2008-03-21 04:16:21 +01:00
Michael Adam
8ae2afa3c8
libsmbconf: reformaat - fix some whispacing/tabs
...
Michael
(This used to be commit 1a5e5bf38f
)
2008-03-21 02:29:09 +01:00
Michael Adam
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
Michael Adam
6c20e83294
libsmbconf: add shutdown handler to smbconf_ops.
...
Michael
(This used to be commit acbd1f40e0
)
2008-03-21 02:25:56 +01:00