summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Remove the char * argument from the SMB_VFS_GETWD() call. Now alwaysJeremy Allison2011-06-012-6/+7
| | | | | | | returns malloc'ed memory. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jun 1 04:06:12 CEST 2011 on sn-devel-104
* 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.
* struct make "struct shadow_copy_data" its own talloc contextVolker Lendecke2011-05-311-1/+0
|
* s3: Remove SHADOW_COPY_DATA typedefVolker Lendecke2011-05-311-2/+2
|
* 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: Extract the guest_login field in sesssetupVolker Lendecke2011-05-291-0/+1
|
* 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-182-7/+0
|
* Remove duplicate definition of SMB_VFS_NEXT_STRICT_UNLOCK. Found by ↵Jeremy Allison2011-05-171-3/+0
| | | | herb@samba.org
* 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-build: Move generated config.h and config.h.in to include/autoconfAndrew Bartlett2011-05-091-0/+5
| | | | | | | This ensures that these are not found by the waf build, which causes issues when the wrong config.h is used by the recursive smbtorture build Andrew Bartlett
* s3-lib Use common lib/socket code for get_interfaces() et alAndrew Bartlett2011-05-081-49/+0
|
* 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
* libds: moved enum security_types to a common headerAndrew Tridgell2011-05-081-3/+0
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3-includes: no need to globally include libads/ads_status.h.Günther Deschner2011-05-062-1/+1
| | | | Guenther
* s3-includes: finally only include client.h when libsmb is used.Günther Deschner2011-05-063-3/+2
| | | | 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
* s3: only include tdb headers where needed.Günther Deschner2011-05-064-4/+10
| | | | Guenther
* libcli/smb Move cifs posix helper functions and headers in commonAndrew Bartlett2011-05-061-429/+0
| | | | | | unix_perms_to_wire() was a duplicate symbol in the top level build. Andrew Bartlett
* 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
* s3-lib Remove unused dos error codes from errmap_unixAndrew Bartlett2011-05-061-7/+0
| | | | | | | This also makes unix_nt_errmap private to errmap_unix.c and errormap.c so the tables themselves cannot be duplicate symbols until merged. Andrew Bartlett
* lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett2011-05-061-8/+0
| | | | | | | | | This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett
* Fix broken interface to set_namearray() - don't modify incoming string.Jeremy Allison2011-05-061-1/+1
|
* More const fixes. Remove CONST_DISCARD.Jeremy Allison2011-05-062-5/+1
|
* More const fixes for compiler warnings from the waf build.Jeremy Allison2011-05-052-2/+2
|
* Fix many const compiler warnings.Jeremy Allison2011-05-053-2/+3
|
* 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-includes: when MADVISE support was reverted back in 2009, someone forgot ↵Günther Deschner2011-05-031-4/+0
| | | | | | | | | this hunk. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 3 22:06:20 CEST 2011 on sn-devel-104
* s3-includes: move enum flush_reason_enum to smb.hGünther Deschner2011-05-032-16/+16
| | | | Guenther
* s3-includes: remove ipv6 related prototype which is already defined in ↵Günther Deschner2011-05-031-5/+0
| | | | | | ../lib/util/util_net.h. Guenther
* s3-system: move LOCK_ defines to lib/system.cGünther Deschner2011-05-031-9/+0
| | | | Guenther
* s3-proto: move remaining krb5 protos to krb5_protos.hGünther Deschner2011-05-032-7/+6
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 3 15:38:40 CEST 2011 on sn-devel-104
* s3-ctdb Fix duplicate function name due to packet -> ctdb_packet rename.Andrew Bartlett2011-05-031-1/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* lib/util/charset Use push_string and talloc_strupper/strlower from common codeAndrew Bartlett2011-05-031-4/+0
| | | | | | | | | | | The only caller of push_string() (not to be confused with push_string_check()) in the common code was encode_pw_buffer(), and it didn't use the alignment or STR_UPPER flags. The talloc_strupper() and talloc_strlower() functions are tested in smbtorture, and are next_codepoint() based. Andrew Bartlett
* s3-lib make push_ucs2() staticAndrew Bartlett2011-05-031-1/+0
|
* s3-include: use new roles.hAndrew Tridgell2011-05-031-8/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* lib/util Move more network utility functions from source3 into lib/utilAndrew Bartlett2011-05-031-10/+0
| | | | | | This will help with the merge of the interfaces layer. Andrew Bartlett
* s3-ctdb Rename packet file and files to ctdb_packetAndrew Bartlett2011-05-031-18/+18
| | | | | | | This avoids a conflicts with the Samba4 packet.c, as these is only used in CTDB Andrew Bartlett