Operating System - HP-UX
1833777 Members
1994 Online
110063 Solutions
New Discussion

Re: Searching for a library

 
Lucien Wolfs
Valued Contributor

Searching for a library

Hi,

Can anybody help me. I'm searching for a library called librsa.a or librsa32.a.
This library is needed to compile MS Services for UNIX 2.0 Password Synchonisation: the ssod daemon on UNIX.
MS says on missing lib: "Refer your OS verdor".

Almost desperate.....

Thanks.
7 REPLIES 7
Steffi Jones_1
Esteemed Contributor

Re: Searching for a library

Hello,

I have checked here at HP for the libraries.
They are not part of the OS. It would be interesting to see what they actually represent. Maybe they are known with different names.

I checked the MS webpage too for you and couldn't find a hint there either.

Please contact MS again and check what type of libraries they are and I'm more than happy to dig deeper here at HP,

Steffi Jones
Matt Livingston
Valued Contributor

Re: Searching for a library

I don't think I am actually answering your question, but you may find the following info useful, at least as a starting point.

I rather suspect that there are several crypto libraries that provide access to RSA encryption. Whether or not librsa itself is included, I cannot say. Be aware, however, that RSA is licensed technology, and a fee for use will possibly be required for the use of many implementations.

According to http://www.homeport.org/~adam/crypto/rsaref.phtml there are a few library implementations of RSA available outside the USA (being cryptographic s/w, RSA falls under the USA's quite limiting regulations, and as such would likely not be available in non-USA distributions of HP-UX)
Lucien Wolfs
Valued Contributor

Re: Searching for a library

The sources tries to resolve 2 subroutines inside the library called "des" and "tripledes".

This might help, I hope..

Thanks everyone
Steffi Jones_1
Esteemed Contributor

Re: Searching for a library

Hello again,

I guess I know more now about windows services for unix than I ever thought I would :-).

I still don't see how HP-UX could be the point of failure here.

Let me ask you a few questions:

1) did you get the product installed on the win box with no problem?
2) where do you see the problem (pc or unix box)?
3) in which routine does it cause problems?
4) do you have an error message?

I can't find anything known here, but maybe we can narrow it down a bit further,

Steffi Jones
Lucien Wolfs
Valued Contributor

Re: Searching for a library

Short description of MS Services for UNIX/Password sync:

When a user modifies his/her password on the Windows NT domain, the product picks up the new password and issues a newwork-call on a certain port.
The UNIX daemon accepts the request, if keys do match, and modifies the password is the username matches exactly.
MS adds the source of the UNIX daemon with its product, as well as three or four binairies for several platforms.
Becasue usernames on NT can be longer than 8 characters, synchronization failes. Therefor I need to modify the source a little bit, so the first 8 characters of the NT username match the UNIX username.
When I tried to compile the sources 'out of the box', the compilation failed: a small ms-mistake. After fixing, the compilation part failed again, due to the missing librsa32.a library.
Note: not one note in the documentation was spent on compiling notes (which compiler, which additional libraries??)

Here's the compilation output

SYSTEMX:/opt/lucien/SFU2/src/ssod #/opt/make/bin/gmake -f makessod.h10
gcc -Lobj/i386 -Xlinker -s -o bin/ssod.h10 obj/i386/ssod.o obj/i386/sso_pakt.o obj/i386/password.o obj/i386/dimonfnc.o obj/i386/cr
ypto.o obj/i386/sha1.o obj/i386/rotlr.o -L/usr/lib -lM -L/usr/lib -lstdc++ -L/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2 -lg
cc -L/usr/local/lib -lrsa
/usr/ccs/bin/ld: Unsatisfied symbols:
tripledes (code)
tripledes3key (code)
collect2: ld returned 1 exit status
gmake: *** [bin/ssod.h10] Error 1
SYSTEMX:/opt/lucien/SFU2/src/ssod #


Thanks everybody for your effort !
Rainer_1
Honored Contributor

Re: Searching for a library

check this site (libmcrypt includes DES and TRIPLEDES)

http://mcrypt.hellug.gr/
Lucien Wolfs
Valued Contributor

Re: Searching for a library

I downloaded the library, compiled it, and
modified the makefile a little bit to point at the new library.
This is what I got:

gcc -Dhp800_ux10 -I /usr/include -c -o obj/i386/crypto.o crypto.cpp
gcc -Dhp800_ux10 -I /usr/include -c -o obj/i386/sha1.o sha1.c
gcc -Dhp800_ux10 -I /usr/include -c -o obj/i386/rotlr.o rotlr.c
gcc -Lobj/i386 -Xlinker -s -o bin/ssod.h10 obj/i386/ssod.o obj/i386/sso_pakt.o obj/i386/password.o obj/i386/dimonfnc.o obj/i386/cr
ypto.o obj/i386/sha1.o obj/i386/rotlr.o -L/usr/lib -lM -L/usr/lib -lstdc++ -L/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2 -lg
cc -L/usr/local/lib -lmcrypt
/usr/ccs/bin/ld: Unsatisfied symbols:
tripledes (code)
tripledes3key (code)
collect2: ld returned 1 exit status
gmake: *** [bin/ssod.h10] Error 1

Am I doing something wrong or .....