summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2012-02-07Remove unused get_file_size() function.Jeremy Allison1-1/+0
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Feb 7 20:56:28 CET 2012 on sn-devel-104
2012-02-02s3-libsmb: Remove dead prototype.Andreas Schneider1-1/+0
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Feb 2 10:33:13 CET 2012 on sn-devel-104
2012-02-01s3-lib: Fix util_cmdline which doesn't use popt.Andreas Schneider1-33/+0
This creates its own header file for util_cmdline so it doesn't need to link against popt. This should fix linking on FreeBSD.
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-06Add a sys_get_number_of_cores() function that calls sysconf or sysctlJeremy Allison1-0/+1
and tunes the aio threads.
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 Lendecke1-1/+0
All callers to messaging_[re]init only used procid_self()
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-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-02s3-trustdomcache: make enumerate_domain_trusts() static.Günther Deschner1-3/+0
Guenther
2011-10-27s3: Add processes_existVolker Lendecke1-0/+2
2011-10-26s3:include: implement trans_oob() as wrapper to smb_buffer_oob()Stefan Metzmacher1-1/+0
metze
2011-10-21s3:include: make smb_setlen() a macroStefan Metzmacher1-1/+0
metze
2011-10-19s3:libsmb/smb_seal: move smb_set_enclen() to smb_seal.c and make it static thereStefan Metzmacher1-1/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 19 19:06:35 CEST 2011 on sn-devel-104
2011-10-11s3:sessionid: use dbwrap_travers_read() in sessionid_travers_read()Michael Adam1-4/+4
This also changes the return code of sessionid_traverse_read() to NTSTATUS. It also uses traverse_read instead of traverse.
2011-10-11s3:sessionid: use dbwrap_travers() in sessionid_traverse()Michael Adam1-4/+4
This also changes sessionid_traverse to NTSTATUS return type.
2011-10-06lib/util: consolidate module loading into common codeAndrew Bartlett1-10/+1
This creates a samba-modules private libary that handles the details. Andrew Bartlett
2011-09-23lib/util: move some timespec helpers from source3 to the toplevelStefan Metzmacher1-10/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Sep 23 00:15:31 CEST 2011 on sn-devel-104
2011-09-14Fix bug #8229 - git patch attached against 3.6.0-rc2 to fix 'widelinks' ↵Jeremy Allison1-0/+1
regression intro'd in 3.2 Add "allow insecure widelinks" to re-enable the ability (requested by some sites) to have "widelinks = yes" and "unix extensions = yes". Based on an original patch by Linda Walsh <samba@tlinx.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Sep 14 03:55:45 CEST 2011 on sn-devel-104
2011-08-03s3-auth remove sanitized_username from auth_serversupplied_infoAndrew Bartlett1-1/+0
This structure element was only written to, not read. It is filled into the companion structure, auth_session_info() by create_local_token(). Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-01s3-rpc_server: Added common function to create tcpip socket.Andreas Schneider1-0/+1
2011-07-29s3: Make map_open_params_to_ntcreate() available in lib/Volker Lendecke1-0/+7
2011-07-29s3: Make is_executable() available in lib/Volker Lendecke1-0/+1
2011-07-28s3:loadparm: make lp_set_in_client() static - only used in wrappers in ↵Michael Adam1-1/+0
loadparm now.
2011-07-28s3:loadparm: add wrapper lp_load_client_no_reinit()Michael Adam1-0/+1
2011-07-28s3:loadparm: add wrapper lp_load_globals_no_reinit()Michael Adam1-0/+1
2011-07-28s3:loadparm: make lp_is_in_client() static - only used inside loadparmMichael Adam1-1/+0
2011-07-28s3:loadparm: add lp_load_client() that also sets the client state internallyMichael Adam1-0/+1
2011-07-28s3:loadparm: add a convenience wrapper lp_load_global()Michael Adam1-0/+1
This is the use case for most callers, especially the client tools.
2011-07-21s3:afs make path argument to afs_syscall constChristian Ambach1-1/+1
2011-07-14s3-lib Remove unused get_cmdline_auth_info_copyAndrew Bartlett1-2/+0
2011-07-14s4-param finish services hooks for s4->s3 loadparm contextAndrew Bartlett1-0/+2
2011-07-08s3:libsmb: remove unused smb_dos_errstr()Stefan Metzmacher1-1/+0
metze
2011-07-08s3:libsmb: remove unused enum smb_read_errors infrastructureStefan Metzmacher1-4/+0
metze
2011-07-08lib/param: Merge struct loadparm_service into commonAndrew Bartlett1-1/+1
This is handled by a common header and a .c file that is included into both loadparm.c files. In the process, _lp functions were renamed to lp__ to allow the common function definition declarations to be used by source3 and source4 (which have different macro definitions). The only parameter to change type is 'strict_locking' which was a bool, and is now an int, to accommodate the 'Auto' value from source3. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jul 8 12:35:56 CEST 2011 on sn-devel-104
2011-07-08lib/util Move bitmap.c to lib/utilAndrew Bartlett1-9/+0
2011-07-08param: Add hooks to s3 parm_struct and the parameters void * pointerAndrew Bartlett1-1/+4
This is to that the pyparam hooks can use the hooks to connect with the s3 loadparm system. This now also includes per-service parameters. Andrew Bartlett
2011-07-08s3-param Remove lp_set_passdb_backend()Andrew Bartlett1-1/+0
2011-07-05s3: Return "granted" from share_access_checkVolker Lendecke1-2/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-04s3-smbd: Remove obsolete smbd_set_server_fd().Andreas Schneider1-1/+0
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-util: Add a get_remote_hostname() function.Andreas Schneider1-0/+7
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-02param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server()Andrew Bartlett1-1/+0
Jermey started this in 1997 with 0aa493cc0303aa4177f289b9e4c797c8fa180672 (avoiding the duplicate function makes it easier to generate the struct loadparm_globals). Andrew Bartlett
2011-06-29param: Merge param headers into lib/param/loadparm.hAndrew Bartlett1-0/+3
This defines a common table format, so we can in future define a common table. Andrew Bartlett
2011-06-29s3-param use lp_parm_ptr() rather than parm.ptr directlyAndrew Bartlett1-1/+2
This will help with a change from .ptr to .offset Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 29 03:26:21 CEST 2011 on sn-devel-104
2011-06-23s3-param Remove 'announce version' parameterAndrew Bartlett1-2/+0
The only users I can find of this on the internet involve confused users, and our own documentation recommends never setting this. Don't confuse our users any longer. Andrew Bartlett
2011-06-23lib/util/charset: Remove 'display charset'Andrew Bartlett1-1/+0
As discussed in 'CH_DISPLAY and gettext' on the samba-technical list: http://lists.samba.org/archive/samba-technical/2011-June/078190.html Setting this to a value other than 'unix charset' does not make sense, as any system where the filesytem charset does not equal the terminal charset will already have problems with programs as simple as 'ls'. It also means that our output could not be pasted as our input in interactive programs or onto our command line, as we never did translate in the DISPLAY -> UNIX direction. The d_printf() calls are retained in case we need to revisit this, and to support display_set_stderr(). Andrew Bartlett