search for: have_crypt_h

Displaying 20 results from an estimated 24 matches for "have_crypt_h".

2009 Jan 03
0
any HP-UX 10.26 out there?
...I do not have access to (HP-UX 10.26). The change in question is ...... --- openssh/openbsd-compat/xcrypt.c.old 2007-03-26 08:42:45.624801002 -0700 +++ openssh/openbsd-compat/xcrypt.c 2008-12-29 17:30:51.460000000 -0800 @@ -28,7 +28,7 @@ #include <unistd.h> #include <pwd.h> -# ifdef HAVE_CRYPT_H +# if defined(HAVE_CRYPT_H) && !defined(HAVE_SECUREWARE) # include <crypt.h> # endif ...... I looked through my collection of surveys and don't see any sent in for HP-UX 10.26 to see if they even define HAVE_CRYPT_H Thanks. -- Tim Rice Multitalents (707) 887-1469 tim a...
2018 Jan 29
1
[PATCH] customize: Correctly handle crypt(3) returning NULL.
...e changed, 4 insertions(+) diff --git a/customize/crypt-c.c b/customize/crypt-c.c index d5425cfaa..e358018cd 100644 --- a/customize/crypt-c.c +++ b/customize/crypt-c.c @@ -21,6 +21,7 @@ #include <stdio.h> #include <stdlib.h> #include <unistd.h> +#include <errno.h> #if HAVE_CRYPT_H #include <crypt.h> @@ -29,6 +30,7 @@ #include <caml/alloc.h> #include <caml/memory.h> #include <caml/mlvalues.h> +#include <caml/unixsupport.h> #pragma GCC diagnostic ignored "-Wmissing-prototypes" @@ -44,6 +46,8 @@ virt_customize_crypt (value keyv,...
2000 May 08
0
Patch for IA-64
...urce/include/includes.h samba-2.0.6.ia64/source/include/includes.h --- samba-2.0.6/source/include/includes.h Wed Nov 10 18:36:00 1999 +++ samba-2.0.6.ia64/source/include/includes.h Fri Apr 28 18:51:12 2000 @@ -324,6 +324,10 @@ #define PASSWORD_LENGTH 16 #endif /* HAVE_SYS_SECURITY_H */ +#ifdef HAVE_CRYPT_H +#include <crypt.h> +#endif + #ifdef HAVE_COMPAT_H #include <compat.h> #endif diff -ruN samba-2.0.6/source/smbd/chgpasswd.c samba-2.0.6.ia64/source/smbd/chgpasswd.c --- samba-2.0.6/source/smbd/chgpasswd.c Wed Nov 10 18:36:08 1999 +++ samba-2.0.6.ia64/source/smbd/chgpasswd.c Fri Apr 2...
2018 Oct 03
2
Bug reports - auth is broken in Dovecot 2.3.3
....com> wrote: > > > > I do not have downloaded the source from GitHub. The patch modifies configure.ac, so unless you run autogen.sh the configure script isn't modified and that patch doesn't work. Or as an alternative you could simply manually append to config.h: #define HAVE_CRYPT_H > > On Wed, Oct 3, 2018 at 1:53 PM Timo Sirainen <tss at iki.fi <mailto:tss at iki.fi>> wrote: > On 3 Oct 2018, at 13.22, Berindeie Avram-Teodor <berindeie.teo at gmail.com <mailto:berindeie.teo at gmail.com>> wrote: > > > > I applied the patch and re...
2002 Jun 07
4
openssh for UWIN
...==== *** auth-passwd.c.orig Mon Mar 04 20:45:57 2002 --- auth-passwd.c Fri Jun 07 10:37:59 2002 *************** *** 44,49 **** --- 44,52 ---- #include "log.h" #include "servconf.h" #include "auth.h" + #ifdef _UWIN + # include <uwin.h> + #endif #ifdef HAVE_CRYPT_H # include <crypt.h> *************** *** 114,119 **** --- 117,125 ---- /* deny if no user. */ if (pw == NULL) return 0; + #ifdef _UWIN + return(uwin_mktoken(pw->pw_name,password,UWIN_TOKCLOSE)!=0); + #endif #ifndef HAVE_CYGWIN if (pw->pw_uid == 0 && option...
2018 Jan 23
1
[PATCH] customize: Use libxcrypt if available to provide crypt(3).
...) \ + $(LIBCRYPT_CFLAGS) \ $(LIBVIRT_CFLAGS) \ $(LIBXML2_CFLAGS) \ -fPIC diff --git a/customize/crypt-c.c b/customize/crypt-c.c index 70e6ea7f5..d5425cfaa 100644 --- a/customize/crypt-c.c +++ b/customize/crypt-c.c @@ -22,6 +22,10 @@ #include <stdlib.h> #include <unistd.h> +#if HAVE_CRYPT_H +#include <crypt.h> +#endif + #include <caml/alloc.h> #include <caml/memory.h> #include <caml/mlvalues.h> diff --git a/m4/guestfs-misc-libraries.m4 b/m4/guestfs-misc-libraries.m4 index 2f371873f..f05a56fb8 100644 --- a/m4/guestfs-misc-libraries.m4 +++ b/m4/guestfs-misc-li...
2018 Oct 03
0
Bug reports - auth is broken in Dovecot 2.3.3
...; I do not have downloaded the source from GitHub. >> > > The patch modifies configure.ac, so unless you run autogen.sh the > configure script isn't modified and that patch doesn't work. Or as an > alternative you could simply manually append to config.h: > > #define HAVE_CRYPT_H > > >> On Wed, Oct 3, 2018 at 1:53 PM Timo Sirainen <tss at iki.fi> wrote: >> >>> On 3 Oct 2018, at 13.22, Berindeie Avram-Teodor <berindeie.teo at gmail.com> >>> wrote: >>> > >>> > I applied the patch and recompiled but nothin...
2018 Oct 03
5
Bug reports - auth is broken in Dovecot 2.3.3
I applied the patch and recompiled but nothing resolved. What else can I do? -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20181003/17af6a17/attachment.html>
2008 Apr 20
3
[Bug 1460] New: openssh-4.9p1.tar.gz configure:15943: error: *** Can't find recent OpenSSL libcrypto
...1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define _FILE_OFFSET_BITS 64 | #define LOGIN_PROGRAM_FALLBACK "/bin/login" | #define _PATH_PASSWD_PROG "/usr/bin/passwd" | #define HAVE_ATTRIBUTE__NONNULL__ 1 | #define HAVE_CRYPT_H 1 | /* end confdefs.h. */ -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
2013 Jun 01
7
[Bug 2112] New: Android doesn't provide an implementation of crypt().
https://bugzilla.mindrot.org/show_bug.cgi?id=2112 Bug ID: 2112 Summary: Android doesn't provide an implementation of crypt(). Product: Portable OpenSSH Version: 6.2p1 Hardware: Other OS: Linux Status: NEW Severity: minor Priority: P5 Component: Build system Assignee:
2012 May 09
1
warning from configuring openssh-6.0p1
...efine HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define _FILE_OFFSET_BITS 64 | #define LOGIN_PROGRAM_FALLBACK "/bin/login" | #define _PATH_PASSWD_PROG "/usr/bin/passwd" | #define HAVE_RLIMIT_NPROC /**/ | #define HAVE_ATTRIBUTE__NONNULL__ 1 | #define HAVE_CRYPT_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_ENDIAN_H 1 | #define HAVE_FEATURES_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_GLOB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_PATHS_H 1 | #define HAVE_POLL_H 1 | #define HAVE_PTY_H 1 | #define HAVE_RPC_...
2003 Jul 03
0
AIX cleanups: includes and arguments
...8 -0000 1.54 +++ auth-passwd.c 2 Jul 2003 04:57:12 -0000 @@ -42,15 +42,13 @@ #include "log.h" #include "servconf.h" #include "auth.h" +#include "canohost.h" #if !defined(HAVE_OSF_SIA) /* Don't need any of these headers for the SIA cases */ # ifdef HAVE_CRYPT_H # include <crypt.h> # endif -# ifdef WITH_AIXAUTHENTICATE -# include <login.h> -# endif # ifdef __hpux # include <hpsecurity.h> # include <prot.h> @@ -150,7 +148,7 @@ } # endif # ifdef WITH_AIXAUTHENTICATE - authsuccess = (authenticate(pw->pw_name,password,&a...
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
...HAVE_SYS_TYPES_H HAVE_SYS_UIO_H HAVE_SYS_UNISTD_H HAVE_SYS_UN_H HAVE_SYS_VFS_H HAVE_SYS_WAIT_H HAVE_SYS_XATTR_H Headers: HAVE_ACL_LIBACL_H HAVE_AIO_H HAVE_ALLOCA_H HAVE_ARPA_INET_H HAVE_ASM_TYPES_H HAVE_ASM_UNISTD_H HAVE_ATTR_XATTR_H HAVE_COM_ERR_H HAVE_CRYPT_H HAVE_CTYPE_H HAVE_DIRENT_H HAVE_DLFCN_H HAVE_EXECINFO_H HAVE_FCNTL_H HAVE_FLOAT_H HAVE_FNMATCH_H HAVE_GETOPT_H HAVE_GLOB_H HAVE_GRP_H HAVE_GSSAPI_GSSAPI_GENERIC_H HAVE_GSSAPI_GSSAPI_H HAVE_GSSAPI_H HAVE_IFADDRS_H HAVE_KRB5_H HAVE_KRB5_LOCATE_PLUGIN_H...
2005 Aug 26
0
Patch for UnixWare 7
...* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include "includes.h" + +#ifdef UNIXWARE_LONG_PASSWORDS +#ifdef HAVE_CRYPT_H +#include <crypt.h> +#endif +#include "packet.h" +#include "buffer.h" +#include "log.h" +#include "servconf.h" +#include "auth.h" +#include "auth-options.h" + +int nischeck(char *); + +int +sys_auth_passwd(Authctxt *authctxt, const c...
2003 Feb 11
1
Problems configuring OpenSSH 3.5p1 on Sol 5.8
...efine PAM_TTY_KLUDGE 1 #define DISABLE_UTMP 1 #define DISABLE_WTMP 1 #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CRYPT_H 1 #define HAVE_FLOATINGPOINT_H 1 #define HAVE_GLOB_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_MAILLOCK_H 1 #define HAVE_NETDB_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_RPC_TYPES_H 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_SHADOW_H 1 #define HAVE_STDDEF_H 1 #d...
2009 Apr 08
3
libedit not found on SUse 11.1
Included below is a diff between the output from configure on a 64 bit SUse 11.1 (doesn't find libedit) and a 64 bit Suse 10.3 (does find libedit) for otherwise identical setups. 1. How can I get the output set up to look at conftest.c? 2. I added a set -x to configure above LIBEDIT_MSG=no 3. ./configure --with-ldflags="-L/usr/lib64" --with-cflags="-ggdb3
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...undef HAVE_ATTRIBUTE__SENTINEL__ */ /* #undef HAVE_B64_NTOP */ /* #undef HAVE_B64_PTON */ #define HAVE_BCOPY 1 /* #undef HAVE_BINDRESVPORT_SA */ /* #undef HAVE_BSM_AUDIT_H */ /* #undef HAVE_BSTRING_H */ #define HAVE_CLOCK 1 /* #undef HAVE_CLOSEFROM */ #define HAVE_CONST_GAI_STRERROR_PROTO 1 #define HAVE_CRYPT_H 1 /* #undef HAVE_DECL_AUTHENTICATE */ #define HAVE_DECL_H_ERRNO 1 /* #undef HAVE_DECL_LOGINFAILED */ /* #undef HAVE_DECL_LOGINRESTRICTIONS */ /* #undef HAVE_DECL_LOGINSUCCESS */ /* #undef HAVE_DECL_PASSWDEXPIRED */ /* #undef HAVE_DECL_SETAUTHDB */ #define HAVE_DECL__GETLONG 0 #define HAVE_DECL__GET...
2019 Oct 29
0
auth logging or auditing
..._ARPA_NAMESER_H ?? HAVE_ASM_TYPES_H ?? HAVE_ASM_UNISTD_H ?? HAVE_ASSERT_H ?? HAVE_ATTR_ATTRIBUTES_H ?? HAVE_ATTR_XATTR_H ?? HAVE_AVAHI_CLIENT_CLIENT_H ?? HAVE_AVAHI_COMMON_WATCH_H ?? HAVE_BSD_LIBUTIL_H ?? HAVE_BSD_MD5_H ?? HAVE_BSD_STRING_H ?? HAVE_BSD_UNISTD_H ?? HAVE_COM_ERR_H ?? HAVE_CONFIG_H ?? HAVE_CRYPT_H ?? HAVE_CTYPE_H ?? HAVE_CUPS_CUPS_H ?? HAVE_CUPS_LANGUAGE_H ?? HAVE_CURSES_H ?? HAVE_DBUS_DBUS_H ?? HAVE_DIRENT_H ?? HAVE_DLFCN_H ?? HAVE_ENDIAN_H ?? HAVE_ERRNO_H ?? HAVE_ERR_H ?? HAVE_EXECINFO_H ?? HAVE_FAM_H ?? HAVE_FCNTL_H ?? HAVE_FLOAT_H ?? HAVE_FNMATCH_H ?? HAVE_FORM_H ?? HAVE_FTW_H ?? HAVE_FU...
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(...)
2006 Apr 11
0
Problem building openssh-4.3p2 under cygwin and windows XP
...1 #define ENTROPY_TIMEOUT_MSEC 200 #define GETPGRP_VOID 1 #define GLOB_HAS_ALTDIRFUNC 1 #define HAVE_ADDR_IN_UTMP 1 #define HAVE_ADDR_IN_UTMPX 1 #define HAVE_ASPRINTF 1 #define HAVE_BASENAME 1 #define HAVE_BCOPY 1 #define HAVE_CLOCK 1 #define HAVE_CLOCK_T 1 #define HAVE_CONTROL_IN_MSGHDR 1 #define HAVE_CRYPT_H 1 #define HAVE_CYGWIN 1 #define HAVE_DAEMON 1 #define HAVE_DECL_H_ERRNO 1 #define HAVE_DECL__GETLONG 0 #define HAVE_DECL__GETSHORT 0 #define HAVE_DEV_PTMX 1 #define HAVE_DIRENT_H 1 #define HAVE_DIRFD 1 #define HAVE_DIRNAME 1 #define HAVE_ENDIAN_H 1 #define HAVE_ENDUTENT 1 #define HAVE_ENDUTXENT 1 #...