summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* s3:param: don't reference conn_snum_used directly in load_usershare_shares()Stefan Metzmacher2011-12-131-1/+2
| | | | | | This uses the same logic as lp_killunused(). metze
* s3: Remove a bunch of calls to procid_self()Volker Lendecke2011-12-123-5/+2
| | | | All callers to messaging_[re]init only used procid_self()
* s3:smbd: make struct pending_message_list privateStefan Metzmacher2011-12-121-14/+0
| | | | metze
* s3:smbd: remember the smbd_server_connection on pending_message_listStefan Metzmacher2011-12-121-0/+1
| | | | metze
* vfs: Make function pointer names consistent. They all end in _fnRichard Sharpe2011-12-122-224/+225
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Dec 12 04:58:40 CET 2011 on sn-devel-104
* Revert making public of the samba-module library.Jelmer Vernooij2011-12-031-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
* s3: Use autogenerated open_files.idlVolker Lendecke2011-12-021-69/+0
|
* After a discussion with Volker, sdd a backup_intent state to the client struct.Jeremy Allison2011-12-011-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.
* s3-ctdb: Make use of CTDB_CONTROL_CHECK_SRVIDSVolker Lendecke2011-11-301-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
* s3: Add some constVolker Lendecke2011-11-251-2/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Nov 25 10:21:07 CET 2011 on sn-devel-104
* s3:libsmb: implement cli_state based functions on top of ↵Stefan Metzmacher2011-11-241-60/+2
| | | | | | smbXcli_conn/smbXcli_req metze
* s3:smb2cli: make use of smbXcli_session and setup the session key for SMB2 ↵Stefan Metzmacher2011-11-241-1/+2
| | | | | | signing metze
* s3:smb2cli: implement smb2cli_negprot() on top of smbXcli_negprot()Stefan Metzmacher2011-11-241-12/+0
| | | | metze
* s3:smb2cli: replace smb2cli_base.c code with the more generic smbXcli_base.c ↵Stefan Metzmacher2011-11-241-1/+4
| | | | | | code metze
* s3: Move server_info_struct to nmbdVolker Lendecke2011-11-232-9/+9
| | | | That's the only place where it's used.
* s3: Replace delete_token_list by an arrayVolker Lendecke2011-11-231-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
* s3-smbldap: move ldap_open_with_timeout out of smb_ldap.h to ads where it lives.Günther Deschner2011-11-171-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
* s3-smbldap: remove duplicate LDAP_OPT_SUCCESS define.Günther Deschner2011-11-171-3/+0
| | | | Guenther
* s3-smbldap: include talloc.h and tevent.h in smbldap.hGünther Deschner2011-11-171-0/+3
| | | | Guenther
* s3-smbldap: improve smbldap.h readability and rearrange some defines.Günther Deschner2011-11-172-59/+53
| | | | Guenther
* s3-smbldap: remove duplicate prototype.Günther Deschner2011-11-171-6/+0
| | | | Guenther
* param: calculate server role from security, and security from server roleAndrew Bartlett2011-11-171-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>
* s3-param remove lp_domain_logons(), always use IS_DCAndrew Bartlett2011-11-171-1/+0
| | | | | | | | This makes the code internally consistant. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>