AuthorizationRightSet status -2147418108
AuthorizationRightSet status -2147418108
- Subject: AuthorizationRightSet status -2147418108
- From: "Christopher Vitale" <email@hidden>
- Date: Thu, 22 Sep 2005 16:23:09 -0400
- Thread-topic: AuthorizationRightSet status -2147418108
Title: AuthorizationRightSet status -2147418108
I've written an nke and a couple of daemons for Panther. I've also made a system pref gui that can stop and start the lot. I'm trying to add an auth rule to only allow admins to stop these services. I keep getting a weird status.
I still get the weird status when I copied the AuthorizationRightSet example out of the Authorization Ref doc.
err = AuthorizationRightSet(NULL, "com.ifoo.ifax.send",
CFSTR(kAuthorizationRuleIsAdmin),
CFSTR("Authorize sending of a fax"),
NULL, // Bundle
NULL ); // localization stuff
I get a status of -2147418108 when running as admin and root.
AuthorizationRightGet("com.ifoo.ifax.send", NULL) returns -60005, which is not found.
I found this conversation from 2001 where someone else was getting this same error code. I've already tried flushing my old keychains.
http://www.wodeveloper.com/omniLists/macosx-dev/2001/August/msg00530.html
Any ideas?
vitale
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden