Presentation is loading. Please wait.

Presentation is loading. Please wait.

Claudio Bisegni Workshop AFS 09, Roma AFS Preference the OpenAFS preference panel for OSX.

Similar presentations


Presentation on theme: "Claudio Bisegni Workshop AFS 09, Roma AFS Preference the OpenAFS preference panel for OSX."— Presentation transcript:

1 Claudio Bisegni Workshop AFS 09, Roma AFS Preference the OpenAFS preference panel for OSX

2 AFS Preference Pane News From the version 1.5.61 is officially integrated in the distribution package. Tree Software component, Preference Pane, AFSBackgrounder, afshlp(Helper Tool) AFSBackgrounder is new developed agent started at login time with launchd technology. The agent manage the NSStatusItem(menu bar icon) and the “token at login option”, it can be used for other work in the future OpenAFS Preference Claudio Bisegni AFS Workshop ’09

3 AFS Preference Pane main view OpenAFS Preference Claudio Bisegni AFS Workshop ’09 base OpenAFS client operation. Tokens list AKLog use K5 ticket at login AFSCommander activation plistData = [NSData dataWithContentsOfFile:AUTH_FILE]; plist = [NSPropertyListSerialization propertyListFromData:plistData mutabilityOption:NSPropertyListMutableContainersAndLeaves format:&format errorDescription:&error]; NSMutableDictionary *rightsDic = [plist objectForKey:@"rights"]; NSMutableDictionary *loginConsoleDic = [rightsDic objectForKey:@"system.login.console"]; NSMutableArray *mechanismsArray = [loginConsoleDic objectForKey:@"mechanisms"]; in mechanismsArray is deleted "builtin:authenticate,privileged" and added "builtin:krb5authnoverify,privileged" Code for K5 at Login

4 AFS Preference Pane main view OpenAFS Preference Claudio Bisegni AFS Workshop ’09 Launchd code for AFSBackgrounder http://www.apple.com/DTDs/PropertyList- 1.0.dtd KeepAlive SuccessfulExit Label it.infn.lnf.network.AFSBackgrounder LimitLoadToSessionType Aqua Program /Library/PreferencePanes/OpenAFS.prefPane/Contents/Resources/AFSBackgrounder.app/ Contents/MacOS/AFSBackgrounder RunAtLoad

5 AFS Preference Pane main view OpenAFS Preference Claudio Bisegni AFS Workshop ’09 Launchd code for AFSBackgrounder KeepAlive SuccessfulExit if AFSBackgrounder will crash it will be restarted, if quit well...no problem LimitLoadToSessionType Aqua AFSBackgrounder is start at user login Program /Library/PreferencePanes/OpenAFS.prefPane/Contents/Resources/ AFSBackgrounder.app/Contents/MacOS/AFSBackgrounder RunAtLoad AFSBackgrounder is contained into AFSPreferencePane macbisegni:~ bisegni$ launchctl unload -S Aqua ~/Library/LaunchAgents/it.infn.lnf.network.AFSBackgrounder.plist macbisegni:~ bisegni$ launchctl load -S Aqua ~/Library/LaunchAgents/it.infn.lnf.network.AFSBackgrounder.plist

6 AFS Preference Pane CellServDB editor OpenAFS Preference Claudio Bisegni AFS Workshop ’09 CellServDB Editor IP Editor for single cell Selection for default cell and other cell for which we want get the token

7 AFS Preference Pane parameter view OpenAFS Preference Claudio Bisegni AFS Workshop ’09 Cache parameter view

8 AFS Preference Pane Parameter View OpenAFS Preference Claudio Bisegni AFS Workshop ’09 Mount view Can be set the name of the link and the path AFS Backgrounder will use cocoa Mount/Unmount notification for create and delete on desktop the link, configured in this view. Mount view Can be set the name of the link and the path AFS Backgrounder will use cocoa Mount/Unmount notification for create and delete on desktop the link, configured in this view. Developing....

9 AFS Preference Pane development Desktop Link implementation Manage user and group in preference pane Desktop Link implementation Manage user and group in preference pane OpenAFS Preference Claudio Bisegni AFS Workshop ’09

10 AFS Preference Pane any help for developing is appreciated :-) Questions? OpenAFS Preference Claudio Bisegni AFS Workshop ’09


Download ppt "Claudio Bisegni Workshop AFS 09, Roma AFS Preference the OpenAFS preference panel for OSX."

Similar presentations


Ads by Google