summaryrefslogtreecommitdiffstats
path: root/source3/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:smbcontrol: pass tevent_context down to subcommandsStefan Metzmacher2012-01-171-38/+69
| | | | metze
* s3: Put an indirection layer into share_mode_lockVolker Lendecke2012-01-121-3/+5
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-librpc Rename and rework cli_rpc_pipe_open_ntlmssp() to be genericAndrew Bartlett2012-01-111-1/+3
| | | | | | | | | | This also includes renaming the helper function rpccli_ntlmssp_bind_data, and allows this function to operate on any gensec-supplied auth type. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Fix bug #8687 - net memberships usage info is wrongJeremy Allison2012-01-061-1/+1
| | | | | | | Typo in usage. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jan 6 00:30:20 CET 2012 on sn-devel-104
* s3-net: Fix the return codes. 0 on success, -1 on failureAmitay Isaacs2011-12-191-2/+2
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Mon Dec 19 01:57:24 CET 2011 on sn-devel-104
* s3:smbcontrol: remove unused "samsync" and "samrepl" commandsStefan Metzmacher2011-12-131-30/+0
| | | | metze
* s3: Remove a bunch of calls to procid_self()Volker Lendecke2011-12-127-10/+8
| | | | All callers to messaging_[re]init only used procid_self()
* s3:net registry check: replace rawmemchr by functionally equivalent portable ↵Michael Adam2011-12-061-2/+2
| | | | | | | | | strchr rawmemchr is glibc only - not portable. Remarked by Ira Cooper. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Dec 6 12:20:48 CET 2011 on sn-devel-104
* Revert "Remove rawmemchr calls - found by Ira Cooper. These are ↵Michael Adam2011-12-061-4/+3
| | | | | | | | glibc-specific calls, makes us completely non-portable." This reverts commit 82b1702284ba2bb61b23e1f14ce9145d896c36c0. This is not functionally equivalent, needs to be done differently.
* Move the callers that need to use the new cli_open() back to callingJeremy Allison2011-12-031-2/+2
| | | | it from cli_openx().
* Rename cli_open -> cli_openx. Prelude to replacing generic cli_open()Jeremy Allison2011-12-031-2/+2
| | | | with a call that uses NTCreateX in preference to OpenAndX.
* lib/util: factor out tdb_data_is_emptyGregor Beck2011-12-032-14/+7
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Dec 3 05:20:30 CET 2011 on sn-devel-104
* s3:net: adapt idmap check to new dbwrap_fetch behavior not to return success ↵Gregor Beck2011-12-031-6/+2
| | | | | | if not found Signed-off-by: Michael Adam <obnox@samba.org>
* s3: Use autogenerated open_files.idlVolker Lendecke2011-12-021-0/+1
|
* s3:net registry check: adapt to new semantic of dbwrap_fetch with rbtGregor Beck2011-11-291-6/+6
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Nov 29 19:53:30 CET 2011 on sn-devel-104
* s3:net registry check: adapt to new semantic of dbwrap_fetchGregor Beck2011-11-291-10/+13
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net registry check: handle missing version infoGregor Beck2011-11-291-0/+36
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:dbwrap_torture: code cleanupGregor Beck2011-11-291-3/+3
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net registry check: improve console outputGregor Beck2011-11-251-7/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:utils: make use of cli_tree_connect()Stefan Metzmacher2011-11-242-4/+4
| | | | metze
* Remove rawmemchr calls - found by Ira Cooper. These are glibc-specific ↵Jeremy Allison2011-11-181-3/+4
| | | | | | | calls, makes us completely non-portable. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Nov 18 23:50:50 CET 2011 on sn-devel-104
* s3-net Do not look for a local SID when we are a DCAndrew Bartlett2011-11-171-7/+8
| | | | | | | If we are actually a DC, then the only SID we have is the domain SID, and looking for it under the local name fails if we are a Samba4 AD DC. Andrew Bartlett
* s3-smbldap: extend smbldap_init() with binddn/bindsecret arguments.Günther Deschner2011-11-161-1/+16
| | | | Guenther
* s3-net: use better state variable name for smbldap_state.Günther Deschner2011-11-161-9/+9
| | | | Guenther
* s3-passdb: split out passdb/pdb_ldap_schema.cGünther Deschner2011-11-161-0/+1
| | | | Guenther
* s3: move smbldap_util to pdb_ldap_util.Günther Deschner2011-11-161-0/+1
| | | | Guenther
* s3:utils: s/Undefined/SMB_SIGNING_DEFAULT/Stefan Metzmacher2011-11-035-7/+9
| | | | metze
* s3-utils: net - Fix one error/usage messageBjörn Baumbach2011-11-031-1/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: fix typo in net ads join outputDavid Disseldorp2011-10-311-1/+1
| | | | | | | Space missing from "DNS update in aclustered setup". Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Mon Oct 31 16:01:35 CET 2011 on sn-devel-104
* s3-net: Make sure to always re-use the "good" dc for the DNS updates as well.Günther Deschner2011-10-281-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Oct 28 19:13:49 CEST 2011 on sn-devel-104
* s3-util: dbwrap_tool: fix fetch_string functionBjörn Baumbach2011-10-261-1/+1
| | | | | | | | | We do not want truncated strings. Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Oct 26 04:17:05 CEST 2011 on sn-devel-104
* s3:net registry check: fix a case where automatic and read only mode take ↵Gregor Beck2011-10-261-3/+5
| | | | | | the wrong action Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net registry check: do not silently replace separatorsGregor Beck2011-10-261-2/+3
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-util: dbwrap_tool: add fetch fuctions for hex and stringBjörn Baumbach2011-10-181-0/+61
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-util: dbwrap_tool: add store hex functionBjörn Baumbach2011-10-181-3/+43
| | | | | | Allows the user to store hex blobs in a tdb. Signed-off-by: Michael Adam <obnox@samba.org>
* ntlmssp: Move ntlmssp code to auth/ntlmsspAndrew Bartlett2011-10-181-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>
* Remove unused function.Jeremy Allison2011-10-141-18/+0
|
* s3-net: Fix uninitialized variable in rpc_conf_import_internal().Günther Deschner2011-10-141-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
* s3:net registry: fix segfault when net registry is called without subcommands...Michael Adam2011-10-141-0/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Oct 14 17:51:53 CEST 2011 on sn-devel-104
* s3-utils: add capabilities to dbwrap_toolBjörn Baumbach2011-10-141-17/+38
| | | | | | Make it possible to work with strings in addition to int32 and uint32. Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbcacls: fix violation of coding conventionsGregor Beck2011-10-121-1/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net: avoid unnecessary initialization of the registry.Gregor Beck2011-10-121-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>
* s3:net: add command registry checkGregor Beck2011-10-125-0/+1430
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net: factor out interact_edit()Gregor Beck2011-10-123-93/+163
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbcacls: make get_domain_sid() staticMichael Adam2011-10-121-1/+1
|
* s3-group-mapping: Remove fstrings from GROUP_MAP.Simo Sorce2011-10-123-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
* s3:smbcacls fix leaking talloc stackframce on tcon failureGregor Beck2011-10-121-2/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbcacls fix possible SEGFAULTGregor Beck2011-10-121-10/+14
| | | | | | sddl_encode returns NULL on failure Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbcacls add option domain-sidGregor Beck2011-10-121-5/+16
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbcacls get_domain_sid for sddl parsing/formating from lsarpcGregor Beck2011-10-121-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>