summaryrefslogtreecommitdiffstats
path: root/source3/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-net: add command registry importGregor Beck2010-09-221-0/+203
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-net: let rpccli_winreg_Connect optionally return WERRORGregor Beck2010-09-221-9/+9
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:registry: move regio.h from include/ to registry/Michael Adam2010-09-212-2/+2
|
* s3:registry: move prototypes from reg_init_basic.c to their own header.Michael Adam2010-09-211-0/+1
|
* s3:registry: move the reg_api prototypes to their own header.Michael Adam2010-09-211-0/+1
|
* s3-util: use shared dom_sid_dup.Günther Deschner2010-09-201-2/+2
| | | | Guenther
* s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner2010-09-205-12/+17
| | | | Guenther
* s3-build: only include smbldap.h where needed.Günther Deschner2010-09-201-0/+1
| | | | Guenther
* s3: Add the PAC info3 struct to the netsamlogon_cache in ntlm_authVolker Lendecke2010-09-161-0/+4
|
* s3: Correctly unwrap the krb ticket in gss-spnegoVolker Lendecke2010-09-161-1/+52
|
* s3: Fall back to raw NTLMSSP for the gss-spnego protocolVolker Lendecke2010-09-161-0/+25
| | | | | | This is to handle the mod_auth_ntlm_winbind protocol sending "Negotiate" to IE, which sends raw NTLMSSP instead of a SPNEGO wrapped NTLMSSP blob.
* s3: Split off output generation from manage_squid_ntlmssp_requestVolker Lendecke2010-09-161-17/+41
|
* s3: Wrap the ntlm_auth loop with a talloc_stackframeVolker Lendecke2010-09-161-0/+2
|
* libcli/auth/ntlmssp Be clear about talloc parents for session keysAndrew Bartlett2010-09-161-5/+7
| | | | | | | | | | The previous API was not clear as to who owned the returned session key. This fixes a valgrind-found use-after-free in the NTLMSSP key derivation code, and avoids making allocations - we steal and zero instead. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3: Fix some debug msgs in ntlm_authVolker Lendecke2010-09-151-8/+8
|
* s3: Remove some unnecessary if-statementsVolker Lendecke2010-09-131-10/+5
|
* ntlm_auth: Fix a valgrind errorVolker Lendecke2010-09-131-1/+1
|
* s3: Fix a typoVolker Lendecke2010-09-131-1/+1
|
* s3: Fix a typo (authentictaion->authentication)Volker Lendecke2010-09-131-1/+3
|
* s3-privs Hide the bitmap-based grant_privilege and revoke_privilegeAndrew Bartlett2010-09-111-7/+6
| | | | | | | | | The new wrappers avoid anything but the core privileges code dealing with the bitmap values directly. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-privs Make privilege_enum_sids() take an LUID, not a bitmapAndrew Bartlett2010-09-111-3/+5
| | | | | | | | This moves one more privileges call away from direct bitmap manipuation. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-privs Remove a pointer from grant_privilege()Andrew Bartlett2010-09-111-1/+1
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-privs Remove a pointer indirection from revoke_privilege()Andrew Bartlett2010-09-111-1/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* libcli/security Don't export privs[] as a global variableAndrew Bartlett2010-09-111-4/+2
| | | | | | | | | | | | Instead, provide access functions for the LSA and net sam callers for the information they need. They still only enumerate the first 8 privileges that have traditionally been exposed. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3:auth Remove NT_USER_TOKENAndrew Bartlett2010-09-113-12/+12
| | | | | | | | | The all UPPER case typedef is no longer the preferred Samba style and this makes it easier to see that this is the IDL-derivied structure Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-auth Change struct nt_user_token -> struct security_tokenAndrew Bartlett2010-09-112-5/+5
| | | | | | | | This common structure is defined in security.idl Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-privs Further changes to remove SE_PRIVAndrew Bartlett2010-09-111-3/+3
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Check all SMB_MALLOC returns correctly. Found by Andreas Moroder ↵Jeremy Allison2010-09-101-0/+3
| | | | | | <andreas.moroder@gmx.net>. Jeremy
* s3-utils: remove unused variable in smbget.Günther Deschner2010-09-091-1/+0
| | | | Guenther
* s3: use time_mono throughout in smbgetBjörn Jacke2010-09-081-6/+5
|
* s3: use monotonic clock for time deltas in smbgetBjörn Jacke2010-08-311-2/+5
|
* s3-auth Rename NT_USER_TOKEN user_sids -> sidsAndrew Bartlett2010-08-312-13/+13
| | | | This is closer to the struct security_token from security.idl
* s3: Remove the dependency of g_lock on procid_selfVolker Lendecke2010-08-282-2/+2
| | | | procid_self() references global vars, don't depend on them unnecessarily
* s3-build: use dbwrap.h only where needed.Günther Deschner2010-08-265-0/+5
| | | | Guenther
* s3-build: only include krb5 environment variables where required.Günther Deschner2010-08-261-0/+1
| | | | Guenther
* s3-idmap: only include idmap headers where needed.Günther Deschner2010-08-261-0/+1
| | | | Guenther
* s3-build: only include "fake_file.h" where needed.Günther Deschner2010-08-261-0/+1
| | | | Guenther
* s3-build: only include nsswitch header where needed.Günther Deschner2010-08-262-0/+2
| | | | Guenther
* s3-lsa: separate out init_lsa headers.Günther Deschner2010-08-253-0/+3
| | | | Guenther
* 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