summaryrefslogtreecommitdiffstats
path: root/source3/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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
|