| Summary: | sshd configured with SIA doesn't link on Tru64. | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Georg Wittig <Georg.Wittig> | ||||||||||
| Component: | Build system | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> | ||||||||||
| Status: | CLOSED FIXED | ||||||||||||
| Severity: | normal | CC: | mcaskill.scott, Nikola.Milutinovic | ||||||||||
| Priority: | P2 | ||||||||||||
| Version: | 3.8p1 | ||||||||||||
| Hardware: | Alpha | ||||||||||||
| OS: | OSF/1 | ||||||||||||
| Bug Depends on: | |||||||||||||
| Bug Blocks: | 821 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Georg Wittig
2004-02-27 05:54:42 AEDT
both of these fuctions are in openbsd-compat/xcrypt.c It is wrapped around a !HAVE_OSF_SIA Some research would have to be done to find if this is still required anymore. If you remove the "#if !defined(HAVE_OSF_SIA)" near the top of the xcrypt.c file and the "endif /* !defined(HAVE_OSF_SIA) */" Does the problem also go away? And do you still have a working sshd? - Ben I commented out the "#if !defined(HAVE_OSF_SIA)" in openbsd-compat/xcrypt.c. Then I reran configure (without the --with-cflags option) and make. sshd links fine and it works o.k. Now we have 2 possible solutions (or work-arounds?). Created attachment 554 [details]
More correct SIA fix.
After Looking at the coding cleanup I realized that we were a too harsh. If
SIA is detected the rest of the code after it is garbage that is never called.
Created attachment 555 [details]
Move osf auth to auth-sia.c
I'd rather see the OSF SIA specific bits banished entirely to auth-sia.c, like
so.
Darren's is better. Assuming we never trigger KRB5/SHADOW stuff with SIA enabled. Maybe as a separate patch we may want to consider ensuring they are never set together. Created attachment 556 [details]
Move sys_auth_password for OSF SIA to auth-sia.c
Attempt 2. Undef's USE_SHADOW if OSF SIA is enabled. I left KRB5 alone since
it must me enabled manually at configure time.
ALso, I think removing the "#if !defined(HAVE_OSF_SIA)" from xcrypt.c is safe,
because it only ends up in libopenbsd-compat.a, and if it's not used by sshd it
won't get linked in anyway.
Comment on attachment 556 [details]
Move sys_auth_password for OSF SIA to auth-sia.c
Looks OK, for both trunk and V_3_8 branch
Created attachment 558 [details]
Move sys_auth_passwd for OSF SIA to auth-sia.c
Correction: sys_auth_password -> sys_auth_passwd
With the attachment 558 [details] the sshd of openssh-3.8p1 now compiles, links, and works
fine for me on Tru64.
Thanks to all who helped.
Patch applied, thanks for the report. *** Bug 807 has been marked as a duplicate of this bug. *** *** Bug 814 has been marked as a duplicate of this bug. *** This will be in 3.8.1p1 too. Closed with release of portable OpenSSH 3.8.1p1 |