I am running AIX 4.3.2 and Samba 2.0.7 on a RS6000 machine with a JFS large file enabled system. I cannot get a file larger than 1GB to be written via a Win2K machine. I can read larger files that are on the system, but not write them. The write fails in the write_data routine in the file util_sock.c It clearly happens in a simple write() call as seen below. I compiled using gcc version 2.95.2 and the HAVE_EXPLICIT_LARGEFILE_SUPPORT is turned on. Anyone been more successful or have ideas? ----code snippit from lib/util_sock.c------ ssize_t write_data(int fd,char *buffer,size_t N) { size_t total=0; ssize_t ret; while (total < N) { #ifdef WITH_SSL if(fd == sslFd){ ret = SSL_write(ssl,buffer + total,N - total); }else{ ret = write(fd,buffer + total,N - total); } #else /* WITH_SSL */ ret = write(fd,buffer + total,N - total); #endif /* WITH_SSL */ if (ret == -1) { DEBUG(0,("write_data: write failure. Error = %s\n", strerror(errno) )); return -1; } if (ret == 0) return total; total += ret; } return (ssize_t)total; }