Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
sddl_encode returns NULL on failure
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
get_global_sid panics if we are not root and may give the wrong answer anyway.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
for consistency and better error propagation
|
|
bool)
for consistency and better error propagation
|
|
Return the int32 value retrieved from the db by reference.
Before this, return value "-1" was used as a error indication,
but it could also be a valid value from the database.
|
|
Avoid direct use of the db_record and db_context structs.
|
|
Avoid direct use of the db_record and db_context structs.
|
|
Avoid direct use of the db_record and db_context structs.
|
|
|
|
|
|
|
|
|
|
dbwrap_fetch_bystring_upper() to NTSTATUS
|
|
additional parameter
|
|
|
|
must be a failure.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Oct 10 15:59:20 CEST 2011 on sn-devel-104
|
|
The compiler on openindiana doesn't like them.
metze
|
|
|
|
|
|
|
|
|
|
|
|
metze
|
|
If you're going to move winbindd_cache.tdb to the state_path, do it *everywhere*.
Found by Ira Cooper <ira@wakeful.net>.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Sep 15 00:43:04 CEST 2011 on sn-devel-104
|
|
cli_state_server_time()
metze
|
|
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Sep 8 10:21:50 CEST 2011 on sn-devel-104
|
|
Added comments to most functions of net rpc conf for easier
understanding of the code.
Signed-off-by: Michael Adam <obnox@samba.org>
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon Aug 22 17:08:15 CEST 2011 on sn-devel-104
|
|
The function takes a local file in smb.conf format,
uses calls to smbconf to create smbconf_service structs,
which are then placed in the remote registry.
The function also provides a test module to only print
the changes that it would make.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
The function only appears in the commands list usage of net rpc
conf.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
The function is mostly a wrapper around a series of setparm
commands. It can be used to quickly set up a share with simple
parameters.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
The function only appears in the commands list usage of net rpc
conf.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
The function creates the share key if it does not exist.
If the share key was present it deletes the previous includes.
After this the function sets the new includes accordingly.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
The function only appears in the commands list usage of net rpc
conf.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
The function creates the share key if it does not exist.
If the share key was present it deletes the previous value.
After this the function sets the new value accordingly.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
The function only appears in the commands list usage of net rpc
conf.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
The function makes use of existing code from delincludes.
It has the same logic, except it uses the second argument
passed to determine which value to delete from the registry.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
The function only appears in the commands list usage of net rpc
conf.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
The function now makes use of rpc_conf_del_value to delete
the includes of a given share.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
Function is used to refactor some of the code used in
delincludes and also to be used in the other key manipulating
functions.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
The function openes the key attached to the service passed as a
parameter to the command and it uses dcerpc_winreg_DeleteValue to
delete the includes value if it exists
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
The function only appears in the commands list usage of net rpc
conf.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
The function creates a smconf_service struct that holds the share
passed as the first argument to the command and searches in it for
"include" parameters. If any are found, they are displayed.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
The function only appears in the commands list usage of net rpc
conf.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
The function creates a smconf_service struct that holds the share
passed as the first argument to the command and searches in it for
the parameter passed as the second argument to the command
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
The function only appears in the commands list usage of net rpc conf.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
The function makes use of dcerpc_winreg_delete_subkeys_recursive
to clear the share.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
The function only appears in the commands list usage of net rpc conf.
Signed-off-by: Michael Adam <obnox@samba.org>
|