summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-param: Align lp_{max,min}protocol with lib/param namesAndrew Bartlett2012-02-271-2/+2
| | | | | | | | | | This adds an alisas to ensure that both our loadparm systems know all the names. I would like to move to the 'server ..' name as canonical, and this will be raised on the list. Andrew Bartlett
* s3-libsmb: Remove unused spnego_parse_auth_and_micAndrew Bartlett2012-02-241-2/+0
|
* s3-auth: Add a way to get an auth4_context from the auth stackAndrew Bartlett2012-02-241-1/+6
| | | | | | | | This will allow us to use the same layer that auth_ntlmssp does in the non-SPNEGO session setup, which will in turn make the authentication code more consistent in the AD server case. Andrew Bartlett
* s3: smb_request->vwv can be constVolker Lendecke2012-02-231-1/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Feb 23 12:37:23 CET 2012 on sn-devel-104
* s3-libsmb: Remove unused spnego functionsAndrew Bartlett2012-02-231-11/+0
|
* s3-secrets: Remove unused secrets_delete_generic()Andrew Bartlett2012-02-181-1/+0
| | | | | | | | | Found by callcatcher. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Feb 18 09:01:15 CET 2012 on sn-devel-104
* s3-secrets: Remove unused secrets_delete_machine_password()Andrew Bartlett2012-02-181-1/+0
| | | | | | Found by callcatcher. Andrew Bartlett
* lib/util: Remove unused sys_sendto()Andrew Bartlett2012-02-171-1/+0
| | | | | | | | | Found by callcatcher. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Feb 17 13:48:05 CET 2012 on sn-devel-104
* lib/util: Remove unused sys_recv()Andrew Bartlett2012-02-171-1/+0
| | | | | | Found by callcatcher. Andrew Bartlett
* s3-lib: Remove unused standard_sub_conn()Andrew Bartlett2012-02-171-1/+0
|
* s3-lib Remove unused sys_fcntl_long()Andrew Bartlett2012-02-171-1/+0
|
* s3-lib Remove unused sys_fseek()Andrew Bartlett2012-02-171-1/+0
|
* auth/kerberos: Move gse_get_session_key() to common code and use in ↵Andrew Bartlett2012-02-171-12/+0
| | | | | | | | | gensec_gssapi Thie ensures that both code bases use the same logic to determine the use of NEW_SPNEGO. Andrew Bartlett
* s3-param Remove off-by-default and unused "send spnego principal"Andrew Bartlett2012-02-161-1/+0
| | | | | | | | | | | | This is not honoured by the common SPNEGO code. This matches mondern windows versions which do not send this value, as it would be insecure for a client to rely on it. (See also the depricated client use spnego principal directive). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Rename obscure defined constants.Christopher R. Hertel (crh)2012-02-161-2/+2
| | | | | | | | | | | | | | | Replaced the undescriptive SMB_PORT1 and SMB_PORT2 defined constants with the slightly more descriptive names NBT_SMB_PORT and TCP_SMB_PORT. Also replaced several hard-coded references to the well-known port numbers (139 and 445, respectively) as appropriate. Small changes to clarify some comments regarding the two transport types. Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Feb 16 08:29:41 CET 2012 on sn-devel-104
* s3: Add SERVERID_UNIQUE_ID_NOT_TO_VERIFY, bug 8760Volker Lendecke2012-02-151-0/+9
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Feb 15 21:10:22 CET 2012 on sn-devel-104
* s3: files_struct->mode is only written, remove itVolker Lendecke2012-02-141-1/+0
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Feb 14 19:14:29 CET 2012 on sn-devel-104
* s3-lib: Remove unused is_myworkgroup()Andrew Bartlett2012-02-101-1/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-charcnv: Remove unused rpcstr_push()Andrew Bartlett2012-02-101-1/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-libsmb: Remove unused smb_krb5_mk_error()Andrew Bartlett2012-02-101-4/+0
| | | | | | | | Also remove now-unused configure checks for krb5_mk_error(). Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-param: Remove unused share_defined()Andrew Bartlett2012-02-101-1/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-lib: Remove unused pid_path()Andrew Bartlett2012-02-101-1/+0
| | | | | | | | piddir.c calls lp_piddir() directly. Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-charcnv: Remove unused pull_string_fnAndrew Bartlett2012-02-101-7/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-printing: Add new printers to registry.Björn Baumbach2012-02-091-0/+4
| | | | | | | | | This fixes bug #8554, #8612 and #8748. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Feb 9 16:39:04 CET 2012 on sn-devel-104
* s3-libsmb: Remove obsolete smb_krb5_locate_kdc.Andreas Schneider2012-02-091-4/+0
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 9 14:58:57 CET 2012 on sn-devel-104
* Remove unused get_file_size() function.Jeremy Allison2012-02-071-1/+0
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Feb 7 20:56:28 CET 2012 on sn-devel-104
* s3-libsmb: Remove dead prototype.Andreas Schneider2012-02-021-1/+0
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Feb 2 10:33:13 CET 2012 on sn-devel-104
* s3-lib: Fix util_cmdline which doesn't use popt.Andreas Schneider2012-02-013-46/+68
| | | | | | This creates its own header file for util_cmdline so it doesn't need to link against popt. This should fix linking on FreeBSD.
* s3-auth Remove unused nt_status_squash from auth_contextAndrew Bartlett2012-02-011-1/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Feb 1 04:18:50 CET 2012 on sn-devel-104
* s3-pdb: Break SECRETS3 dependency on PDB.Simo Sorce2012-01-271-0/+5
| | | | | | | | | | | | | | | 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-passdb: trying to decouple passdb and secrets a little.Günther Deschner2012-01-181-3/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 18 14:46:18 CET 2012 on sn-devel-104
* s3:lib/messages: remove unused messaging_event_context()Stefan Metzmacher2012-01-171-1/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jan 17 09:45:30 CET 2012 on sn-devel-104
* s3: Put an indirection layer into share_mode_lockVolker Lendecke2012-01-121-0/+4
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-libsmb: split out auth_generic client functions into auth_generic.cAndrew Bartlett2012-01-111-0/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* krb5: Require krb5_set_real_time is available to build with krb5Andrew Bartlett2012-01-101-4/+0
|
* s3-passdb: remove a forward declaration.Günther Deschner2012-01-091-7/+6
| | | | Guenther
* Comment out sys_get_number_of_cores() as we're no longer using this.Jeremy Allison2012-01-061-0/+2
|
* s3-ntlmssp Remove unused ntlmssp_set_hashes() and do not set an invalid LM hashAndrew Bartlett2012-01-061-3/+0
| | | | | | | | | | | | | | When E_deshash() returns false, it indicates that the password is either > 14 chars in length, or could not be represented as an LM hash value for some other reason. In this case, we should not regard the LM hash being missing as an error or a no-password situation. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jan 6 14:59:13 CET 2012 on sn-devel-104
* s3-libsmb Make auth_ntlmssp client more genericAndrew Bartlett2012-01-061-9/+13
| | | | | | | | | As well as renaming, this allows us to start the mech by DCE/RPC auth type or OID. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Add a sys_get_number_of_cores() function that calls sysconf or sysctlJeremy Allison2012-01-061-0/+1
| | | | and tunes the aio threads.
* s3-auth Remove ntlmssp_wrap.h which is no longer requiredAndrew Bartlett2012-01-052-3/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth use gensec directly rather than via auth_generic_stateAndrew Bartlett2012-01-053-5/+2
| | | | | | | | | This is possible because the s3 gensec modules are started as normal gensec modules, so we do not need a wrapper any more. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth re-create the auth context in the s3 ntlmssp server moduleAndrew Bartlett2012-01-051-9/+0
| | | | | | | | This removes the abstraction violation in auth_generic.c. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Happy New Year 2012Stefan Metzmacher2012-01-011-1/+1
| | | | metze
* s3-auth split the auth_generic functions into a seperate fileAndrew Bartlett2011-12-221-0/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth rename auth_ntlmssp_state -> auth_generic_stateAndrew Bartlett2011-12-223-8/+8
| | | | | | | | | This structure handles more than NTLMSSP now, at least when we are an AD DC and so changing the name may avoid some confusion in the future. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-includes: remove PRIMARY_* SID_INDEX defines defined elsewhere already.Günther Deschner2011-12-141-13/+0
| | | | | | | | | They really do not belong to smb.h. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 14 21:15:39 CET 2011 on sn-devel-104
* s3: Remove UNUSED_SHARE_MODE_ENTRYVolker Lendecke2011-12-141-2/+2
|
* s3:smbd/server: maintain the list of child processes under smbd_parent_contextStefan Metzmacher2011-12-141-6/+0
| | | | metze
* s3:lib/dummyparam: remove unused conn_snum_used() dummyStefan Metzmacher2011-12-131-1/+0
| | | | metze