summaryrefslogtreecommitdiffstats
path: root/source3/include/proto.h
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* s3-param Make lp_piddir() constAndrew Bartlett2011-06-011-1/+1
| | | | | | | | This disables % substitutions in the 'pid dir' parameter. This is used all over the codebase, and need to be internally consistent between all the Samba tasks. Andrew Bartlett
* s3-param Make lp_cachedir() constAndrew Bartlett2011-06-011-1/+1
| | | | | | | | This disables % substitutions in the 'cache dir' parameter. This is used all over the codebase, and need to be internally consistent between all the Samba tasks. Andrew Bartlett
* s3-param Make lp_statedir() constAndrew Bartlett2011-06-011-1/+1
| | | | | | | | This disables % substitutions in the 'state dir' parameter. This is used all over the codebase, and need to be internally consistent between all the Samba tasks. Andrew Bartlett
* s3-param Make lp_lockdir() constAndrew Bartlett2011-06-011-1/+1
| | | | | | | | | This disables % substitutions in the 'lock dir' parameter. This is used all over the codebase, and needs to be internally consistent for the life of the process, as they determine the location of our locking databases. Andrew Bartlett
* s3-param Make lp_smb_passwd_file() and lp_private_dir() constAndrew Bartlett2011-06-011-2/+2
| | | | | | | | | This disables % substitutions in the 'smb passwd file' and 'private dir' parameters. These are used all over the codebase, and need to be internally consistent for the life of the process, as they determine the location of secrets.tdb, as well as the passdb databases. Andrew Bartlett
* s3-param Make lp_smb_ports() constAndrew Bartlett2011-06-011-1/+1
| | | | | | It makes no sense to have a % substiution in the 'smb ports' parameter. Andrew Bartlett
* s3-param Make charset parameters constAndrew Bartlett2011-06-011-3/+3
| | | | | | | This removes the dangerous ability for these parameters to change based on % substitutions. Andrew Bartlett
* s3-param Make lp_passwordserver() const.Andrew Bartlett2011-06-011-1/+1
| | | | | | This means that it no longer takes % substituations, and so the documentation for this behaviour is removed from the smb.conf manpage. (This mode is only useful in security=server, which is already marked as deprecated in 3.6). Andrew Bartlett
* Change sys_getcd() to take no arguments and always return malloc'ed memory ↵Jeremy Allison2011-06-011-1/+1
| | | | | | (or NULL). Part of the efforts to remove PATH_MAX on modern systems.
* lib/util Move sys_memalign into lib/util/system.cAndrew Bartlett2011-05-311-1/+0
|
* s3-lib Move sstring_sub() to it's only user and make staticAndrew Bartlett2011-05-311-1/+0
| | | | | | | This should not be used more generally, as it is specifically not for multibyte strings, and uses malloc rather than talloc. Andrew Bartlett
* s3-param Move init_iconv() to loadparm.cAndrew Bartlett2011-05-311-1/+0
| | | | | | This assists with some dependency loops Andrew Bartlett
* libcli/security: move secdesc.c to the top level libcli/securityAndrew Bartlett2011-05-311-41/+0
| | | | | | | This code does not rely on lp_ or other source3 only functions, so can be part of the common library. Andrew Bartlett
* s3-globals Remove smbd_event_context() (use server_event_context())Andrew Bartlett2011-05-311-1/+0
| | | | | | | | This has been a wrapper around server_event_context() for some time now, and removing this from dummmysmbd.c assists with library dependencies. Andrew Bartlett
* s3-smbd provide struct smbd_server_connection * to conn_snum_usedAndrew Bartlett2011-05-311-3/+4
| | | | | | | | | | | | | | | | This provides the 'sconn' parameter to this key functions, that is currently duplicated in dummysmbd.c, which causes duplicate symbol issues in the waf build. This has natrually caused a number of consequential changes across the codebase, includning not passing a messaging context into initial reload_services(): This causes problems because the global smbd_server_connection isn't yet set up, as there isn't a connection here, just the initial process. Andrew Bartlett
* s3-lib Replace StrnCaseCmp() with strncasecmp_m()Andrew Bartlett2011-05-181-1/+0
| | | | | | | strncasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
* s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett2011-05-181-1/+0
| | | | | | | strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
* s3-param: Remove unused snum2params_staticAndrew Bartlett2011-05-181-1/+0
|
* s3-param: remove unused share_iterator functionsAndrew Bartlett2011-05-181-3/+0
|
* s3-printing: Get the location info from cups.Günther Deschner2011-05-161-1/+2
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-smbd: expose smbd_set_server_fd()Andrew Tridgell2011-05-081-0/+1
| | | | | | | | | | this allows the fd to be setup by subsystems that want to use the s3 server core code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun May 8 12:01:13 CEST 2011 on sn-devel-104
* s3-includes: finally only include client.h when libsmb is used.Günther Deschner2011-05-061-0/+1
| | | | Guenther
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-812/+0
| | | | Guenther
* s3-proto: remove some duplicate prototypes.Günther Deschner2011-05-061-54/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 6 16:21:08 CEST 2011 on sn-devel-104
* lib/util Use lib/util/ms_fnmatch.c in common for gen_fnmatch()Andrew Bartlett2011-05-061-1/+0
| | | | | | | | | gen_fnmatch was a duplicate symbol in the top level build. gen_fnmatch() used for simple non-CIFS pattern matching, so selecting the lib/util implementation should not be a concern. Andrew Bartlett
* nterr: Add mem_ctx for return string from get_nt_error_c_code()Andrew Bartlett2011-05-061-1/+0
| | | | | | It is clearer to avoid the implicit return on talloc_tos() Andrew Bartlett
* Fix broken interface to set_namearray() - don't modify incoming string.Jeremy Allison2011-05-061-1/+1
|
* More const fixes for compiler warnings from the waf build.Jeremy Allison2011-05-051-1/+1
|
* Fix many const compiler warnings.Jeremy Allison2011-05-051-1/+1
|
* I added them, so I get to kill them :-). Finally remove all uses of ↵Jeremy Allison2011-05-041-6/+0
| | | | | | | safe_strcpy and safe_strcat. Change to strlcpy, strlcat. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 4 22:14:14 CEST 2011 on sn-devel-104
* s3-vfs: make vfswrap_llistxattr and vfswrap_flistxattr static.Günther Deschner2011-05-041-6/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed May 4 12:31:10 CEST 2011 on sn-devel-104
* s3-proto: move remaining krb5 protos to krb5_protos.hGünther Deschner2011-05-031-7/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 3 15:38:40 CEST 2011 on sn-devel-104