Bug 736 - Crypt.h is not included when building on Solaris
Summary: Crypt.h is not included when building on Solaris
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Config Files (show other bugs)
Version: 3.0.0
Hardware: All Solaris
: P3 normal
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-07 11:54 UTC by Eric Boehm
Modified: 2005-11-14 09:31 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Boehm 2003-11-07 11:54:57 UTC
I previously reported this bug in 2.2.x and it was fixed.

It appears to be back. When building a 64-bit Samba on Solaris 8, crypt() gets
the wrong prototype because crypt.h is not included.As a result, swat dies with
a signal 11.

The current workaround is to define -D__EXTENSIONS__.

The real solution is to include crypt.h
Comment 1 Gerald (Jerry) Carter (dead mail address) 2004-03-04 09:29:24 UTC
wherre is Samba getting the protoype from ?
and is HAVE_CRYPT defined in include/config.h ?
Comment 2 Gerald (Jerry) Carter (dead mail address) 2004-04-19 07:31:15 UTC
no response.  closing.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-11-14 09:31:14 UTC
database cleanup