summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
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.
2010-05-25s3:net rpc registry: use regval_ctr_init() instead of direct allocationMichael Adam1-1/+2
2010-05-25s3:profiles: use regval_ctr_init() instead of direct allocationMichael Adam1-1/+2
2010-05-25s3:net_rpc_printer: use regval_blob/ctr accessor functionsMichael Adam1-38/+53
2010-05-25s3:net rpc printer: fix use of a possibly uninitialized variableMichael Adam1-1/+1
2010-05-25s3:registry: extract registry_pull/push_value prototypes into own headerMichael Adam1-0/+1
reg_util_marshalling.h and use them only where needed.
2010-05-25s3:registry: move prototype registry_create_admin_token() to new header ↵Michael Adam1-0/+1
reg_util_token.h and use it only where necessary.
2010-05-25s3:registry: extract reg_eventlog prototypes to header of their ownMichael Adam1-0/+1
and use them only where needed.
2010-05-25s3:registry: extract the reg_backend_db prototypes into their own header.Michael Adam1-0/+1
And use them only where needed.
2010-05-25s3:registry: adapt callers of regval_ctr_addvalue to uint8 * instead of char *Michael Adam2-2/+2
2010-05-21s3-net: fix net_ads_gpo() for non-ads case.Günther Deschner1-1/+1
Guenther
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett25-216/+216
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-21s3:passdb Remove use of uint8 uint16 and uint32 in favour of C99 typesAndrew Bartlett1-6/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-20s3-net: show how to use filters for group policy processing.Günther Deschner1-0/+2
Guenther
2010-05-20s3-net: let net_ads_gpo() call no_ads when built w/o ads support.Günther Deschner1-0/+5
Guenther
2010-05-20s3-net: compile net_ads_gpo_apply().Günther Deschner1-4/+0
Guenther
2010-05-20s3-utils: remove trailing whitespace from profiles utility.Günther Deschner1-16/+16
Guenther
2010-05-20s3-net: Created a migration tool for printing TDBs.Andreas Schneider1-0/+498
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-rpc_client: move protos to init_samr.hGünther Deschner2-0/+2
Guenther
2010-05-18s3-rpc_client: move protos to cli_spoolss.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_client: move protos to cli_lsarpc.hGünther Deschner8-0/+8
Guenther
2010-05-18s3-rpc_client: move protos to cli_netlogon.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_client: move protos to cli_samr.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-net: also dump security descriptors from ntprinters.tdb in "net printing ↵Günther Deschner1-0/+39
dump". Guenther
2010-05-18s3-net: Added a rather trivial "net printing dump" command.Günther Deschner3-0/+214
Guenther
2010-05-18s3-secdesc: use SD_REVISION from security.idl.Günther Deschner1-1/+1
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner6-22/+22
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner3-12/+12
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner2-26/+28
Guenther
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij4-12/+12
2010-05-18smbconf: only include smbconf headers where needed.Günther Deschner1-0/+3
Guenther
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner6-2/+6
Guenther
2010-05-18s3-crypto: only include crypto headers when crypto is done.Günther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_misc: clean out include/rpc_misc.h.Günther Deschner2-7/+7
Well known rids don't really belong into an rpc header, just use the ones defined in security.idl. Guenther
2010-05-17s3-libgpo: move group policy protos to where they belong.Günther Deschner1-0/+2
Guenther
2010-05-17added support for a -I flagMatthew McGillis1-2/+148
2010-05-17Consolidate all set SEC_DESC into single procedure set_secdescMatthew McGillis1-25/+32
2010-05-11s3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATAAndrew Bartlett2-6/+4
All the callers just want the PAC_LOGON_INFO, so search for that in ads_verify_ticket(), and don't bother the callers with the rest of the PAC. This change makes sense on it's own (removing boilerplate wrappers that just confuse the code), but it also makes it much easier to implement a matching ads_verify_ticket() function in Samba4 for the s3compat proposal. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-10s3-net: Fix Bug #7417. 'net rpc user password' can set the wrong password.Günther Deschner1-1/+4
Guenther