SCO UNIX V/386 Authentication database

Scott Eberline scotte at locus.com
Thu Aug 9 06:49:27 AEST 1990


In article <2291 at kiwi.mpr.ca> parker at zaphod.mpr.ca (Ross Parker) writes:
>The problem: Every time I try to run even the simplest piece of code
>that requires this library, I get the following message:
>
>     Authentication database use not initialized first

Try the following:

	main(argc, argv)
		int argc;
		char **argv;
	{
		struct pr_passwd  *pr;

		set_auth_parameters(argc, argv);
		pr = getprpwnam("parker");
	}

set_auth_parameters() must be called before any of the other routines in
identity.o in libprot.a, because they all check for it having been called.

-- 
Scott D. Eberline		scotte at locus.com  or  uunet!lcc!scotte



More information about the Comp.unix.i386 mailing list