1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

13 Commits

Author SHA1 Message Date
Günther Deschner
f7457c6173 r24418: Adding reg_deleteallvalues().
Guenther
2007-10-10 12:29:44 -05:00
Andrew Tridgell
87c91e4362 r23801: The FSF has moved around a lot. This fixes their Mass Ave address. 2007-10-10 12:28:27 -05:00
Jeremy Allison
407e6e695b r23779: Change from v2 or later to v3 or later.
Jeremy.
2007-10-10 12:28:20 -05:00
Michael Adam
fb4ade3b4d r23584: Use a while loop instead of a for loop without increment... :-)
Michael
2007-10-10 12:23:32 -05:00
Michael Adam
41c3ff6e27 r23583: Add a utility function to recursively delete a Registry
key with all its subkeys. (reg_deletekey will refuse to
delete a key with subkeys with WERR_ACCESS_DENIED).

Michael
2007-10-10 12:23:32 -05:00
Michael Adam
aa702e53a7 r23581: Move regkey_open_onelevel from reg_frontend to reg_api,
where it actually belongs, and make it static.

Michael
2007-10-10 12:23:32 -05:00
Michael Adam
0c9cb69b45 r23578: When calling DeleteKey for a key that has subkey(s), Windows
returns WERR_ACCESS_DENIED. This adapts reg_deletekey to behave
the same way.

Michael
2007-10-10 12:23:32 -05:00
Michael Adam
e09e0d642d r22496: reg_enumvalue should return WERR_NO_MORE_ITEMS instead of
WERR_BAD_FILE when all items have been successfully enumerated.
Besides seeming the reasonable code to return,
this is what I have seen from w2k3, w2k, wxp.
2007-10-10 12:19:39 -05:00
Volker Lendecke
9de16f25c1 r22135: Check in most of Michael Adam's net conf utility. A good share of this patch
is moving functions around to fix some linker dependencies for the registry.

Michael, I've renamed your auth_utils2.c to token_utils.c.

Thanks!

Volker
2007-10-10 12:19:16 -05:00
Volker Lendecke
0742faaacd r20037: Reduce code size slightly by shuffling stuff around 2007-10-10 12:16:22 -05:00
Volker Lendecke
281640823b r20018: Fix a memleak in reg_createkey 2007-10-10 12:16:21 -05:00
Volker Lendecke
dc0300ec70 r20004: Remove a const, "name" is allocated anyway 2007-10-10 12:16:19 -05:00
Volker Lendecke
fea52801de r19991: Sorry for this 2000-liner...
The main thing here is a rewrite of srv_winreg_nt.c. The core functionality
has moved to registry/reg_api.c which is then usable by the rest of Samba as
well.

On that way it fixes creating keys with more than one element in the
path. This did not work before.

Two things that sneaked in (sorry :-) is the change of some routines from
NTSTATUS to WERROR the removed "parent" argument to regkey_open_internal.

Volker
2007-10-10 12:16:18 -05:00