search for: have_utimes

Displaying 20 results from an estimated 35 matches for "have_utimes".

Did you mean: have_lutimes
2008 Mar 06
1
rsync: always modify atime of all destination files
...2004 > @@ -1135,3 +1135,40 @@ > return malloc(size * num); > return realloc(ptr, size * num); > } > + > +/** > + * update time of last access (atime). > + * does not modify mtime. > +**/ > +void update_atime(char *fname) { > +#if defined(HAVE_UTIME) || defined(HAVE_UTIMES) > + struct stat st; > +# ifdef HAVE_UTIMBUF > + struct utimbuf utb; > +# endif > + if (verbose > 3) > + rprintf(FINFO, "%s updating atime\n",fname); > + if (stat(fname, &st) != 0) { > + rprintf(FERROR, "ERRO...
2008 May 31
5
DO NOT REPLY [Bug 5506] New: support utime differences at runtime, not configure/build time
...nux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: vapier@gentoo.org QAContact: rsync-qa@samba.org http://bugs.gentoo.org/218577 the rsync code currently does things like: #ifdef HAVE_UTIMES <do utimes stuff> #elif defined HAVE_UTIME <do utime stuff> #else fail! #endif the problem here is when rsync detects the utimes function. the older utime code is ifdef-ed away so it isnt available at runtime. that means rsync will only be runtime usable on...
2003 Dec 25
1
How to tell if option "with-acl-support" is compiledin Solaris smbd?
...STRERROR HAVE_STRFTIME HAVE_STRLCAT HAVE_STRLCPY HAVE_STRPBRK HAVE_STRTOUL HAVE_STRUCT_DIRENT64 HAVE_STRUCT_FLOCK64 HAVE_SYMLINK HAVE_SYSCALL HAVE_SYSCONF HAVE_SYSLOG HAVE_UNIXSOCKET HAVE_UPDWTMP HAVE_UPDWTMPX HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMES HAVE_UX_UT_SYSLEN HAVE_VA_COPY HAVE_VOLATILE HAVE_VSNPRINTF HAVE_VSNPRINTF_DECL HAVE_VSYSLOG HAVE_WAITPID HAVE_YP_GET_DEFAULT_DOMAIN HAVE__ACL HAVE__CHDIR HAVE__CLOSE HAVE__CLOSEDIR HAVE__DUP HAVE__DUP2 HAVE__ET_LIST HAVE__FACL HAVE__FCHDIR HAVE...
2005 Nov 09
0
Samba 3.0.20b / AIX 5.3 / VFS Modules
..._METHOD_ATTRLIST HAVE_STRUCT_SECMETHOD_TABLE_METHOD_VERSION HAVE_STRUCT_STAT_ST_RDEV HAVE_STRUCT_TIMESPEC HAVE_ST_RDEV HAVE_SYMLINK HAVE_SYSCONF HAVE_SYSLOG HAVE_TELLDIR64 HAVE_UNIXSOCKET HAVE_UNSIGNED_CHAR HAVE_UPDWTMP HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMES HAVE_VA_COPY HAVE_VOLATILE HAVE_VSNPRINTF HAVE_VSNPRINTF_DECL HAVE_WAITPID HAVE_YP_GET_DEFAULT_DOMAIN HAVE__LSEEK HAVE__READDIR HAVE__READDIR64 HAVE___FCNTL HAVE___FORK --with Options: WITH_AIO WITH_SENDFILE WITH_SYSLOG WITH_UTMP WITH_WINBIND Build Options: AIX...
2007 Sep 24
2
Where is the tdbsam password database file?
...AVE_STRUCT_STAT_ST_RDEV HAVE_STRUCT_TIMESPEC HAVE_ST_RDEV HAVE_SYMLINK HAVE_SYSCONF HAVE_SYSLOG HAVE_SYS_QUOTAS HAVE_TICKET_POINTER_IN_KRB5_AP_REQ HAVE_TIMEGM HAVE_UNIXSOCKET HAVE_UNSETENV HAVE_UPDWTMP HAVE_UPDWTMPX HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMES HAVE_VASPRINTF HAVE_VASPRINTF_DECL HAVE_VA_COPY HAVE_VOLATILE HAVE_VSNPRINTF HAVE_VSNPRINTF_DECL HAVE_VSYSLOG HAVE_WAITPID HAVE_WORKING_AF_LOCAL HAVE_WRFILE_KEYTAB HAVE_XFS_QUOTAS HAVE_YP_GET_DEFAULT_DOMAIN HAVE__Bool HAVE__ET_LIST HAVE__VA_ARGS__MACRO...
2005 Oct 19
1
samba with ADS. winbindd ignore for user authentication
...FTIME HAVE_STRLCAT HAVE_STRLCPY HAVE_STRPBRK HAVE_STRTOUL HAVE_STRUCT_STAT_ST_RDEV HAVE_STRUCT_TIMESPEC HAVE_ST_RDEV HAVE_SYMLINK HAVE_SYSCALL HAVE_SYSCONF HAVE_SYSLOG HAVE_TIMEGM HAVE_UNIXSOCKET HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMES HAVE_VASPRINTF HAVE_VASPRINTF_DECL HAVE_VOLATILE HAVE_VSNPRINTF HAVE_VSNPRINTF_DECL HAVE_VSYSLOG HAVE_WAITPID HAVE_YP_GET_DEFAULT_DOMAIN HAVE__CHDIR HAVE__CLOSE HAVE__DUP HAVE__DUP2 HAVE__ET_LIST HAVE__FCHDIR HAVE__FCNTL HAVE__FORK...
2002 Sep 10
0
[PATCH] Add --preserve-atime switch to rsync
In the past there have been discussions about adding a switch to rsync to preserve the atime on files being copied by rsync. I needed this function for a project I'm working on and decided to invent it. I've attached the diffs. Note that this has the limitations describe in previous emails, namely that preserving atime causes ctime to not be preserved. *** Patch follows *** ***
2005 May 18
1
Samba Comple Problem on Solaris 2.8
...HAVE_STRLCPY HAVE_STRPBRK HAVE_STRTOUL HAVE_STRUCT_DIRENT64 HAVE_STRUCT_FLOCK64 HAVE_STRUCT_STAT_ST_RDEV HAVE_ST_RDEV HAVE_SYMLINK HAVE_SYSCALL HAVE_SYSCONF HAVE_SYSLOG HAVE_UNIXSOCKET HAVE_UPDWTMP HAVE_UPDWTMPX HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMES HAVE_UX_UT_SYSLEN HAVE_VOLATILE HAVE_VSNPRINTF HAVE_VSNPRINTF_DECL HAVE_VSYSLOG HAVE_WAITPID HAVE_YP_GET_DEFAULT_DOMAIN HAVE__ACL HAVE__CHDIR HAVE__CLOSE HAVE__CLOSEDIR HAVE__DUP HAVE__DUP2 HAVE__ET_LIST HAVE__FACL HAVE__FCHDIR HAVE__FCNTL HAVE_...
2005 May 07
0
force group broken in 3.0.14?
...HAVE_STRPBRK HAVE_STRTOUL HAVE_STRUCT_DIRENT64 HAVE_STRUCT_FLOCK64 HAVE_STRUCT_STAT_ST_RDEV HAVE_ST_RDEV HAVE_SYMLINK HAVE_SYSCALL HAVE_SYSCONF HAVE_SYSLOG HAVE_SYS_QUOTAS HAVE_TIMEGM HAVE_UNIXSOCKET HAVE_UPDWTMP HAVE_UPDWTMPX HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMES HAVE_VASPRINTF HAVE_VASPRINTF_DECL HAVE_VA_COPY HAVE_VOLATILE HAVE_VSNPRINTF HAVE_VSNPRINTF_DECL HAVE_VSYSLOG HAVE_WAITPID HAVE_XFS_QUOTAS HAVE_YP_GET_DEFAULT_DOMAIN HAVE__ET_LIST HAVE___CLOSE HAVE___DUP2 HAVE___FCNTL HAVE___FORK HAVE___FSTAT HAVE___FXSTAT HAVE__...
2017 Jun 08
0
2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
..._ST_RDEV HAVE_SYMLINK HAVE_SYSCONF HAVE_SYSLOG HAVE_SYS_QUOTAS HAVE_TEXTDOMAIN HAVE_TICKET_POINTER_IN_KRB5_AP_REQ HAVE_TIMEGM HAVE_UINTPTR_T HAVE_UNIXSOCKET HAVE_UNSETENV HAVE_UPDWTMP HAVE_UPDWTMPX HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMENSAT HAVE_UTIMES HAVE_VASPRINTF HAVE_VA_COPY HAVE_VOLATILE HAVE_VSNPRINTF HAVE_VSYSLOG HAVE_WAIT4 HAVE_WAITPID HAVE_WRFILE_KEYTAB HAVE_XFS_QUOTAS HAVE_YP_GET_DEFAULT_DOMAIN HAVE_ZLIBVERSION HAVE__Bool HAVE__VA_ARGS__MACRO HAVE___CLOSE HAVE___DUP2 HAVE___FCNTL HAVE_...
2007 Jun 05
1
Samba unable to connect to ldap
...AVE_STRUCT_STAT_ST_RDEV HAVE_STRUCT_TIMESPEC HAVE_ST_RDEV HAVE_SYMLINK HAVE_SYSCONF HAVE_SYSLOG HAVE_SYS_QUOTAS HAVE_TICKET_POINTER_IN_KRB5_AP_REQ HAVE_TIMEGM HAVE_UNIXSOCKET HAVE_UNSETENV HAVE_UPDWTMP HAVE_UPDWTMPX HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMES HAVE_VASPRINTF HAVE_VASPRINTF_DECL HAVE_VA_COPY HAVE_VOLATILE HAVE_VSNPRINTF HAVE_VSNPRINTF_DECL HAVE_VSYSLOG HAVE_WAITPID HAVE_WORKING_AF_LOCAL HAVE_WRFILE_KEYTAB HAVE_XFS_QUOTAS HAVE_YP_GET_DEFAULT_DOMAIN HAVE__Bool HAVE__ET_LIST HAVE__VA_ARGS__MACRO...
2016 Jan 19
2
OpenSSH portability & buildsystem fixes
...e.h> +#endif #include <sys/un.h> #include <limits.h> diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c index 2a788e4..97ccf70 100644 --- a/openbsd-compat/bsd-misc.c +++ b/openbsd-compat/bsd-misc.c @@ -105,7 +105,7 @@ const char *strerror(int e) #endif #ifndef HAVE_UTIMES -int utimes(char *filename, struct timeval *tvp) +int utimes(const char *filename, struct timeval *tvp) { struct utimbuf ub; diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h index 0d81d17..7e77bd2 100644 --- a/openbsd-compat/bsd-misc.h +++ b/openbsd-compat/bsd-misc.h @@ -63,7...
2004 Jul 10
2
Solaris username character limit issues.
Hello, I've compiled Samba 3.0.4 with Heimdal 0.6.2 and all of the other trimmings to join and ADS tree, which I have successfully done. Winbind correctly pulls all of the username and group information from the ADS tree and all is good. However... I seem to be running into a wall with the wonderful Solaris 8 character username / groupname limit. Usernames with spaces or names longer than
2003 May 04
1
openssh-3.6.1p2 hpux-10.20
Compilation of openssh-3.6.1p2 on hpux-10.20 stops with .. (cd openbsd-compat && make) gcc -O2 -mpa-risc-2-0 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./.. -I/opt/openssl/include -I ./INCLUDES -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -DHAVE_CONFIG_H -c bsd-arc4random.c In file included from ../openbsd-compat/openbsd-compat.h:35, from
2008 Mar 07
1
--server combined with -e option
..."%d.%d", PROTOCOL_VERSION, SUBPROTOCOL_VERSION); 1792 } else 1793 #endif 1794 argstr[x++] = '.'; 1795 set_allow_inc_recurse(); 1796 if (allow_inc_recurse) 1797 argstr[x++] = 'i'; 1798 #if defined HAVE_LUTIMES && defined HAVE_UTIMES 1799 argstr[x++] = 'L'; 1800 #endif 1801 argstr[x] = '\0'; The above "e.iL" definitely matches, so I know I'm close. Is it safe to allow 'e' if '--server' is also present? Suggestions? Thanks. --Kaleb
2019 Oct 29
0
auth logging or auditing
..._TIMEGM ?? HAVE_UCONTEXT_T ?? HAVE_UINT16_T ?? HAVE_UINT32_T ?? HAVE_UINT64_T ?? HAVE_UINT8_T ?? HAVE_UINTPTR_T ?? HAVE_UMASK ?? HAVE_UNAME ?? HAVE_UNIXSOCKET ?? HAVE_UNSETENV ?? HAVE_UNSHARE_CLONE_FS ?? HAVE_UPDWTMP ?? HAVE_UPDWTMPX ?? HAVE_USLEEP ?? HAVE_UTIMBUF ?? HAVE_UTIME ?? HAVE_UTIMENSAT ?? HAVE_UTIMES ?? HAVE_UX_UT_HOST ?? HAVE_U_CHAR ?? HAVE_U_INT32_T ?? HAVE_VASPRINTF ?? HAVE_VA_COPY ?? HAVE_VDPRINTF ?? HAVE_VISIBILITY_ATTR ?? HAVE_VOLATILE ?? HAVE_VSNPRINTF ?? HAVE_VSYSLOG ?? HAVE_WAIT4 ?? HAVE_WAITPID ?? HAVE_WARN ?? HAVE_WARNX ?? HAVE_WNO_FORMAT_TRUNCATION ?? HAVE_WNO_STRICT_OVERFLOW ?? HAV...
2017 Jun 08
2
2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
On Thu, 2017-06-08 at 10:09 +0200, awl1 via samba wrote: > Hello again, Samba experts, > > sorry for being such a pain in your necks, but I really need to get a > recent Samba version to compile, and it looks like I definitely need > your help with this. > > In the meantime, I have found that the huge number of "conflicting > types" errors for rpc_*_init(...)
2005 Jun 28
1
Samba as ADS Fileserver
...AVE_STRTOUL HAVE_STRUCT_DIRENT64 HAVE_STRUCT_FLOCK64 HAVE_STRUCT_STAT_ST_RDEV HAVE_ST_RDEV HAVE_SYMLINK HAVE_SYSCALL HAVE_SYSCONF HAVE_SYSLOG HAVE_SYS_QUOTAS HAVE_TIMEGM HAVE_UNIXSOCKET HAVE_UPDWTMP HAVE_UPDWTMPX HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMES HAVE_VASPRINTF HAVE_VASPRINTF_DECL HAVE_VA_COPY HAVE_VOLATILE HAVE_VSNPRINTF HAVE_VSNPRINTF_DECL HAVE_VSYSLOG HAVE_WAITPID HAVE_WRFILE_KEYTAB HAVE_XFS_QUOTAS HAVE_YP_GET_DEFAULT_DOMAIN HAVE___CLOSE HAVE___DUP2 HAVE___FCNTL HAVE___FORK HAVE___FSTAT...
2013 May 14
3
frequent tdb corruption
...EC_TV_NSEC HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC HAVE_STRUCT_STAT_ST_RDEV HAVE_STRUCT_TIMESPEC HAVE_ST_RDEV HAVE_SYMLINK HAVE_SYSCONF HAVE_SYSCTLBYNAME HAVE_SYSLOG HAVE_TIMEGM HAVE_UINTPTR_T HAVE_UNIXSOCKET HAVE_UNSETENV HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMES HAVE_VASPRINTF HAVE_VA_COPY HAVE_VDPRINTF HAVE_VOLATILE HAVE_VSNPRINTF HAVE_VSYSLOG HAVE_WAIT4 HAVE_WAITPID HAVE_WRFILE_KEYTAB HAVE_YP_GET_DEFAULT_DOMAIN HAVE_ZLIBVERSION HAVE__Bool HAVE__CHDIR HAVE__CLOSE HAVE__DUP HAVE__DUP2 HAVE__ET_LIST HAVE...
2006 Jul 27
2
Problems with access to share after upgrading to 3.0.23(a)
...HAVE_STRUCT_SIGEVENT HAVE_STRUCT_SIGEVENT_SIGEV_VALUE_SIGVAL_PTR HAVE_STRUCT_STAT_ST_RDEV HAVE_STRUCT_TIMESPEC HAVE_ST_RDEV HAVE_SYMLINK HAVE_SYSCALL HAVE_SYSCONF HAVE_SYSLOG HAVE_TIMEGM HAVE_UNIXSOCKET HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMES HAVE_VASPRINTF HAVE_VASPRINTF_DECL HAVE_VA_COPY HAVE_VOLATILE HAVE_VSNPRINTF HAVE_VSNPRINTF_DECL HAVE_VSYSLOG HAVE_WAITPID HAVE_WORKING_AF_LOCAL HAVE__CHDIR HAVE__CLOSE HAVE__DUP HAVE__DUP2 HAVE__ET_LIST HAVE__FCHDIR HAVE__FCNTL HA...