summaryrefslogtreecommitdiffstats
path: root/source3/utils
Commit message (Collapse)AuthorAgeFilesLines
* s3:net: remove the "net idmap secret alloc" functionality.Michael Adam2010-08-141-39/+18
| | | | | | | This is now not available any more, since allocation is moved below the id mapping layer. The functionality could be reintroduced on a per domain basis as an e.g "net idmap secret <domain> alloc" command.
* s3:net: rewrite "net idmap restore" using dbwrapMichael Adam2010-08-141-52/+130
| | | | | | | | | This removes the use of libwbclient from "net idmap". This detects the idmap backend from the current smb.conf and stores the id mapping tables in the corresponding data bases. Currently, only tdb and tdb2 backends are supported. Support for the ldap backend may be implemented later.
* s3:net: change "net idmap dump" to use dbwrap instead of direct tdb accessMichael Adam2010-08-141-15/+17
| | | | This way, it will also work in a samba-ctdb cluster.
* s3:net sam provision: compose sid before getting uid for GuestMichael Adam2010-08-141-2/+2
| | | | Michael
* s3:net sam provision: allocate the uid after composing the sid for AdministratorMichael Adam2010-08-141-6/+7
| | | | Michael
* s3: Lift the server_messaging_context from notify_printer_bynameVolker Lendecke2010-08-081-1/+2
|
* s3: Lift the server_messaging_context from notify_job_status_bynameVolker Lendecke2010-08-081-0/+4
|
* s3: Lift the server_messaging_context from notify_printer_status_bynameVolker Lendecke2010-08-081-3/+7
|
* s3:utils/net_rpc_service.c: we also need some ndr_pull functionsStefan Metzmacher2010-08-081-0/+1
| | | | metze
* s3-net: fix copy/paste typo in usage of "net printing".Günther Deschner2010-08-061-1/+1
| | | | Guenther
* s3-net: only include netapi header when needed.Günther Deschner2010-08-065-1/+4
| | | | Guenther
* s3-rap: include svcctl.h where needed.Günther Deschner2010-08-061-0/+1
| | | | Guenther
* s3-passdb: include samr.h where needed.Günther Deschner2010-08-063-0/+3
| | | | Guenther
* s3: Remove some explicit calls to procid_self()Volker Lendecke2010-08-061-7/+10
|
* s3-popt: Only include popt-common.h when needed.Andreas Schneider2010-08-0518-0/+18
|
* s3-secrets: only include secrets.h when needed.Günther Deschner2010-08-058-1/+8
| | | | Guenther
* s3: avoid global include of ads.h.Günther Deschner2010-08-054-4/+6
| | | | Guenther
* s3: Convert cli_list() to return NTSTATUSVolker Lendecke2010-08-041-2/+5
| | | | If needed, the callback functions can count themselves
* s3: Fix some nonempty blank linesVolker Lendecke2010-08-011-14/+14
|
* s3-build: avoid to globally include printing and spoolss headers.Günther Deschner2010-07-312-0/+3
| | | | | | This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther
* s3: Remove a typedef (struct file_info)Volker Lendecke2010-07-271-1/+1
|
* s3: fix a typoVolker Lendecke2010-07-261-1/+1
|
* s3-libsmb: Use data_blob_talloc to get krb5 ticket and session keysSimo Sorce2010-07-201-4/+6
|
* s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it.Simo Sorce2010-07-191-17/+17
| | | | | | All the members are children of ntlmssp_state anyway. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3: Fix some nonempty blank linesVolker Lendecke2010-07-181-6/+4
|
* s3-libnet: better separate headers.Günther Deschner2010-07-134-1/+7
| | | | Guenther
* s3: Add SMB2 performance counters.Ira Cooper2010-07-071-0/+41
| | | | A performance counter was added for every base type of SMB2 op.
* s3: Fix bug 7338, smbget skips leading slash when using a custom outputfileVolker Lendecke2010-07-041-6/+16
|
* s3: Fix some nonempty blank linesVolker Lendecke2010-07-041-10/+10
|
* s3-net: forgot to set type in winreg getvalue operation.Günther Deschner2010-07-021-0/+2
| | | | Guenther
* s3-registry: remove unused reg_util_marshalling code.Günther Deschner2010-07-021-1/+0
| | | | Guenther
* s3-registry: avoid using registry_value union.Günther Deschner2010-07-023-44/+79
| | | | | | Just pull and push data as is. Guenther
* s3-libads: only include libds flags where needed.Günther Deschner2010-07-012-0/+2
| | | | Guenther
* s3-libads: move ads_dns out of main includes.Günther Deschner2010-07-012-0/+2
| | | | Guenther
* s3-libads: use shared well known guids.Günther Deschner2010-07-011-2/+2
| | | | Guenther
* s3-utils: remove rpccheck.Günther Deschner2010-06-291-62/+0
| | | | | | Impossible to get this to compile after the conversion to pidl. Guenther
* s3-net: Make sure we don't call free on garbage.Andreas Schneider2010-06-291-1/+1
| | | | Found by clang-analyzer.
* s3-net: Use talloc_asprintf and return if file is in wrong format.Andreas Schneider2010-06-291-19/+16
| | | | Found by clang-analyzer.
* s3-net: Make sure that the data blob is initialized.Andreas Schneider2010-06-281-0/+2
| | | | Found by clang-analyzer.
* s3:net [rpc] registry: be as user-friendly as possible wrt to the ↵Michael Adam2010-06-251-2/+9
| | | | | | | | | | | | | | | | | normalization change The registry has been changed to use '\' as a key delimiter instead of '/'. Originally, one could mix both characters in the specification of registry key for net [rpc] registry. Now this can not work any more, since '/' is generally treated as a valid character of a key name. Now, to be as user-friendly as possible, the net [rpc] registry code has been changed to still support '/' as a key name delimiter if no '\' character is found in the given registry path string. In that case, all '/' characters are converted to '\' characters before proceeding. If on the other hand, a '\' character is found in the path string, then no conversion is assumed, and it is hence assumed that the path is already in the correct form and '/' characters are supposed to be part of the key names.
* s3:net rpc registry: make getsd succeed when key sd only gives access to SD ↵Michael Adam2010-06-211-2/+1
| | | | | | | | | not key contents You don't need the REG_KEY_READ permissions to access the SD of a key. And for instance, the key HKLM\security ususally has no specific bits set for builtin\administrators, but the READ_CONTROL_ACCESS. I.e. builtin\administrators can get the sd but not enumerate the key.
* Fix bug with incorrect flag values for inherited ace in some cases.Matthew McGillis2010-06-071-0/+5
|
* s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2().Günther Deschner2010-06-031-4/+8
| | | | | | This fixes some invalid typecasts. Guenther
* s3-security: use shared SECINFO_DACL define.Günther Deschner2010-06-031-1/+1
| | | | Guenther
* ntlmssp: Make the ntlmssp.h from source3/ a common headerAndrew Bartlett2010-05-311-1/+1
| | | | | | | | | The code is not yet in common, but I hope to fix that soon. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
* s3: only use netlogon/nbt header when needed.Günther Deschner2010-05-311-0/+1
| | | | Guenther
* s3-build: only use ndr_security.h where needed.Günther Deschner2010-05-312-0/+2
| | | | Guenther
* s3-build: only use ndr_samr.h where needed.Günther Deschner2010-05-281-0/+1
| | | | Guenther
* s3-net: fix the build.Günther Deschner2010-05-261-1/+1
| | | | Guenther
* s3-net: fix a "dereferencing type-punned pointer will break strict-aliasing ↵Günther Deschner2010-05-251-2/+2
| | | | | | rules" warning. Guenther