| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Fix two memleaks.
|
|
|
|
|
|
| |
little cosmetic change to remove a local var that's not really needed
Michael
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The attached patch removes a little race condition for
people with real kernel oplock support, and reduces some
code paths. It changes reply_unlink to open_file_ntcreate,
set_delete_on_close and close_file.
The race condition happens if we break the oplock in
can_delete via open_file_ntcreate, we close the file,
someone else gets a batch oplock and we try to unlink.
It reduces code paths by calling SMB_VFS_UNLINK in 2 fewer
places.
|
|
|
|
| |
Fix a memleak in reg_createkey
|
|
|
|
|
|
|
|
|
| |
only used in rpc_server/srv_winreg_nt.c.
By moving them to a module of their own, this patch reduces the
diff between the registry code of 3_0 and 3_0_26 even more.
Michael
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Refactor the code in registry/ essentially by moving functions
around and creating a new reg_frontend_hilvl.c to minimize the
linker dependencies for parts of the registry code.
This initial refactoring allows to link registry code to e.g. "bin/net"
* Add the "net conf" utility: It gives convenient local acces to the
HKLM\Software\Samba\smconf key in the registry, where the samba
registry shares are stored.
* make reg_enumvalue 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. (r22496)
Michael
|
|
|
|
|
|
| |
Fix a memleak found by the IBM checker.
Michael
|
|
|
|
|
|
| |
request. Ignore it. Should fix bug #4689 but more tests and
valgrinding will follow.
Jeremy.
|
|
|
|
|
| |
kill call as that sets pid = 0 ! :-).
Jeremy.
|
|
|
|
|
| |
to Jerry add to 3.0.25b.
Jeremy.
|
| |
|
|
|
|
|
| |
if the name wasn't changed.
Jeremy.
|
|
|
|
|
|
|
| |
* registry_fetch_values is not needed anymore
* fix comment typo
Michael
|
|
|
|
|
|
| |
Convert the registry shares to use the new API (reg_api.c)
Michael
|
|
|
|
|
|
| |
Remove a const, "name" is allocated anyway.
Michael
|
|
|
|
|
|
| |
"Reduce code size slightly by shuffling stuff around."
Michael
|
|
|
|
|
|
| |
Add two utility functions for easy opening/creating registry keys.
Michael
|
|
|
|
|
|
|
| |
new function reg_open_path should become the replacement for
regkey_open_internal
Michael
|
|
|
|
| |
Michael
|
|
|
|
|
|
| |
Refuse registry shares without path.
Michael
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Introduce registry/reg_api.c, which closely resembles the winreg api.
This is important for the subsequent merges of the "net conf" code.
* The rewrite of rpc_server/srv_winreg_nt.c is _not_ merged since the
preliminary changes have not been merged.
* Change some routines from NTSTATUS to WERROR.
* Remove "parent" argument to regkey_open_internal (and rewrite to
use the new api functions like reg_openhive and so on).
Michael
|
|
|
|
|
|
| |
Make regsubkey_ctr_addkey return WERROR.
Michael
|
|
|
|
| |
Michael
|
|
|
|
|
|
| |
Add 'registry shares = yes' and registry key security descriptors.
Michael
|
|
|
|
| |
Michael
|
|
|
|
|
|
|
|
|
|
|
| |
Change regkey_open_internal to take the parent key and a talloc_ctx as
arguments. This also replaces regkey_close_internal by TALLOC_FREE.
(The modification to srv_winreg_nt.c differs from the original patch
and is kept as minimal as possible due to preliminary commits not
having been merged.)
Michael
|
|
|
|
|
|
|
|
| |
there, do some reformatting.
Jeremy, I think we should also kill the child. It might hang in
something (an fcntl lock for example) that the next child might run into
immediately again.
|
|
|
|
|
| |
code :-). Thanks Volker !
Jeremy.
|
|
|
|
|
|
| |
winbindd: Exceeding 200 client connections, no idle connection found"
bug #3204. This fixes it in Jerry's testing !
Jeremy.
|
|
|
|
|
| |
clear to my why the catia module feels it's necessary to implement
these operations, but at least they're now the right type.
|
|
|
|
|
|
| |
Preleminary merge for subsequent merge of restructuring of registry code.
Michael
|
|
|
|
|
|
|
|
| |
Move defines from rpc_reg.h to reg_object.h.
rpc_reg.h is not completely removed, since not all of
the hand-marshalled code is replaced by ndr code in 3_0_26.
Michael
|
|
|
|
| |
Michael
|
|
|
|
|
|
| |
(Can't find logs/diffs from trunk anymore.)
Michael
|
|
|
|
|
|
|
|
|
|
| |
1. Unify Posix ACL detection (Linux, FreeBSD, ...)
2. Turn ACL support detection on by default.
3. Disable ACL support for darwin.
This should finally fix Bug #4543.
Michael
|
|
|
|
|
|
|
|
| |
from successfully deleting an entry when "account" is
the STRUCTURAL objectclass used for users and machines.
"account" is used each time the user entry is in /etc/passwd
and we have only the samba attributes in ldap, as well
as for rfc2307(bis) standard based directories.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I'm 100% certain I've forgotten to merge something, but the main code
should be in. It's mainly in dbwrap_ctdb.c, ctdbd_conn.c and
messages_ctdbd.c.
There should be no changes to the non-cluster case, it does survive make
test on my laptop.
It survives some very basic tests with ctdbd enables, I did not do the
full test suite for clusters yet.
Phew...
Volker
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
the code to add a machine was different then the one used
to add a user, the old code led to the machine SID not being
built out correctly allocationg a new RID out of the passdb
but instead by using the old algorithmic method.
This may easily end up in creating duplicated SID when the
RID counter get close to the values built by the algorithmic method.
Simo.
|
|
|
|
|
|
| |
init also in idmap_nss and idmap_passdb for coherency and to
prevent errors in future if we change the init functions to
actually do something and not just return NT_STATUS_OK
|
|
|
|
|
|
| |
evaluation loop
Fixes one of the segfaults in bug #4667
|
|
|
|
|
|
| |
off the pipe ctx now ->names is part of the containing
struct.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
| |
in a lookup_sidX reply isn't optional - like the
lookup_sidX query it needs to be defined in the
struct.
All this will go away with PIDL (thank goodness....).
Jerry - I think this is a showstopper to be merged
for 3.0.25b.
I'll be watching the build farm to see if anything broke.
Jeremy.
|
|
|
|
|
| |
Support membership of >16 groups on Darwin by making sure we opt in to the
dynamic group resolution mechanism when switching UNIX credentials.
|
|
|
|
|
| |
Make VFS callbacks static. Mark operations as OPAQUE because they
do not pass through.
|
|
|
|
|
| |
Support BSD group semantics by making sure that the effective GID
is always passed as the first GID when calling setgroups(2).
|
| |
|
|
|
|
|
|
|
|
| |
(Adapted to the later change in r22935.)
wrap regdb_store_keys and regdb_store_values in tdb transactions
Michael
|