packages/net/samba/patches/400-enhanced_attributes.patch
florian d70e6b9045 Port samba to -ng, add enhanced attributes patch, closes #674
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-25 13:01:56 +00:00

30 lines
996 B
Diff

diff -Nur samba-2.0.10.orig/source/smbd/trans2.c samba-2.0.10/source/smbd/trans2.c
--- samba-2.0.10.orig/source/smbd/trans2.c 2006-08-07 20:04:26.000000000 +0200
+++ samba-2.0.10/source/smbd/trans2.c 2006-08-07 20:06:07.000000000 +0200
@@ -1379,12 +1379,6 @@
data_size = max_data_bytes + 1024;
pdata = *ppdata = Realloc(*ppdata, data_size);
- if (total_data > 0 && IVAL(pdata,0) == total_data) {
- /* uggh, EAs for OS2 */
- DEBUG(4,("Rejecting EA request with total_data=%d\n",total_data));
- return(ERROR(ERRDOS,ERROR_EAS_NOT_SUPPORTED));
- }
-
memset((char *)pdata,'\0',data_size);
switch (info_level)
@@ -1652,12 +1646,6 @@
tvs.actime = st.st_atime;
mode = dos_mode(conn,fname,&st);
- if (total_data > 0 && IVAL(pdata,0) == total_data) {
- /* uggh, EAs for OS2 */
- DEBUG(4,("Rejecting EA request with total_data=%d\n",total_data));
- return(ERROR(ERRDOS,ERROR_EAS_NOT_SUPPORTED));
- }
-
switch (info_level)
{
case SMB_INFO_STANDARD: