Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-07-20 | s3-auth Add struct auth3_session_info to aid transition to auth_session info | Andrew Bartlett | 4 | -0/+266 | |
This will allow a gradual conversion of the required elements from the current struct auth_serversupplied_info. This commit adds the structure definition and some helper functions to copy between the two structures. At this stage these structures and functions are IDENTICAL to the existing code, and so show the past history of that code. The plan is to slowly modify them over the course of the patch series, so that the changes being made a clear. By using a seperate structure to auth_serversupplied_info we can remove elements that are not needed after the authentication, and we can choose a layout that best reflects the needs of runtime users, rather than the internals of the authentication subsystem. By eventually using the auth_session_info from auth.idl, we will gain a single session authorization structure across the whole codebase, allowing more code to be shared, and a much more transparent process for forwarding authorization credentials over the named pipe proxy. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-20 | s3-auth Add const to indicate input elements | Andrew Bartlett | 2 | -4/+4 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-20 | auth: Preserve guest flag on transition via netr_SamInfo3 | Andrew Bartlett | 2 | -0/+5 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-20 | s3-auth Restore nss_token behaviour by reading from server_info | Andrew Bartlett | 1 | -1/+1 | |
The implementation of copy_serverinfo(), used to copy server_info into session_info never copied the nss_token variable, and so 17d8f0ad30847bb940f645ee1817d782ddaaee74 introduced this regression. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-20 | Add my copyright | Andrew Bartlett | 4 | -2/+4 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-20 | s4-param Handle P_CHAR and P_BOOLREV in pyparam | Andrew Bartlett | 1 | -0/+4 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-20 | debug: log early messages to stdout, and keep it open | Andrew Bartlett | 5 | -3/+22 | |
The --log-stdout option was compromised by the log file descriptors being closed once the file process forked. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-20 | lib/util Change debug priority order: DEBUG_STDOUT now overrides DEBUG_FILE | Andrew Bartlett | 1 | -1/+1 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-19 | Second part of fix for bug 8310 - toupper_ascii() is broken on big-endian ↵ | Jeremy Allison | 4 | -2/+14 | |
systems. Re-add: smb_ucs2_t toupper_w(smb_ucs2_t v); and ensure it is called whenever we are operating on smb_ucs2_t variables. I'd like to make the definition of smb_ucs2_t incompatible with int and codepoint_t so they can't be mixed, but that's a patch for another time. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Jul 19 23:48:05 CEST 2011 on sn-devel-104 | |||||
2011-07-19 | First part of fix for bug 8310 - toupper_ascii() is broken on big-endian systems | Jeremy Allison | 12 | -66/+24 | |
Remove int toupper_ascii(int c); int tolower_ascii(int c); int isupper_ascii(int c); int islower_ascii(int c); and replace with their _m equivalents, as they are identical. | |||||
2011-07-19 | s3-libsmb: remove unused cli_lock() | Björn Baumbach | 2 | -18/+0 | |
Replaced with cli_lock32() Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 19 00:43:03 CEST 2011 on sn-devel-104 | |||||
2011-07-18 | s3-torture: run_locktest5(): replace cli_lock() with cli_lock32() | Björn Baumbach | 1 | -11/+15 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-18 | s3-torture: run_locktest4(): replace cli_lock() with cli_lock32() | Björn Baumbach | 1 | -37/+44 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-18 | s3-torture: run_oplock2(): replace cli_lock() with cli_lock32() | Björn Baumbach | 1 | -5/+6 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-18 | s3-torture: run_locktest9(): replace cli_lock() with cli_lock32() | Björn Baumbach | 1 | -3/+5 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-18 | s3-torture: run_locktest8(): replace cli_lock() with cli_lock32() | Björn Baumbach | 1 | -2/+3 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-18 | s3-torture: run_locktest7(): replace cli_lock() with cli_lock32() | Björn Baumbach | 1 | -4/+6 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-18 | s3-torture: run_locktest3(): replace cli_lock() with cli_lock32() | Björn Baumbach | 1 | -8/+15 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-18 | s3-rpc_server: Fixed segfaults in rpc daemons. | Andreas Schneider | 4 | -4/+9 | |
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Jul 18 14:01:02 CEST 2011 on sn-devel-104 | |||||
2011-07-16 | Fix bug #8307 - brl_close_fnum does not call SMB_VFS_BRL_UNLOCK_WINDOWS on ↵ | Jeremy Allison | 1 | -122/+23 | |
all locks Reported by herb@samba.org. Remove the (premature) optimization on file close. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Jul 16 02:32:02 CEST 2011 on sn-devel-104 | |||||
2011-07-15 | s4-lsa: prepare dcesrv_lsa_CreateTrustedDomain_base() to deal with ↵ | Günther Deschner | 1 | -15/+16 | |
unencrypted auth info. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jul 15 19:57:48 CEST 2011 on sn-devel-104 | |||||
2011-07-15 | s4-smbtorture: add very basic tests for lsa_CreateTrustedDomainEx. | Günther Deschner | 1 | -21/+79 | |
Guenther | |||||
2011-07-15 | lsa: lsa_CreateTrustedDomainEx takes lsa_TrustDomainInfoAuthInfo, not | Günther Deschner | 3 | -3/+11 | |
lsa_TrustDomainInfoAuthInfoInternal. Guenther | |||||
2011-07-15 | lsa: rename auth info argument in lsa_CreateTrustedDomainEx2 | Günther Deschner | 6 | -12/+12 | |
Guenther | |||||
2011-07-15 | s4:kdc: set *_strongest_*_key to true to restore the old behavior | Stefan Metzmacher | 1 | -0/+13 | |
TODO: check why this is needed. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 15 12:26:25 CEST 2011 on sn-devel-104 | |||||
2011-07-15 | s4:auth/credentials: with the build after heimdal import | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2011-07-15 | s4:heimdal_build: define HAVE_KRB5_PDU_NONE_DECL | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2011-07-15 | s4:heimdal: add missing files | Stefan Metzmacher | 6 | -1/+642 | |
metze | |||||
2011-07-15 | s4:heimdal: import lorikeet-heimdal-201107150856 (commit ↵ | Stefan Metzmacher | 312 | -2505/+3559 | |
48936803fae4a2fb362c79365d31f420c917b85b) | |||||
2011-07-15 | s3: Avoid leaking http_timestring in print_registry_key | Volker Lendecke | 1 | -4/+12 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jul 15 09:44:05 CEST 2011 on sn-devel-104 | |||||
2011-07-15 | s3:registry avoid pruning the sequencenumber while flushing the regsubkey_ctr | Gregor Beck | 1 | -3/+3 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 15 08:34:47 CEST 2011 on sn-devel-104 | |||||
2011-07-14 | s3:registry avoid leaking an old regsubkey_ctr on regsubkey_ctr_init | Gregor Beck | 1 | -0/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-14 | s3:clikrb5: fix the build with newer heimdal versions | Stefan Metzmacher | 2 | -0/+6 | |
krb5_get_default_in_tkt_etypes() requires a 3rd argument if KRB5_PDU_NONE is available. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jul 14 21:21:13 CEST 2011 on sn-devel-104 | |||||
2011-07-14 | s4:heimdal_build: we need k5crypto and gssapi_krb5 aliases also when using ↵ | Stefan Metzmacher | 1 | -13/+7 | |
system libraries metze | |||||
2011-07-14 | s4:heimdal_build: only maintain lib/gssapi/{spnego,krb5} file lists once | Stefan Metzmacher | 1 | -90/+67 | |
This also makes sure we only create private headers if we use internal heimdal. metze | |||||
2011-07-14 | s4:heimdal_build: provide HEIMDAL_UNUSED_ATTRIBUTE | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2011-07-14 | lib/util/attr: add _UNUSED_ marco | Stefan Metzmacher | 1 | -2/+7 | |
metze | |||||
2011-07-14 | s3-docs: fix a typo in rpcclient manpage | Christian Ambach | 1 | -1/+1 | |
Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu Jul 14 20:10:12 CEST 2011 on sn-devel-104 | |||||
2011-07-14 | s3-rpc_server: Pass event and messaging context to accept function. | Andreas Schneider | 1 | -5/+14 | |
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Jul 14 17:22:16 CEST 2011 on sn-devel-104 | |||||
2011-07-14 | s3-librpc: Pass messaging context to dcerpc register functions. | Andreas Schneider | 3 | -3/+14 | |
2011-07-14 | s3-smbd: Pass event and messaging context to smbd_parent_housekeeping(). | Andreas Schneider | 1 | -3/+5 | |
2011-07-14 | s3-smbd: Pass ev_ctx to remove_child_pid(). | Andreas Schneider | 1 | -3/+5 | |
2011-07-14 | s3-smbd: Pass msg_ctx to smbd_accept_connection. | Andreas Schneider | 1 | -4/+8 | |
2011-07-14 | s3-smbd: Pass ev_ctx to smbd_setup_sig_chld_handler(). | Andreas Schneider | 1 | -5/+5 | |
2011-07-14 | s3-smbd: Pass ev_ctx and msg_ctx to smbd_accept_connection(). | Andreas Schneider | 1 | -3/+13 | |
2011-07-14 | s3-smbd: Pass ev_ctx and msg_ctx to open_sockets_smbd(). | Andreas Schneider | 1 | -7/+9 | |
2011-07-14 | s3-smbd: Pass ev_ctx to smbd_parent_loop(). | Andreas Schneider | 1 | -3/+4 | |
2011-07-14 | s3-smbd: Create ev_ctx and msg_ctx and use it. | Andreas Schneider | 1 | -26/+38 | |
2011-07-14 | s4-winbind handle all values for server role | Andrew Bartlett | 1 | -0/+1 | |
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Jul 14 08:20:13 CEST 2011 on sn-devel-104 | |||||
2011-07-14 | s3-lib Remove unused get_cmdline_auth_info_copy | Andrew Bartlett | 2 | -26/+0 | |