summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2010-08-14s3:net: rewrite "net idmap restore" using dbwrapMichael Adam1-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.
2010-08-14s3:net: change "net idmap dump" to use dbwrap instead of direct tdb accessMichael Adam1-15/+17
This way, it will also work in a samba-ctdb cluster.
2010-08-14s3:net sam provision: compose sid before getting uid for GuestMichael Adam1-2/+2
Michael
2010-08-14s3:net sam provision: allocate the uid after composing the sid for AdministratorMichael Adam1-6/+7
Michael
2010-08-08s3: Lift the server_messaging_context from notify_printer_bynameVolker Lendecke1-1/+2
2010-08-08s3: Lift the server_messaging_context from notify_job_status_bynameVolker Lendecke1-0/+4
2010-08-08s3: Lift the server_messaging_context from notify_printer_status_bynameVolker Lendecke1-3/+7
2010-08-08s3:utils/net_rpc_service.c: we also need some ndr_pull functionsStefan Metzmacher1-0/+1
metze
2010-08-06s3-net: fix copy/paste typo in usage of "net printing".Günther Deschner1-1/+1
Guenther
2010-08-06s3-net: only include netapi header when needed.Günther Deschner5-1/+4
Guenther
2010-08-06s3-rap: include svcctl.h where needed.Günther Deschner1-0/+1
Guenther
2010-08-06s3-passdb: include samr.h where needed.Günther Deschner3-0/+3
Guenther
2010-08-06s3: Remove some explicit calls to procid_self()Volker Lendecke1-7/+10
2010-08-05s3-popt: Only include popt-common.h when needed.Andreas Schneider18-0/+18
2010-08-05s3-secrets: only include secrets.h when needed.Günther Deschner8-1/+8
Guenther
2010-08-05s3: avoid global include of ads.h.Günther Deschner4-4/+6
Guenther
2010-08-04s3: Convert cli_list() to return NTSTATUSVolker Lendecke1-2/+5
If needed, the callback functions can count themselves
2010-08-01s3: Fix some nonempty blank linesVolker Lendecke1-14/+14
2010-07-31s3-build: avoid to globally include printing and spoolss headers.Günther Deschner2-0/+3
This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther
2010-07-27s3: Remove a typedef (struct file_info)Volker Lendecke1-1/+1
2010-07-26s3: fix a typoVolker Lendecke1-1/+1
2010-07-20s3-libsmb: Use data_blob_talloc to get krb5 ticket and session keysSimo Sorce1-4/+6
2010-07-19s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it.Simo Sorce1-17/+17
All the members are children of ntlmssp_state anyway. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-18s3: Fix some nonempty blank linesVolker Lendecke1-6/+4
2010-07-13s3-libnet: better separate headers.Günther Deschner4-1/+7
Guenther
2010-07-07s3: Add SMB2 performance counters.Ira Cooper1-0/+41
A performance counter was added for every base type of SMB2 op.
2010-07-04s3: Fix bug 7338, smbget skips leading slash when using a custom outputfileVolker Lendecke1-6/+16
2010-07-04s3: Fix some nonempty blank linesVolker Lendecke1-10/+10
2010-07-02s3-net: forgot to set type in winreg getvalue operation.Günther Deschner1-0/+2
Guenther
2010-07-02s3-registry: remove unused reg_util_marshalling code.Günther Deschner1-1/+0
Guenther
2010-07-02s3-registry: avoid using registry_value union.Günther Deschner3-44/+79
Just pull and push data as is. Guenther
2010-07-01s3-libads: only include libds flags where needed.Günther Deschner2-0/+2
Guenther
2010-07-01s3-libads: move ads_dns out of main includes.Günther Deschner2-0/+2
Guenther
2010-07-01s3-libads: use shared well known guids.Günther Deschner1-2/+2
Guenther
2010-06-29s3-utils: remove rpccheck.Günther Deschner1-62/+0
Impossible to get this to compile after the conversion to pidl. Guenther
2010-06-29s3-net: Make sure we don't call free on garbage.Andreas Schneider1-1/+1
Found by clang-analyzer.
2010-06-29s3-net: Use talloc_asprintf and return if file is in wrong format.Andreas Schneider1-19/+16
Found by clang-analyzer.
2010-06-28s3-net: Make sure that the data blob is initialized.Andreas Schneider1-0/+2
Found by clang-analyzer.
2010-06-25s3:net [rpc] registry: be as user-friendly as possible wrt to the ↵Michael Adam1-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.
2010-06-21s3:net rpc registry: make getsd succeed when key sd only gives access to SD ↵Michael Adam1-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.
2010-06-07Fix bug with incorrect flag values for inherited ace in some cases.Matthew McGillis1-0/+5
2010-06-03s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2().Günther Deschner1-4/+8
This fixes some invalid typecasts. Guenther
2010-06-03s3-security: use shared SECINFO_DACL define.Günther Deschner1-1/+1
Guenther
2010-05-31ntlmssp: Make the ntlmssp.h from source3/ a common headerAndrew Bartlett1-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>
2010-05-31s3: only use netlogon/nbt header when needed.Günther Deschner1-0/+1
Guenther
2010-05-31s3-build: only use ndr_security.h where needed.Günther Deschner2-0/+2
Guenther
2010-05-28s3-build: only use ndr_samr.h where needed.Günther Deschner1-0/+1
Guenther
2010-05-26s3-net: fix the build.Günther Deschner1-1/+1
Guenther
2010-05-25s3-net: fix a "dereferencing type-punned pointer will break strict-aliasing ↵Günther Deschner1-2/+2
rules" warning. Guenther
2010-05-25s3:registry: move reg_objects.h to registry/ and use it only where neededMichael Adam3-1/+3
Every place outside of registry/ where this is used, should probably be changed to use pure reg_api.c code.