Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-06-01 | s3-param Make lp_lockdir() const | Andrew Bartlett | 1 | -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 | |||||
2011-06-01 | s3-param Make lp_smb_passwd_file() and lp_private_dir() const | Andrew Bartlett | 1 | -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 | |||||
2011-06-01 | s3-param Make lp_smb_ports() const | Andrew Bartlett | 1 | -1/+1 | |
It makes no sense to have a % substiution in the 'smb ports' parameter. Andrew Bartlett | |||||
2011-06-01 | s3-param Make charset parameters const | Andrew Bartlett | 1 | -3/+3 | |
This removes the dangerous ability for these parameters to change based on % substitutions. Andrew Bartlett | |||||
2011-06-01 | s3-param Make lp_passwordserver() const. | Andrew Bartlett | 1 | -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 | |||||
2011-06-01 | Change sys_getcd() to take no arguments and always return malloc'ed memory ↵ | Jeremy Allison | 1 | -1/+1 | |
(or NULL). Part of the efforts to remove PATH_MAX on modern systems. | |||||
2011-05-31 | lib/util Move sys_memalign into lib/util/system.c | Andrew Bartlett | 1 | -1/+0 | |
2011-05-31 | s3-lib Move sstring_sub() to it's only user and make static | Andrew Bartlett | 1 | -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 | |||||
2011-05-31 | s3-param Move init_iconv() to loadparm.c | Andrew Bartlett | 1 | -1/+0 | |
This assists with some dependency loops Andrew Bartlett | |||||
2011-05-31 | libcli/security: move secdesc.c to the top level libcli/security | Andrew Bartlett | 1 | -41/+0 | |
This code does not rely on lp_ or other source3 only functions, so can be part of the common library. Andrew Bartlett | |||||
2011-05-31 | s3-globals Remove smbd_event_context() (use server_event_context()) | Andrew Bartlett | 1 | -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 | |||||
2011-05-31 | s3-smbd provide struct smbd_server_connection * to conn_snum_used | Andrew Bartlett | 1 | -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 | |||||
2011-05-18 | s3-lib Replace StrnCaseCmp() with strncasecmp_m() | Andrew Bartlett | 1 | -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 | |||||
2011-05-18 | s3-lib Replace StrCaseCmp() with strcasecmp_m() | Andrew Bartlett | 1 | -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 | |||||
2011-05-18 | s3-param: Remove unused snum2params_static | Andrew Bartlett | 1 | -1/+0 | |
2011-05-18 | s3-param: remove unused share_iterator functions | Andrew Bartlett | 1 | -3/+0 | |
2011-05-16 | s3-printing: Get the location info from cups. | Günther Deschner | 1 | -1/+2 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-05-08 | s3-smbd: expose smbd_set_server_fd() | Andrew Tridgell | 1 | -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 | |||||
2011-05-06 | s3-includes: finally only include client.h when libsmb is used. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-05-06 | s3-libsmb: move protos to libsmb/proto.h | Günther Deschner | 1 | -812/+0 | |
Guenther | |||||
2011-05-06 | s3-proto: remove some duplicate prototypes. | Günther Deschner | 1 | -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 | |||||
2011-05-06 | lib/util Use lib/util/ms_fnmatch.c in common for gen_fnmatch() | Andrew Bartlett | 1 | -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 | |||||
2011-05-06 | nterr: Add mem_ctx for return string from get_nt_error_c_code() | Andrew Bartlett | 1 | -1/+0 | |
It is clearer to avoid the implicit return on talloc_tos() Andrew Bartlett | |||||
2011-05-06 | Fix broken interface to set_namearray() - don't modify incoming string. | Jeremy Allison | 1 | -1/+1 | |
2011-05-05 | More const fixes for compiler warnings from the waf build. | Jeremy Allison | 1 | -1/+1 | |
2011-05-05 | Fix many const compiler warnings. | Jeremy Allison | 1 | -1/+1 | |
2011-05-04 | I added them, so I get to kill them :-). Finally remove all uses of ↵ | Jeremy Allison | 1 | -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 | |||||
2011-05-04 | s3-vfs: make vfswrap_llistxattr and vfswrap_flistxattr static. | Günther Deschner | 1 | -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 | |||||
2011-05-03 | s3-proto: move remaining krb5 protos to krb5_protos.h | Günther Deschner | 1 | -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 | |||||
2011-05-03 | lib/util/charset Use push_string and talloc_strupper/strlower from common code | Andrew Bartlett | 1 | -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 | |||||
2011-05-03 | s3-lib make push_ucs2() static | Andrew Bartlett | 1 | -1/+0 | |
2011-05-03 | lib/util Move more network utility functions from source3 into lib/util | Andrew Bartlett | 1 | -10/+0 | |
This will help with the merge of the interfaces layer. Andrew Bartlett | |||||
2011-05-02 | s3-rpc_server: (re)move last globally included rpc_server prototypes. | Günther Deschner | 1 | -9/+0 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 2 16:05:31 CEST 2011 on sn-devel-104 | |||||
2011-05-02 | s3-proto: move remaining srvsvc protos to own header file. | Günther Deschner | 1 | -5/+0 | |
Guenther | |||||
2011-05-02 | s3-proto: move remaining spoolss protos to own header file. | Günther Deschner | 1 | -10/+0 | |
Guenther | |||||
2011-05-02 | s3-proto: move more rpc_server prototypes out of proto.h | Günther Deschner | 1 | -24/+0 | |
Guenther | |||||
2011-05-02 | s3-rpc_server: remove proto of nonexisting function | Günther Deschner | 1 | -4/+0 | |
(rpc_pipe_register_commands). Guenther | |||||
2011-05-02 | s3-util: move valid_share_pathname() to lib/util.c | Günther Deschner | 1 | -4/+1 | |
Guenther | |||||
2011-05-02 | s3-proto: move rpc_srv_register protos and structs to town headerfile. | Günther Deschner | 1 | -19/+2 | |
Guenther | |||||
2011-04-30 | s3: Make name_resolve_bcast return sockaddr_storage | Volker Lendecke | 1 | -1/+2 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 30 20:40:46 CEST 2011 on sn-devel-104 | |||||
2011-04-30 | s3: Remove ip_sevice from get_ipc_connect_master_ip | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 30 18:16:28 CEST 2011 on sn-devel-104 | |||||
2011-04-30 | s3-lib: Rely on uint64_t in conv_str_size() | Andrew Bartlett | 1 | -1/+1 | |
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Apr 30 05:58:35 CEST 2011 on sn-devel-104 | |||||
2011-04-29 | s3-proto: move more headers to rpc_server/rpc_ncacn_np.h where they origin from. | Günther Deschner | 1 | -5/+0 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 22:05:07 CEST 2011 on sn-devel-104 | |||||
2011-04-29 | s3-proto: remove duplicate prototypes. | Günther Deschner | 1 | -28/+2 | |
Guenther | |||||
2011-04-29 | s3-proto: move rpc_server/rpc_handles.c protos to ntdomain.h | Günther Deschner | 1 | -28/+0 | |
Guenther | |||||
2011-04-29 | s3-proto: move more librpc prototypes to librpc/rpc/dcerpc.h | Günther Deschner | 1 | -8/+1 | |
Guenther | |||||
2011-04-29 | s3-proto: remove remaining nss_info prototypes to nss_info.h | Günther Deschner | 1 | -7/+0 | |
Guenther | |||||
2011-04-29 | s3-tsocket: only include ../lib/tsocket/tsocket.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-04-29 | lib/util Re-merge the string_sub() and all_string_sub() from source3 | Andrew Bartlett | 1 | -6/+0 | |
Andrew Bartlett | |||||
2011-04-29 | libcli/smb Move attrib_string in common | Andrew Bartlett | 1 | -1/+0 | |