A new authentic method in dpcl.config:
security:
method = keyfuncs
Both client and SD need to agree on the same security
method. If not, program exit with
ASC_security_model_mismatch.
Both client and SD check if /usr/lib/spkeyfuncs.o (or
/usr/lib/spkeyfuncs.o64 for 64 bits) exist. If not
program exit with ASC_library_load_failed.
/usr/lib/spkeyfuncs.o is a system adm. supplied object.
It contains two functions:
int spgetkey(char ** buff, int * length);
int spchkkey(char * buff, uid_t uid, int length);
client calls spgetkey() to get a malloc'd buff, pass this
buff to the SD. SD uses spchkkey() to verify the client's
ID. Program exit with ASC_authorization_failed if failed
Note, the client needs to free() this malloc'd buff
after use.
See lib/include/spkeyFunc.h for further information.
Nobody/Anonymous
None
None
Public
|
Date: 2006-04-06 07:30:33 PDT Logged In: YES |