summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* More const fixes for compiler warnings from the waf build.Jeremy Allison2011-05-0525-99/+107
|
* Fixup build without --with-aio.Jeremy Allison2011-05-051-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 21:38:23 CEST 2011 on sn-devel-104
* More const compiler warning fixes.Jeremy Allison2011-05-056-29/+29
|
* Fix many const compiler warnings.Jeremy Allison2011-05-0523-76/+79
|
* Don't reuse a non-const pointer when manipulating const.Jeremy Allison2011-05-051-4/+3
|
* s3: Fix a typoVolker Lendecke2011-05-051-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 5 16:10:35 CEST 2011 on sn-devel-104
* s3: Fix dup_smb2_vec3Volker Lendecke2011-05-051-1/+1
| | | | | | | | | | | Metze, Jeremy, please check! Thanks, Volker Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 5 13:39:40 CEST 2011 on sn-devel-104
* s3-rpc_server: run minimal_includes.pl.Günther Deschner2011-05-057-8/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu May 5 03:04:38 CEST 2011 on sn-devel-104
* s3-rpc_client: run minimal_includes.pl.Günther Deschner2011-05-053-3/+0
| | | | Guenther
* s3-rpcclient: run minimal_includes.pl.Günther Deschner2011-05-051-1/+0
| | | | Guenther
* s3-printing: run minimal_includes.pl.Günther Deschner2011-05-054-9/+0
| | | | Guenther
* s3-param: run minimal_includes.pl.Günther Deschner2011-05-051-1/+0
| | | | Guenther
* s3-libsmb: run minimal_includes.pl.Günther Deschner2011-05-052-2/+0
| | | | Guenther
* s3-libnet: run minimal_includes.pl.Günther Deschner2011-05-052-2/+0
| | | | Guenther
* s3-libads: run minimal_includes.pl.Günther Deschner2011-05-051-2/+0
| | | | Guenther
* s3-lib: run minimal_includes.pl.Günther Deschner2011-05-052-2/+0
| | | | Guenther
* s3-auth: run minimal_includes.plGünther Deschner2011-05-055-6/+0
| | | | Guenther
* 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
* Fix warning messages caused by addition of null check in fstrcpy macro.Jeremy Allison2011-05-0419-50/+59
|
* Tidy up some missing checks for NULL in strlcpy.Jeremy Allison2011-05-041-1/+1
|
* Add in bufflen limit when storing NetBIOS names. Remove safe_strcpy.Jeremy Allison2011-05-041-16/+32
|
* Convert safe_strXX to strlXXX. Clean up off-by-ones.Jeremy Allison2011-05-041-31/+17
|
* Remove magic numbers. Standardize on macro. Move from safe_strcat to strlcat.Jeremy Allison2011-05-041-7/+7
|
* Cope with +1 change on moving from safe_strcat to strlcat.Jeremy Allison2011-05-041-3/+3
|
* Fold null terminator into listlen length, change to strlcpy.Jeremy Allison2011-05-041-6/+4
|
* Fix the only place we reply on the NULL handling for the source in safe_strcpy.Jeremy Allison2011-05-041-10/+18
|
* Fix off-by-one when used with safe_strcpy.Jeremy Allison2011-05-041-1/+1
|
* Simple +1 changes in hardcoded lengths when changing from safe_strcpy to ↵Jeremy Allison2011-05-044-9/+9
| | | | strlcpy.
* BUGFIX when converting from safe_strcpy to strlcpy.Jeremy Allison2011-05-041-1/+5
| | | | | We must have a blob legth > 0 in order to safely copy the (possibly) 16 bytes + 1 byte zero character safely.
* Remove overmalloc_safe_strcpy - can be simple strlcpy.Jeremy Allison2011-05-042-2/+2
|
* Remove obvious use of safe_strcpy + safe_strcat -> strlcpy + strlcat.Jeremy Allison2011-05-041-10/+10
|
* Change safe_strcpy_base to strlcpy_base. Note the size doesn't change here ↵Jeremy Allison2011-05-043-8/+8
| | | | as the original macro auto-added the -1.
* Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1.Jeremy Allison2011-05-046-9/+9
|
* s3-torture: Add a test for notify upon read&xVolker Lendecke2011-05-045-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
* Remove unused function parse_add_domuser().Jeremy Allison2011-05-042-26/+0
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 4 20:05:42 CEST 2011 on sn-devel-104
* s3-waf: add vfs_gpfs_hsm_notify to the build.Günther Deschner2011-05-042-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
* vfs_gpfs: Properly notify the offline->online changesVolker Lendecke2011-05-043-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.
* vfs_gpfs: Block sendfile for offline filesVolker Lendecke2011-05-041-0/+12
|
* vfs_gpfs: Store the winattrs in st.vfs_privateVolker Lendecke2011-05-041-5/+12
| | | | This avoids a considerable amount of gpfs_winattr calls
* s3: Properly deal with exited winbind childrenVolker Lendecke2011-05-041-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
* s3-vfs: make vfswrap_llistxattr and vfswrap_flistxattr static.Günther Deschner2011-05-042-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
* s3: Filter out duplicates in name_query()Volker Lendecke2011-05-041-2/+18
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed May 4 00:03:47 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-032-9/+9
| | | | Guenther
* s3: Handle EINTR from sys_poll correctlyVolker Lendecke2011-05-031-1/+4
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue May 3 18:06:48 CEST 2011 on sn-devel-104
* 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-033-3/+3
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3: reply_readbraw_error needs an sconn as argument also in the non-LFS code ↵Björn Jacke2011-05-031-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