summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:smbd: remove pending_auth_data logicStefan Metzmacher2012-01-312-269/+0
| | | | | | This is handled by the gensec_spnego module. metze
* s3:smbd: always use the gensec code path in sesssetup.cStefan Metzmacher2012-01-311-67/+32
| | | | | | | The other code pathes are unused, because we always have the spnego gensec module. metze
* s3:smbd: rework smbd_smb2_*_ntlmssp_auth* to smbd_smb2_auth_generic*Stefan Metzmacher2012-01-311-22/+28
| | | | metze
* s3:smbd: always use the gensec code path in smb2_sesssetup.cStefan Metzmacher2012-01-311-460/+7
| | | | | | | The other code pathes are unused, because we always have the spnego gensec module. metze
* libcli/smb: Convert struct smb_trans_enc_state to tallocAndrew Bartlett2012-01-312-59/+18
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: Remove unused enum smb_trans_enc_typeAndrew Bartlett2012-01-311-4/+3
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: Use gensec_spnego in smb seal clientAndrew Bartlett2012-01-312-41/+7
| | | | | | | | | This is intead of the inline, manual spnego code currently in use. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-smbd: Use gensec_spnego in smb seal serverAndrew Bartlett2012-01-311-304/+29
| | | | | | | | | This is instead of the inline, manual spnego code currently in use. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb/auth_generic: make use of gensec_spnego in the clientStefan Metzmacher2012-01-311-4/+9
| | | | metze
* s3:auth/auth_generic: make use of gensec_spnego in the serverStefan Metzmacher2012-01-311-4/+9
| | | | metze
* s3: Unify stream testing in open_directoryVolker Lendecke2012-01-311-9/+5
| | | | | | | | | | The second if-statement could never have kicked in, assuming the SMB_ASSERT above was right. Jeremy, please check! Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Jan 31 20:15:36 CET 2012 on sn-devel-104
* s3: Re-indent an && sequence for better understandingVolker Lendecke2012-01-311-2/+2
|
* s3: Fix "smbcontrol smbd close-share"Volker Lendecke2012-01-311-0/+11
|
* s3:net ads join: remove a useless empty comment blockMichael Adam2012-01-311-2/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Jan 31 18:37:45 CET 2012 on sn-devel-104
* s3:net ads join: add a comment for the call to _net_ads_join_dns_update()Michael Adam2012-01-311-0/+5
|
* s3:net ads join: reduce indentation in _net_ads_join_dns_updates()Michael Adam2012-01-311-46/+47
|
* s3:net ads join: move dns update code out to new function ↵Michael Adam2012-01-311-77/+84
| | | | _net_ads_join_dns_updates()
* s3:net ads join: improve comment for dns update blockMichael Adam2012-01-311-4/+4
|
* s3:net ads join: improve status evaluation for call to net_update_dns()Michael Adam2012-01-311-2/+5
| | | | untangle assignment from check and log error code in message if failed.
* s3:net ads join: interpret return code of ads_kinit_password() in dns update ↵Michael Adam2012-01-311-1/+8
| | | | | | block If failed, print according error message and skip the attempt to do dns update.
* s3:net ads join: check for malloc success and react accordingly in dns ↵Michael Adam2012-01-311-0/+5
| | | | update block
* s3:net ads join: check for success of fetching machine password in dns ↵Michael Adam2012-01-311-0/+5
| | | | | | update block log and cleanup accordingly if failed
* s3:net ads join: untangle assignment from check, fix return code and improve ↵Michael Adam2012-01-311-2/+8
| | | | | | | error logging only the dns update failed, not the join. Also do proper memory cleanup
* s3:net ads join: reduce indentation and improve logging in the dns update ↵Michael Adam2012-01-311-13/+17
| | | | | | code block by doing an early goto done upon error condition
* s3:net ads join: untangle assignment from check.Michael Adam2012-01-311-1/+2
|
* s3:net registry: fix a copy and paste error in a help textMichael Adam2012-01-311-2/+2
|
* Fix bug #8139 - smbclient fails if server does not support Echo request.Jeremy Allison2012-01-311-1/+5
| | | | | | | Based on work by Matthias Scheler <tron@NetBSD.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Jan 31 00:47:19 CET 2012 on sn-devel-104
* s3-winbind: don't try to do clever thing if the username is not found while ↵Matthieu Patou2012-01-301-1/+2
| | | | | | | | | | | | | authenticating through winbind This could cause that we authenticate a user with a bogus domain to winbind's domain if the password supplied for the PAM_AUTH match. The problem was reported by Jeff Venable (jvenable@juniper.net). Patch from Andrew Bartlett (abartlett@samba.org). Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Jan 30 18:58:12 CET 2012 on sn-devel-104
* s3-auth: Remove duplicate check for NT_STATUS_IS_OK(nt_status)Andrew Bartlett2012-01-301-4/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jan 30 09:38:47 CET 2012 on sn-devel-104
* auth: Make check_password and generate_session_info hook genericAndrew Bartlett2012-01-301-14/+19
| | | | | | | | gensec_ntlmssp does not need to know the internal form of the struct user_info_dc or auth_serversupplied_info. This will allow the calling logic to be put in common. Andrew Bartlett
* s3: Fix unused variable warningsVolker Lendecke2012-01-291-0/+4
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jan 29 16:33:29 CET 2012 on sn-devel-104
* s3-selftest: Add test for posix large reads and writesAndrew Bartlett2012-01-282-5/+82
| | | | | | | | | | | This includes encrypted reads and writes, both NTLM and kerberos. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Jan 28 00:13:57 CET 2012 on sn-devel-104
* s3-libsmb Do not limit read replies to NBT packet sizesAndrew Bartlett2012-01-271-1/+1
| | | | | | | | | | With the posix extensions, we can read 16MB at a time, so we need to check the full size of the packet, not the size rounded down to the old NBT limit. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-pdb: Make ADS-type backends updates secrets.tdb.Simo Sorce2012-01-273-0/+127
| | | | | | | | | | Make the backends that have ADS capability the only ones that can change the SID and GUID in secrets.tdb at initialization time. Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri Jan 27 19:42:17 CET 2012 on sn-devel-104
* s3-pdb: Break SECRETS3 dependency on PDB.Simo Sorce2012-01-274-60/+68
| | | | | | | | | | | | | | | This is causing circular depdnendcies that bring libpdb in all code and this is BAD. This change 'protects' the sid and guid of the domain by adding a special key that makes them effectively read only. Limit this temporarily to the samba 4 build, once it gets some good testing the samba4 ifdefs can be dropped. fix pdb dependencies Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-waf: Create a subsystem for SERVER_MUTEX.Andreas Schneider2012-01-271-3/+6
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri Jan 27 12:55:01 CET 2012 on sn-devel-104
* s3-waf: Add missing dependency of ntlmssp to wbclient.Andreas Schneider2012-01-271-1/+1
|
* s3-waf: Add missing dependency of pdb_wbc_sam to wbclient.Andreas Schneider2012-01-271-1/+1
|
* build: Add missing dependencies on poptAmitay Isaacs2012-01-271-0/+2
| | | | | | | | This fixes compilation issues on freebsd where system popt is installed under /usr/local. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Jan 27 08:33:52 CET 2012 on sn-devel-104
* Finally remove all malloc()'s from the substitute code. Now totallyJeremy Allison2012-01-274-101/+64
| | | | | | | talloc() based. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jan 27 03:43:21 CET 2012 on sn-devel-104
* Fix a really slow memory leak (in master at least). Found by Ira Cooper ↵Jeremy Allison2012-01-271-2/+7
| | | | | | | | | <ira@wakeful.net>. Bug #8724 - Memory leak in parent smbd on connection. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jan 27 01:26:28 CET 2012 on sn-devel-104
* s3:auth/auth_generic: for now call sub_set_smb_name() and lp_load()Stefan Metzmacher2012-01-261-0/+6
| | | | | | | | | This matches the auth_ntlmssp case and the smbd/sesssetup.c code. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 26 17:58:17 CET 2012 on sn-devel-104
* s3:gse: return NT_STATUS_LOGON_FAILURE instead of NT_STATUS_INTERNAL_ERRORStefan Metzmacher2012-01-261-2/+2
| | | | | | | | | | | | | This matches the behavior of ads_verify_ticket(). Note that ads_verify_ticket() calls krb5_to_nt_status(), but as a server it's likely to always returns NT_STATUS_UNSUCCESSFUL. ads_verify_ticket() maps NT_STATUS_UNSUCCESSFUL to NT_STATUS_LOGON_FAILURE. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 26 10:48:36 CET 2012 on sn-devel-104
* s3-build: Remove FIXME, bigballofmud is no moreAndrew Bartlett2012-01-261-2/+0
|
* Use sys_pread/sys_pwrite to cope correctly with 64-bit sizes. As in the ↵Jeremy Allison2012-01-261-2/+16
| | | | | | | default VFS case fall back from pread -> read and pwrite -> write on an ESPIPE error in the worker thread. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jan 26 02:11:28 CET 2012 on sn-devel-104
* s3: Fix a panic in aio_pthreadVolker Lendecke2012-01-251-1/+1
| | | | | | | | | Found by Nir Drang <nir@fabrix.tv> Thanks! Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jan 25 18:22:37 CET 2012 on sn-devel-104
* s3-waf: Reduce dependencies of winbindd.Andreas Schneider2012-01-251-24/+9
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Jan 25 13:31:19 CET 2012 on sn-devel-104
* s3-waf: Reduce dependencies of smbd_base.Andreas Schneider2012-01-251-43/+10
|
* s3-waf: Fix cups dependency in PRINTING.Andreas Schneider2012-01-252-2/+2
|
* s3-waf: Add missing dependency to LIBNET.Andreas Schneider2012-01-251-2/+1
|