summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2011-10-18s3-util: dbwrap_tool: add fetch fuctions for hex and stringBjörn Baumbach1-0/+61
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-18s3-util: dbwrap_tool: add store hex functionBjörn Baumbach1-3/+43
Allows the user to store hex blobs in a tdb. Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-18ntlmssp: Move ntlmssp code to auth/ntlmsspAndrew Bartlett1-1/+1
This brings in the code from both libcli/auth and source4/auth/ntlmssp. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-14Remove unused function.Jeremy Allison1-18/+0
2011-10-14s3-net: Fix uninitialized variable in rpc_conf_import_internal().Günther Deschner1-1/+1
Michael, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Oct 14 19:25:47 CEST 2011 on sn-devel-104
2011-10-14s3:net registry: fix segfault when net registry is called without subcommands...Michael Adam1-0/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Oct 14 17:51:53 CEST 2011 on sn-devel-104
2011-10-14s3-utils: add capabilities to dbwrap_toolBjörn Baumbach1-17/+38
Make it possible to work with strings in addition to int32 and uint32. Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3:smbcacls: fix violation of coding conventionsGregor Beck1-1/+2
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3:net: avoid unnecessary initialization of the registry.Gregor Beck1-2/+7
This allows for using help without having access to the registry and prevents update code to run if only a readonly check is to be performed. Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3:net: add command registry checkGregor Beck5-0/+1430
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3:net: factor out interact_edit()Gregor Beck3-93/+163
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3:smbcacls: make get_domain_sid() staticMichael Adam1-1/+1
2011-10-12s3-group-mapping: Remove fstrings from GROUP_MAP.Simo Sorce3-116/+191
Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Oct 12 19:28:12 CEST 2011 on sn-devel-104
2011-10-12s3:smbcacls fix leaking talloc stackframce on tcon failureGregor Beck1-2/+4
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3:smbcacls fix possible SEGFAULTGregor Beck1-10/+14
sddl_encode returns NULL on failure Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3:smbcacls add option domain-sidGregor Beck1-5/+16
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3:smbcacls get_domain_sid for sddl parsing/formating from lsarpcGregor Beck1-2/+72
get_global_sid panics if we are not root and may give the wrong answer anyway. Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3:smbcacls pretty print acl control fieldGregor Beck1-1/+43
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11s3:dbwrap: change dbwrap_store_int32() to NTSTATUS return typeMichael Adam1-6/+10
for consistency and better error propagation
2011-10-11s3:dbwrap: change dbwrap_fetch_uint32() to NTSTATUS return type (instead of ↵Michael Adam2-8/+12
bool) for consistency and better error propagation
2011-10-11s3:dbwrap: convert dbwrap_fetch_int32() to NTSTATUS return codeMichael Adam1-1/+7
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.
2011-10-11s3:net: convert net idmap check to use dbwrap wrapper functions.Michael Adam1-26/+55
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:net: convert net idmap to use only dbwrap wrapper functionsMichael Adam1-19/+34
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:net: convert net serverid to only use dbwrap wrapper functionsMichael Adam1-3/+3
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:net: fix the exit code of net serverid wipeMichael Adam1-1/+1
2011-10-11s3:net: fix the exit code of net serverid listMichael Adam1-1/+1
2011-10-11s3:dbwrap_torture: convert to using wrapper functions onlyMichael Adam1-7/+9
2011-10-11s3:dbwrap_tool: convert to using wrapper functions onlyMichael Adam1-9/+9
2011-10-11s3:dbwrap: convert dbwrap_fetch(), dbwrap_fetch_bystring() and ↵Michael Adam1-1/+4
dbwrap_fetch_bystring_upper() to NTSTATUS
2011-10-11s3:dbwrap: change the dbwrap_traverse() wrapper to return the count in an ↵Michael Adam1-3/+3
additional parameter
2011-10-11s3:dbwrap: move the db_open_rbt() prototype to a new header dbwrap_rbt.hMichael Adam1-0/+1
2011-10-10s3-net: when all DNS servers fail to operate, the overal DNS registration resultGünther Deschner1-0/+2
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
2011-10-08s3:utils: avoid '//' commentsStefan Metzmacher2-2/+2
The compiler on openindiana doesn't like them. metze
2011-09-28s3 net: Fix a discard const warningKai Blin1-1/+1
2011-09-24net: Don't register link local addresses with DNSKai Blin1-0/+5
2011-09-20s3:dbwrap_tool: add popt support and standard samba optionsMichael Adam1-14/+44
2011-09-18s3: Fix "ISO C90 forbids mixed declarations and code"Volker Lendecke1-3/+3
2011-09-16s3: Make sharesec optionally use sddlVolker Lendecke1-1/+76
2011-09-15s3:libsmb: pass max_protocol to cli_negprot()Stefan Metzmacher2-2/+2
metze
2011-09-15Finish commit 8745c70d by Michael Adam.Jeremy Allison1-4/+4
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
2011-09-13s3:net_time: make use of cli_state_server_time_zone() and ↵Stefan Metzmacher1-2/+2
cli_state_server_time() metze
2011-09-08s3:libsmb: pass CLI_FULL_CONNECTION_* flags via cli_connect_nb()Stefan Metzmacher2-2/+2
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 8 10:21:50 CEST 2011 on sn-devel-104
2011-08-22s3-net: Added documentation for net_rpc_conf functionsVicentiu Ciorbaru1-1/+44
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
2011-08-22s3-net: Implemented net rpc conf import commandVicentiu Ciorbaru1-3/+347
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>
2011-08-22s3-net: Added net rpc conf import command to net rpc confVicentiu Ciorbaru1-0/+16
The function only appears in the commands list usage of net rpc conf. Signed-off-by: Michael Adam <obnox@samba.org>
2011-08-22s3-net: Implemented net rpc conf addshare commandVicentiu Ciorbaru1-2/+255
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>
2011-08-22s3-net: Added net rpc conf addshare command to net rpc confVicentiu Ciorbaru1-0/+15
The function only appears in the commands list usage of net rpc conf. Signed-off-by: Michael Adam <obnox@samba.org>
2011-08-22s3-net: Implemented net rpc conf setincludes commandVicentiu Ciorbaru1-2/+141
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>
2011-08-22s3-net: Added net rpc conf setincludes command to net rpc confVicentiu Ciorbaru1-0/+16
The function only appears in the commands list usage of net rpc conf. Signed-off-by: Michael Adam <obnox@samba.org>
2011-08-22s3-net: Implemented net rpc conf setparm commandVicentiu Ciorbaru1-2/+201
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>