summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2012-01-09s3-passdb: remove a forward declaration.Günther Deschner1-7/+6
Guenther
2012-01-06Comment out sys_get_number_of_cores() as we're no longer using this.Jeremy Allison1-0/+2
2012-01-06s3-ntlmssp Remove unused ntlmssp_set_hashes() and do not set an invalid LM hashAndrew Bartlett1-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
2012-01-06s3-libsmb Make auth_ntlmssp client more genericAndrew Bartlett1-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>
2012-01-06Add a sys_get_number_of_cores() function that calls sysconf or sysctlJeremy Allison1-0/+1
and tunes the aio threads.
2012-01-05s3-auth Remove ntlmssp_wrap.h which is no longer requiredAndrew Bartlett2-3/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-05s3-auth use gensec directly rather than via auth_generic_stateAndrew Bartlett3-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>
2012-01-05s3-auth re-create the auth context in the s3 ntlmssp server moduleAndrew Bartlett1-9/+0
This removes the abstraction violation in auth_generic.c. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-01s3: Happy New Year 2012Stefan Metzmacher1-1/+1
metze
2011-12-22s3-auth split the auth_generic functions into a seperate fileAndrew Bartlett1-0/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-12-22s3-auth rename auth_ntlmssp_state -> auth_generic_stateAndrew Bartlett3-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>
2011-12-14s3-includes: remove PRIMARY_* SID_INDEX defines defined elsewhere already.Günther Deschner1-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
2011-12-14s3: Remove UNUSED_SHARE_MODE_ENTRYVolker Lendecke1-2/+2
2011-12-14s3:smbd/server: maintain the list of child processes under smbd_parent_contextStefan Metzmacher1-6/+0
metze
2011-12-13s3:lib/dummyparam: remove unused conn_snum_used() dummyStefan Metzmacher1-1/+0
metze
2011-12-13s3:param: don't reference conn_snum_used directly in load_usershare_shares()Stefan Metzmacher1-1/+2
This uses the same logic as lp_killunused(). metze
2011-12-12s3: Remove a bunch of calls to procid_self()Volker Lendecke3-5/+2
All callers to messaging_[re]init only used procid_self()
2011-12-12s3:smbd: make struct pending_message_list privateStefan Metzmacher1-14/+0
metze
2011-12-12s3:smbd: remember the smbd_server_connection on pending_message_listStefan Metzmacher1-0/+1
metze
2011-12-12vfs: Make function pointer names consistent. They all end in _fnRichard Sharpe2-224/+225
Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Dec 12 04:58:40 CET 2011 on sn-devel-104
2011-12-03Revert making public of the samba-module library.Jelmer Vernooij1-1/+1
This library was tiny - containing just two public functions than were themselves trivial. The amount of overhead this causes isn't really worth the benefits of sharing the code with other projects like OpenChange. In addition, this code isn't really generically useful anyway, as it can only load from the module path set for Samba at configure time. Adding a new library was breaking the API/ABI anyway, so OpenChange had to be updated to cope with the new situation one way or another. I've added a simpler (compatible) routine for loading modules to OpenChange, which is less than 100 lines of code. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104
2011-12-02s3: Use autogenerated open_files.idlVolker Lendecke1-69/+0
2011-12-01After a discussion with Volker, sdd a backup_intent state to the client struct.Jeremy Allison1-0/+1
This causes the backup_intent flags to be added to findfirst/findnext and ntcreate/nttrans_create calls. cli_set_backup_intent() sets the flag and returns the old value of its state.
2011-11-30s3-ctdb: Make use of CTDB_CONTROL_CHECK_SRVIDSVolker Lendecke1-0/+4
This should be a lot quicker than PROCESS_EXISTS followed by looking at serverid.tdb Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 30 12:47:27 CET 2011 on sn-devel-104
2011-11-25s3: Add some constVolker Lendecke1-2/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Nov 25 10:21:07 CET 2011 on sn-devel-104
2011-11-24s3:libsmb: implement cli_state based functions on top of ↵Stefan Metzmacher1-60/+2
smbXcli_conn/smbXcli_req metze
2011-11-24s3:smb2cli: make use of smbXcli_session and setup the session key for SMB2 ↵Stefan Metzmacher1-1/+2
signing metze
2011-11-24s3:smb2cli: implement smb2cli_negprot() on top of smbXcli_negprot()Stefan Metzmacher1-12/+0
metze
2011-11-24s3:smb2cli: replace smb2cli_base.c code with the more generic smbXcli_base.c ↵Stefan Metzmacher1-1/+4
code metze
2011-11-23s3: Move server_info_struct to nmbdVolker Lendecke2-9/+9
That's the only place where it's used.
2011-11-23s3: Replace delete_token_list by an arrayVolker Lendecke1-3/+3
This will make it easier to convert locking.tdb to IDL, and I don't think there will be enough entries to justify a linked list over an array. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 23 09:02:12 CET 2011 on sn-devel-104
2011-11-17s3-smbldap: move ldap_open_with_timeout out of smb_ldap.h to ads where it lives.Günther Deschner1-9/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Nov 17 03:47:53 CET 2011 on sn-devel-104
2011-11-17s3-smbldap: remove duplicate LDAP_OPT_SUCCESS define.Günther Deschner1-3/+0
Guenther
2011-11-17s3-smbldap: include talloc.h and tevent.h in smbldap.hGünther Deschner1-0/+3
Guenther
2011-11-17s3-smbldap: improve smbldap.h readability and rearrange some defines.Günther Deschner2-59/+53
Guenther
2011-11-17s3-smbldap: remove duplicate prototype.Günther Deschner1-6/+0
Guenther
2011-11-17param: calculate server role from security, and security from server roleAndrew Bartlett1-1/+0
This allows smb.conf files from either the samba3 or samba4 tradition to come to the same value of server role, using the information in the smb.conf file. This is important so that tools like 'net getlocalsid' work against a Samba4 AD installation (yes, users have tried this). Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17s3-param remove lp_domain_logons(), always use IS_DCAndrew Bartlett1-1/+0
This makes the code internally consistant. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17s3-param: Add "server role" as global parameterAmitay Isaacs1-0/+1
This will help extracting server role processing code in common library.
2011-11-16s3-libsmb: introduce option to disable dos error mappingBjörn Baumbach1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-16s3-smbldap: extend smbldap_init() with binddn/bindsecret arguments.Günther Deschner1-2/+5
Guenther
2011-11-16s3-smbldap: remove duplicate prototype of smbldap_init().Günther Deschner1-3/+0
Guenther
2011-11-16s3-passdb: split out passdb/pdb_ldap_schema.cGünther Deschner1-102/+0
Guenther
2011-11-16s3-smbldap: use include/smb_ldap.h in smbldap.hGünther Deschner1-1/+1
Guenther
2011-11-16Fix bug #8561 - Password change settings not fully observed.Jeremy Allison1-0/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 16 00:22:41 CET 2011 on sn-devel-104
2011-11-15s3-winbind: Increase the negative cache entry timout.Andreas Schneider1-1/+1
The timout for the cache entry of a negative connection should be the double of a connect timeout (which is 30 seconds).
2011-11-04s3:libsmb: also remember the optional server name from the negprot responseStefan Metzmacher1-0/+1
W2K (at least sp4) and higher also send the server name. metze
2011-11-02s3-trustdomcache: make enumerate_domain_trusts() static.Günther Deschner1-3/+0
Guenther
2011-10-28lib/util Split samba-modules library into public and private partsAndrew Bartlett1-1/+1
This will allow OpenChange to get at the symbols it needs, without exposing any more of this as a public API than we must. Andrew Bartlett
2011-10-28s3-passdb: use tevent_context in passdb.Günther Deschner1-2/+3
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Oct 28 13:09:47 CEST 2011 on sn-devel-104