Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-05-04 | Add in bufflen limit when storing NetBIOS names. Remove safe_strcpy. | Jeremy Allison | 1 | -16/+32 | |
2011-05-04 | Convert safe_strXX to strlXXX. Clean up off-by-ones. | Jeremy Allison | 1 | -31/+17 | |
2011-05-04 | Remove magic numbers. Standardize on macro. Move from safe_strcat to strlcat. | Jeremy Allison | 1 | -7/+7 | |
2011-05-04 | Cope with +1 change on moving from safe_strcat to strlcat. | Jeremy Allison | 1 | -3/+3 | |
2011-05-04 | Fold null terminator into listlen length, change to strlcpy. | Jeremy Allison | 1 | -6/+4 | |
2011-05-04 | Fix the only place we reply on the NULL handling for the source in safe_strcpy. | Jeremy Allison | 1 | -10/+18 | |
2011-05-04 | Fix off-by-one when used with safe_strcpy. | Jeremy Allison | 1 | -1/+1 | |
2011-05-04 | Simple +1 changes in hardcoded lengths when changing from safe_strcpy to ↵ | Jeremy Allison | 4 | -9/+9 | |
strlcpy. | |||||
2011-05-04 | BUGFIX when converting from safe_strcpy to strlcpy. | Jeremy Allison | 1 | -1/+5 | |
We must have a blob legth > 0 in order to safely copy the (possibly) 16 bytes + 1 byte zero character safely. | |||||
2011-05-04 | Remove overmalloc_safe_strcpy - can be simple strlcpy. | Jeremy Allison | 2 | -2/+2 | |
2011-05-04 | Remove obvious use of safe_strcpy + safe_strcat -> strlcpy + strlcat. | Jeremy Allison | 1 | -10/+10 | |
2011-05-04 | Change safe_strcpy_base to strlcpy_base. Note the size doesn't change here ↵ | Jeremy Allison | 3 | -8/+8 | |
as the original macro auto-added the -1. | |||||
2011-05-04 | Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1. | Jeremy Allison | 6 | -9/+9 | |
2011-05-04 | s3-torture: Add a test for notify upon read&x | Volker Lendecke | 5 | -1/+304 | |
This makes sure that when a file is brought online by a read call we notify the client for FILE_NOTIFY_CHANGE_ATTRIBUTES. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed May 4 21:09:22 CEST 2011 on sn-devel-104 | |||||
2011-05-04 | Remove unused function parse_add_domuser(). | Jeremy Allison | 2 | -26/+0 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 4 20:05:42 CEST 2011 on sn-devel-104 | |||||
2011-05-04 | s3-waf: add vfs_gpfs_hsm_notify to the build. | Günther Deschner | 2 | -0/+14 | |
Volker, can you please check this is correct ? Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed May 4 19:03:45 CEST 2011 on sn-devel-104 | |||||
2011-05-04 | vfs_gpfs: Properly notify the offline->online changes | Volker Lendecke | 3 | -0/+117 | |
This needs to be a separate module that cooperates with vfs_gpfs. If aio_fork is used early in the module chain it (correctly) does not propagate the aio ops down, so vfs_gpfs does not see them. This slim module must come early in the chain for notifies to work properly. | |||||
2011-05-04 | vfs_gpfs: Block sendfile for offline files | Volker Lendecke | 1 | -0/+12 | |
2011-05-04 | vfs_gpfs: Store the winattrs in st.vfs_private | Volker Lendecke | 1 | -5/+12 | |
This avoids a considerable amount of gpfs_winattr calls | |||||
2011-05-04 | s3: Properly deal with exited winbind children | Volker Lendecke | 1 | -0/+5 | |
When a winbind child exits, we need to immediately close the socket. If not, the next request to that child will be sent to a socket without a listener, leading to a failed request. This failed request will then trigger a proper re-init. This patch avoids the one failed request. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed May 4 13:32:16 CEST 2011 on sn-devel-104 | |||||
2011-05-04 | s3-vfs: make vfswrap_llistxattr and vfswrap_flistxattr static. | Günther Deschner | 2 | -8/+2 | |
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-04 | s3: Filter out duplicates in name_query() | Volker Lendecke | 1 | -2/+18 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed May 4 00:03:47 CEST 2011 on sn-devel-104 | |||||
2011-05-03 | s3-includes: when MADVISE support was reverted back in 2009, someone forgot ↵ | Günther Deschner | 1 | -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 | |||||
2011-05-03 | s3-includes: move enum flush_reason_enum to smb.h | Günther Deschner | 2 | -16/+16 | |
Guenther | |||||
2011-05-03 | s3-includes: remove ipv6 related prototype which is already defined in ↵ | Günther Deschner | 1 | -5/+0 | |
../lib/util/util_net.h. Guenther | |||||
2011-05-03 | s3-system: move LOCK_ defines to lib/system.c | Günther Deschner | 2 | -9/+9 | |
Guenther | |||||
2011-05-03 | s3: Handle EINTR from sys_poll correctly | Volker Lendecke | 1 | -1/+4 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue May 3 18:06:48 CEST 2011 on sn-devel-104 | |||||
2011-05-03 | s3-proto: move remaining krb5 protos to krb5_protos.h | Günther Deschner | 2 | -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 | |||||
2011-05-03 | s3-ctdb Fix duplicate function name due to packet -> ctdb_packet rename. | Andrew Bartlett | 3 | -3/+3 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-05-03 | s3: reply_readbraw_error needs an sconn as argument also in the non-LFS code ↵ | Björn Jacke | 1 | -1/+1 | |
path Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue May 3 13:04:11 CEST 2011 on sn-devel-104 | |||||
2011-05-03 | ѕ3/configure: move out generic CPPFLAGS in the solaris case here | Björn Jacke | 1 | -3/+4 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-05-03 | ѕ3/configure: move out generic LDFLAGS in the solaris case here | Björn Jacke | 1 | -3/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-05-03 | lib/util Use lib/util/util_str.c in common, including strequal() | Andrew Bartlett | 2 | -86/+1 | |
strequal() is now implemented in terms of strcasecmp_m() which is tested in smbtorture and which does not talloc() for ASCII or non-ASCII comparions, and has an ASCII fast-path. Andrew Bartlett | |||||
2011-05-03 | lib/util/charset Use push_string and talloc_strupper/strlower from common code | Andrew Bartlett | 4 | -128/+2 | |
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 | 2 | -2/+1 | |
2011-05-03 | Remove strlower_m() and strupper_m() from source4 and common code. | Andrew Bartlett | 1 | -0/+61 | |
This function is problematic because a string may expand in size when changed into upper or lower case. This will then push characters off the end of the string in the s3 implementation, or panic in the former s4 implementation. Andrew Bartlett | |||||
2011-05-03 | s3-include: use new roles.h | Andrew Tridgell | 2 | -9/+2 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-05-03 | lib/util Move set_socket_options() into common code. | Andrew Bartlett | 1 | -160/+0 | |
2011-05-03 | lib/util Move more network utility functions from source3 into lib/util | Andrew Bartlett | 3 | -237/+0 | |
This will help with the merge of the interfaces layer. Andrew Bartlett | |||||
2011-05-03 | s3-ctdb Rename packet file and files to ctdb_packet | Andrew Bartlett | 5 | -73/+72 | |
This avoids a conflicts with the Samba4 packet.c, as these is only used in CTDB Andrew Bartlett | |||||
2011-05-03 | s3: Tune broadcast namequeries for unique names | Volker Lendecke | 1 | -3/+9 | |
If we get a unique name via a broadcast query, there's no point in waiting the full timeout. A unique name is just what its name says: unique. No point in waiting longer. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue May 3 00:57:24 CEST 2011 on sn-devel-104 | |||||
2011-05-02 | s3-rpc_server: (re)move last globally included rpc_server prototypes. | Günther Deschner | 5 | -9/+36 | |
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-spoolss: remove another unused header. | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2011-05-02 | s3: include ntdomain.h before including generated srv_ headers. | Günther Deschner | 23 | -18/+23 | |
Guenther | |||||
2011-05-02 | s3-rpc_server: add pipes_struct forward declaration. | Günther Deschner | 2 | -0/+3 | |
Guenther | |||||
2011-05-02 | s3-winbindd: remove unused headers. | Günther Deschner | 2 | -6/+0 | |
Guenther | |||||
2011-05-02 | s3: remove various references to server side dcerpc structs (which are not ↵ | Günther Deschner | 8 | -8/+0 | |
needed). Guenther | |||||
2011-05-02 | s3: move pipe_auth_data to dcerpc.h | Günther Deschner | 2 | -15/+14 | |
Guenther | |||||
2011-05-02 | s3-printing: include ../librpc/ndr/libndr.h in ads printing. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-05-02 | s3-smbd: avoid using pipes_struct when only session_info is needed. | Günther Deschner | 3 | -7/+6 | |
Guenther |