summaryrefslogtreecommitdiffstats
path: root/source3/include/proto.h
Commit message (Collapse)AuthorAgeFilesLines
* s3-auth remove sanitized_username from auth_serversupplied_infoAndrew Bartlett2011-08-031-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>
* s3-rpc_server: Added common function to create tcpip socket.Andreas Schneider2011-08-011-0/+1
|
* s3: Make map_open_params_to_ntcreate() available in lib/Volker Lendecke2011-07-291-0/+7
|
* s3: Make is_executable() available in lib/Volker Lendecke2011-07-291-0/+1
|
* s3:loadparm: make lp_set_in_client() static - only used in wrappers in ↵Michael Adam2011-07-281-1/+0
| | | | loadparm now.
* s3:loadparm: add wrapper lp_load_client_no_reinit()Michael Adam2011-07-281-0/+1
|
* s3:loadparm: add wrapper lp_load_globals_no_reinit()Michael Adam2011-07-281-0/+1
|
* s3:loadparm: make lp_is_in_client() static - only used inside loadparmMichael Adam2011-07-281-1/+0
|
* s3:loadparm: add lp_load_client() that also sets the client state internallyMichael Adam2011-07-281-0/+1
|
* s3:loadparm: add a convenience wrapper lp_load_global()Michael Adam2011-07-281-0/+1
| | | | This is the use case for most callers, especially the client tools.
* s3:afs make path argument to afs_syscall constChristian Ambach2011-07-211-1/+1
|
* s3-lib Remove unused get_cmdline_auth_info_copyAndrew Bartlett2011-07-141-2/+0
|
* s4-param finish services hooks for s4->s3 loadparm contextAndrew Bartlett2011-07-141-0/+2
|
* s3:libsmb: remove unused smb_dos_errstr()Stefan Metzmacher2011-07-081-1/+0
| | | | metze
* s3:libsmb: remove unused enum smb_read_errors infrastructureStefan Metzmacher2011-07-081-4/+0
| | | | metze
* lib/param: Merge struct loadparm_service into commonAndrew Bartlett2011-07-081-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
* lib/util Move bitmap.c to lib/utilAndrew Bartlett2011-07-081-9/+0
|
* param: Add hooks to s3 parm_struct and the parameters void * pointerAndrew Bartlett2011-07-081-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
* s3-param Remove lp_set_passdb_backend()Andrew Bartlett2011-07-081-1/+0
|
* s3: Return "granted" from share_access_checkVolker Lendecke2011-07-051-2/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-smbd: Remove obsolete smbd_set_server_fd().Andreas Schneider2011-07-041-1/+0
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-util: Add a get_remote_hostname() function.Andreas Schneider2011-07-041-0/+7
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server()Andrew Bartlett2011-07-021-1/+0
| | | | | | | | | Jermey started this in 1997 with 0aa493cc0303aa4177f289b9e4c797c8fa180672 (avoiding the duplicate function makes it easier to generate the struct loadparm_globals). Andrew Bartlett
* param: Merge param headers into lib/param/loadparm.hAndrew Bartlett2011-06-291-0/+3
| | | | | | | This defines a common table format, so we can in future define a common table. Andrew Bartlett
* s3-param use lp_parm_ptr() rather than parm.ptr directlyAndrew Bartlett2011-06-291-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
* s3-param Remove 'announce version' parameterAndrew Bartlett2011-06-231-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
* lib/util/charset: Remove 'display charset'Andrew Bartlett2011-06-231-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
* s3: remove prototype of convert_string_error from proto.hMichael Adam2011-06-231-4/+0
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Jun 23 12:34:31 CEST 2011 on sn-devel-104
* s3: remove prototype of convert_string from proto.hMichael Adam2011-06-231-4/+0
|
* s3: Add name_resolve_bcast_send/recvVolker Lendecke2011-06-191-0/+7
|
* s3-util: remove the s3 nterr.cAndrew Tridgell2011-06-171-7/+0
| | | | | | this is now in common code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3:proto.h: remove prototypes of error functions moved to common code.Michael Adam2011-06-131-3/+0
| | | | | | | ntstatus_to_dos, werror_to_ntstatus, ntstatus_to_werror Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Jun 13 03:31:58 CEST 2011 on sn-devel-104
* s3: Add resolve_wins_send/recvVolker Lendecke2011-06-121-0/+7
|
* s3: Add wins_server_tag_ips()Volker Lendecke2011-06-121-0/+2
| | | | For a given tag, return the list of all wins servers
* s3: Remove "struct ip_service" from resolve_winsVolker Lendecke2011-06-121-1/+2
|
* Export init_stat_ex_from_stat for use in VFS modules.Richard Sharpe2011-06-101-0/+13
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jun 10 13:23:37 CEST 2011 on sn-devel-104
* s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett2011-06-091-4/+1
| | | | | | | | There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
* s3-lib Add myhostname_upper()Andrew Bartlett2011-06-091-0/+1
| | | | | | | This varient always upper cases the hostname, which is needed for the netbios name. Andrew Bartlett
* s3-param Remove special case for global_scope()Andrew Bartlett2011-06-091-2/+1
| | | | | | | There is no reason this can't be a normal constant string in the loadparm system. (Past reasons were that we didn't have lp_set_cmdline()) Andrew Bartlett
* s3-param Remove special case for lp_workgroup()Andrew Bartlett2011-06-091-1/+1
| | | | | | | | There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
* lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett2011-06-091-1/+0
| | | | | | | This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett
* s3-talloc Remove unused TALLOC zeronull functions and macro definitionsAndrew Bartlett2011-06-091-5/+0
| | | | | | These have been under #if 0 for a long time now. Andrew Bartlett
* lib/util use modules_path(), data_path() and shlib_ext() from source3Andrew Bartlett2011-06-061-3/+0
| | | | | | | | | | This brings these helpful utility functions in common, as they are not based on either loadparm system. (The 'modules dir' parameter from Samba4 will shortly be removed, so there is no loss in functionality) Andrew Bartlett
* s3-lib Remove unused lib_path()Andrew Bartlett2011-06-061-1/+0
|
* s4-param Add hook between Samba3 and Samba4 loadparm systems.Andrew Bartlett2011-06-061-0/+5
| | | | | | | | In the top level build, this allows calls to code that requires a lpcfg_ style loadparm_context, while using the global parameters loaded from the source3 loadparm code. Andrew Bartlett
* s3-param Make lp_ncalrpc_dir() constAndrew Bartlett2011-06-011-1/+1
| | | | | | | | | | | This disables % substitutions in the 'ncalrpc dir' parameter. This is used as a communication point between multiple parts of the codebase, and needs to be internally consistent between all the Samba tasks. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 1 05:30:53 CEST 2011 on sn-devel-104
* s3-param Make lp_dedicated_keytab_file() constAndrew Bartlett2011-06-011-1/+1
| | | | | | This disables % substitutions in the 'dedicated keytab file' parameter. Andrew Bartlett
* s3-param Make lp_realm() constAndrew Bartlett2011-06-011-1/+1
| | | | | | | | This disables % substitutions in the 'realm' parameter. This is used all over the codebase, and needs to be internally consistent between all the Samba tasks. Andrew Bartlett
* s3-param Make lp_name_resolv_order() constAndrew Bartlett2011-06-011-1/+1
| | | | | | | | This disables % substitutions in the 'name resolv order' parameter. This is used all over the codebase, and needs to be internally consistent between all the Samba tasks. Andrew Bartlett
* s3-param Make lp_utmpdir() and lp_wtmpdir constAndrew Bartlett2011-06-011-2/+2
| | | | | | | | This disables % substitutions in the 'utmp dir' and 'wtmp dir' parameters. These are system paths, and need to be consistent between all the Samba tasks. Andrew Bartlett