search for: have_utim

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

Did you mean: have_utime
2008 Mar 06
1
rsync: always modify atime of all destination files
....c Fri Jul 23 16:53:06 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) { > + r...
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 o...
2003 Dec 25
1
How to tell if option "with-acl-support" is compiledin Solaris smbd?
...CT_H HAVE_SYS_SHM_H HAVE_SYS_SOCKET_H HAVE_SYS_SOCKIO_H HAVE_SYS_STATFS_H HAVE_SYS_STATVFS_H HAVE_SYS_STAT_H HAVE_SYS_SYSCALL_H HAVE_SYS_SYSLOG_H HAVE_SYS_TERMIO_H HAVE_SYS_TIME_H HAVE_STROPTS_H HAVE_SYSLOG_H HAVE_TERMIOS_H HAVE_TERMIO_H HAVE_UNISTD_H HAVE_UTIME_H UTMP Options: HAVE_GETUTMPX HAVE_UTMPX_H HAVE_UTMP_H HAVE_UT_UT_EXIT HAVE_UT_UT_ID HAVE_UT_UT_NAME HAVE_UT_UT_PID HAVE_UT_UT_TIME HAVE_UT_UT_TYPE HAVE_UT_UT_USER PUTUTLINE_RETURNS_UTMP WITH_UTMP HAVE_* Defines: HAVE_ADDRTYPE_IN_KRB5_ADDRESS HAVE_AP_O...
2005 Nov 09
0
Samba 3.0.20b / AIX 5.3 / VFS Modules
...RPCSVC_YPCLNT_H HAVE_RPCSVC_YP_PROT_H HAVE_RPC_NETTYPE_H HAVE_RPC_RPC_H HAVE_SECURITY_PAM_APPL_H HAVE_SECURITY_PAM_MODULES_H HAVE_STDARG_H HAVE_STDINT_H HAVE_STDLIB_H HAVE_STRINGS_H HAVE_STRING_H HAVE_STROPTS_H HAVE_SYSLOG_H HAVE_TERMIOS_H HAVE_TERMIO_H HAVE_UNISTD_H HAVE_UTIME_H UTMP Options: HAVE_UTMPX_H HAVE_UTMP_H HAVE_UT_UT_EXIT HAVE_UT_UT_HOST HAVE_UT_UT_ID HAVE_UT_UT_NAME HAVE_UT_UT_PID HAVE_UT_UT_TIME HAVE_UT_UT_TYPE HAVE_UT_UT_USER PUTUTLINE_RETURNS_UTMP WITH_UTMP HAVE_* Defines: HAVE_AIOCB64 HAVE_AIO_CANCEL HAVE_AIO_CANCEL64 HA...
2007 Sep 24
2
Where is the tdbsam password database file?
...MODULES_H HAVE_SECURITY__PAM_MACROS_H HAVE_SETJMP_H HAVE_SHADOW_H HAVE_STDARG_H HAVE_STDBOOL_H HAVE_STDINT_H HAVE_STDIO_H HAVE_STDLIB_H HAVE_STRINGS_H HAVE_STRING_H HAVE_SYSCALL_H HAVE_SYSLOG_H HAVE_TERMIOS_H HAVE_TERMIO_H HAVE_TIME_H HAVE_UNISTD_H HAVE_UTIME_H UTMP Options: HAVE_GETUTMPX HAVE_UTMPX_H HAVE_UTMP_H HAVE_UT_UT_ADDR HAVE_UT_UT_EXIT HAVE_UT_UT_HOST HAVE_UT_UT_ID HAVE_UT_UT_NAME HAVE_UT_UT_PID HAVE_UT_UT_TIME HAVE_UT_UT_TV HAVE_UT_UT_TYPE HAVE_UT_UT_USER PUTUTLINE_RETURNS_UTMP WITH_UTMP HAVE_*...
2005 Oct 19
1
samba with ADS. winbindd ignore for user authentication
...ADLINE_H HAVE_RPCSVC_NIS_H HAVE_RPCSVC_YPCLNT_H HAVE_RPC_RPC_H HAVE_SECURITY_PAM_APPL_H HAVE_SECURITY_PAM_MODULES_H HAVE_SECURITY__PAM_MACROS_H HAVE_STDARG_H HAVE_STDLIB_H HAVE_STRINGS_H HAVE_STRING_H HAVE_SYSLOG_H HAVE_TERMIOS_H HAVE_UNISTD_H HAVE_UTIME_H UTMP Options: HAVE_UTMP_H HAVE_UT_UT_HOST HAVE_UT_UT_NAME HAVE_UT_UT_TIME WITH_UTMP HAVE_* Defines: HAVE_ADDR_TYPE_IN_KRB5_ADDRESS HAVE_AP_OPTS_USE_SUBKEY HAVE_ASPRINTF HAVE_ASPRINTF_DECL HAVE_ATEXIT HAVE_BER_SCANF HAVE_C99_VSNPRINTF HAVE...
2002 Sep 10
0
[PATCH] Add --preserve-atime switch to rsync
...***** *** 240,246 **** ! int set_modtime(char *fname, time_t modtime) { extern int dry_run; if (dry_run) --- 240,246 ---- ! int set_modtime(char *fname,time_t modtime, time_t acctime) { extern int dry_run; if (dry_run) *************** *** 255,271 **** { #ifdef HAVE_UTIMBUF struct utimbuf tbuf; ! tbuf.actime = time(NULL); tbuf.modtime = modtime; return utime(fname,&tbuf); #elif defined(HAVE_UTIME) time_t t[2]; ! t[0] = time(NULL); t[1] = modtime; return utime(fname,t); #else struct timeval t[2]; ! t[0].tv_sec = time(NULL)...
2005 May 18
1
Samba Comple Problem on Solaris 2.8
...EADLINE_READLINE_H HAVE_RPCSVC_YPCLNT_H HAVE_RPC_NETTYPE_H HAVE_SECURITY_PAM_APPL_H HAVE_SECURITY_PAM_MODULES_H HAVE_SHADOW_H HAVE_STDARG_H HAVE_STDLIB_H HAVE_STRINGS_H HAVE_STRING_H HAVE_STROPTS_H HAVE_SYSLOG_H HAVE_TERMIOS_H HAVE_TERMIO_H HAVE_UNISTD_H HAVE_UTIME_H UTMP Options: HAVE_GETUTMPX HAVE_UTMPX_H HAVE_UTMP_H HAVE_UT_UT_EXIT HAVE_UT_UT_ID HAVE_UT_UT_NAME HAVE_UT_UT_PID HAVE_UT_UT_TIME HAVE_UT_UT_TYPE HAVE_UT_UT_USER PUTUTLINE_RETURNS_UTMP WITH_UTMP HAVE_* Defines: HAVE_ADDR_TYPE_IN_KRB5_ADDRESS HAVE_AP_...
2005 May 07
0
force group broken in 3.0.14?
...HAVE_RPC_RPC_H HAVE_SECURITY_PAM_APPL_H HAVE_SECURITY_PAM_MODULES_H HAVE_SECURITY__PAM_MACROS_H HAVE_SHADOW_H HAVE_STDARG_H HAVE_STDINT_H HAVE_STDLIB_H HAVE_STRINGS_H HAVE_STRING_H HAVE_STROPTS_H HAVE_SYSCALL_H HAVE_SYSLOG_H HAVE_TERMIOS_H HAVE_TERMIO_H HAVE_UNISTD_H HAVE_UTIME_H UTMP Options: HAVE_GETUTMPX HAVE_UTMPX_H HAVE_UTMP_H HAVE_UT_UT_ADDR HAVE_UT_UT_EXIT HAVE_UT_UT_HOST HAVE_UT_UT_ID HAVE_UT_UT_NAME HAVE_UT_UT_PID HAVE_UT_UT_TIME HAVE_UT_UT_TV HAVE_UT_UT_TYPE HAVE_UT_UT_USER PUTUTLINE_RETURNS_UTMP WITH_UTMP HAVE_* Defines: HAV...
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
...SECURITY__PAM_MACROS_H HAVE_SETJMP_H HAVE_SHADOW_H HAVE_STDARG_H HAVE_STDBOOL_H HAVE_STDINT_H HAVE_STDIO_H HAVE_STDLIB_H HAVE_STRINGS_H HAVE_STRING_H HAVE_STROPTS_H HAVE_SYSCALL_H HAVE_SYSLOG_H HAVE_TERMIOS_H HAVE_TERMIO_H HAVE_TIME_H HAVE_UNISTD_H HAVE_UTIME_H HAVE_ZLIB_H UTMP Options: HAVE_GETUTMPX HAVE_UTMPX_H HAVE_UTMP_H HAVE_UT_UT_ADDR HAVE_UT_UT_ADDR_V6 HAVE_UT_UT_EXIT HAVE_UT_UT_HOST HAVE_UT_UT_ID HAVE_UT_UT_NAME HAVE_UT_UT_PID HAVE_UT_UT_TIME HAVE_UT_UT_TV HAVE_UT_UT_TYPE HAVE_UT_UT_USER PUTUTLI...
2007 Jun 05
1
Samba unable to connect to ldap
...HAVE_RPCSVC_YP_PROT_H HAVE_RPC_RPC_H HAVE_SETJMP_H HAVE_SHADOW_H HAVE_STDARG_H HAVE_STDBOOL_H HAVE_STDINT_H HAVE_STDIO_H HAVE_STDLIB_H HAVE_STRINGS_H HAVE_STRING_H HAVE_SYSCALL_H HAVE_SYSLOG_H HAVE_TERMIOS_H HAVE_TERMIO_H HAVE_TIME_H HAVE_UNISTD_H HAVE_UTIME_H HAVE_VALGRIND_MEMCHECK_H HAVE_VALGRIND_VALGRIND_H UTMP Options: HAVE_GETUTMPX HAVE_UTMPX_H HAVE_UTMP_H HAVE_UT_UT_ADDR HAVE_UT_UT_EXIT HAVE_UT_UT_HOST HAVE_UT_UT_ID HAVE_UT_UT_NAME HAVE_UT_UT_PID HAVE_UT_UT_TIME HAVE_UT_UT_TV HAVE_UT_UT_TYPE HAVE_UT...
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...
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
...AL_H ?? HAVE_STDARG_H ?? HAVE_STDATOMIC_H ?? HAVE_STDBOOL_H ?? HAVE_STDDEF_H ?? HAVE_STDINT_H ?? HAVE_STDIO_H ?? HAVE_STDLIB_H ?? HAVE_STRINGS_H ?? HAVE_STRING_H ?? HAVE_STROPTS_H ?? HAVE_SYSCALL_H ?? HAVE_SYSLOG_H ?? HAVE_TERMIOS_H ?? HAVE_TERMIO_H ?? HAVE_TERM_H ?? HAVE_TIME_H ?? HAVE_UNISTD_H ?? HAVE_UTIME_H ?? HAVE_XFS_DMAPI_H ?? HAVE_XFS_XQM_H ?? HAVE_ZLIB_H UTMP Options: ?? HAVE_GETUTMPX ?? HAVE_UTMPX_H ?? HAVE_UTMP_H ?? HAVE_UT_UT_EXIT ?? HAVE_UT_UT_HOST ?? HAVE_UT_UT_ID ?? HAVE_UT_UT_NAME ?? HAVE_UT_UT_PID ?? HAVE_UT_UT_TIME ?? HAVE_UT_UT_TV ?? HAVE_UT_UT_TYPE ?? HAVE_UT_UT_USER ?? PUTUTLINE_R...
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
...HAVE_RPCSVC_NIS_H HAVE_RPCSVC_YPCLNT_H HAVE_RPCSVC_YP_PROT_H HAVE_RPC_RPC_H HAVE_SHADOW_H HAVE_STDARG_H HAVE_STDINT_H HAVE_STDLIB_H HAVE_STRINGS_H HAVE_STRING_H HAVE_STROPTS_H HAVE_SYSCALL_H HAVE_SYSLOG_H HAVE_TERMIOS_H HAVE_TERMIO_H HAVE_UNISTD_H HAVE_UTIME_H UTMP Options: HAVE_GETUTMPX HAVE_UTMPX_H HAVE_UTMP_H HAVE_UT_UT_ADDR HAVE_UT_UT_EXIT HAVE_UT_UT_HOST HAVE_UT_UT_ID HAVE_UT_UT_NAME HAVE_UT_UT_PID HAVE_UT_UT_TIME HAVE_UT_UT_TV HAVE_UT_UT_TYPE HAVE_UT_UT_USER PUTUTLINE_RETURNS_UTMP WITH_UTMP HAVE_*...
2013 May 14
3
frequent tdb corruption
...E_RPC_NETTYPE_H HAVE_RPC_RPC_H HAVE_SECURITY_PAM_APPL_H HAVE_SECURITY_PAM_MODULES_H HAVE_SETJMP_H HAVE_STDARG_H HAVE_STDBOOL_H HAVE_STDINT_H HAVE_STDIO_H HAVE_STDLIB_H HAVE_STRINGS_H HAVE_STRING_H HAVE_SYSLOG_H HAVE_TERMIOS_H HAVE_TIME_H HAVE_UNISTD_H HAVE_UTIME_H HAVE_ZLIB_H UTMP Options: HAVE_UTMPX_H HAVE_* Defines: HAVE_ACL_GET_PERM_NP HAVE_ADDR_TYPE_IN_KRB5_ADDRESS HAVE_AP_OPTS_USE_SUBKEY HAVE_ASPRINTF HAVE_ATEXIT HAVE_BACKTRACE_SYMBOLS HAVE_BER_SCANF HAVE_BER_SOCKBUF_ADD_IO HAVE_BLKCNT_T HAVE_BLKSIZE_T HAVE_...
2006 Jul 27
2
Problems with access to share after upgrading to 3.0.23(a)
...HAVE_RPCSVC_YPCLNT_H HAVE_RPCSVC_YP_PROT_H HAVE_RPC_NETTYPE_H HAVE_RPC_RPC_H HAVE_SECURITY_PAM_APPL_H HAVE_SECURITY_PAM_MODULES_H HAVE_STDARG_H HAVE_STDINT_H HAVE_STDLIB_H HAVE_STRINGS_H HAVE_STRING_H HAVE_SYSLOG_H HAVE_TERMIOS_H HAVE_UNISTD_H HAVE_UTIME_H UTMP Options: HAVE_UTMP_H HAVE_UT_UT_HOST HAVE_UT_UT_NAME HAVE_UT_UT_TIME WITH_UTMP HAVE_* Defines: HAVE_ACL_GET_PERM_NP HAVE_ADDR_TYPE_IN_KRB5_ADDRESS HAVE_AP_OPTS_USE_SUBKEY HAVE_ASPRINTF HAVE_ASPRINTF_DECL HAVE_ATEXIT HAVE_BER_SCANF HA...