Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Server Admin Modules

Server Admin Modules
Thread Tools
Mac Enthusiast
Join Date: Sep 2000
Location: Louisiana
Status: Offline
Reply With Quote
Aug 31, 2004, 09:49 PM
 
Is there any documentation, official or unofficial, about writing a module for the Server Admin app?
B&W G3/300 OS X 10.3 Server
AL G4/1.5 OS X 10.3
Next computer G5/3.X Ghz OS X 10.x.x
     
Mac Enthusiast
Join Date: Sep 2000
Location: Louisiana
Status: Offline
Reply With Quote
Sep 6, 2004, 09:42 PM
 
Ok, I know there is a plugin api for the Server Admin application, but I haven't been able to locate anything on Apple's site.

I guess no else has had a need to write a Server Admin plugin.
B&W G3/300 OS X 10.3 Server
AL G4/1.5 OS X 10.3
Next computer G5/3.X Ghz OS X 10.x.x
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Sep 7, 2004, 10:11 AM
 
Contact DTS. If you're a commercial application, they may be able to license the API to you, or something. Otherwise, class-dump is your friend
     
Mac Enthusiast
Join Date: Sep 2000
Location: Louisiana
Status: Offline
Reply With Quote
Sep 9, 2004, 12:09 PM
 
Well as of right now, I'm just looking to write a plugin into the server admin app to do basically what a shareware program does as a standalone app. Guess class dump will be my friend.

Juice
B&W G3/300 OS X 10.3 Server
AL G4/1.5 OS X 10.3
Next computer G5/3.X Ghz OS X 10.x.x
     
Mac Enthusiast
Join Date: Sep 2000
Location: Louisiana
Status: Offline
Reply With Quote
Sep 9, 2004, 01:02 PM
 
Well, it looks like Server Admin is actually not a cocoa application. Running class-dump produced no output. Running otool -ov produced

/System/Library/PrivateFrameworks/ServerControl.framework/Versions/A/ServerControl:
Objective-C segment
can't print objective-C information no (__OBJC,__module_info) section

BTW, found a ServerControl.framework that did give me a ServerAdmin.h header but with no file info. Anyway to do a class dump on carbon applications??
B&W G3/300 OS X 10.3 Server
AL G4/1.5 OS X 10.3
Next computer G5/3.X Ghz OS X 10.x.x
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Sep 10, 2004, 07:46 AM
 
From a cursory look, it would seem that the PlugIn bundles' main classes are subclasses of ServerController, which is a class that is built-in to the Server Admin executable. You can run class-dump on the executable to get the interface, and then you can use the -bundle_loader link flag to specify that executable to resolve the symbols against.

Standard warnings about fragile private APIs apply. Don't do this unless you have to and don't care about the fact that this could break horrendously in the next release.
     
Mac Enthusiast
Join Date: Sep 2000
Location: Louisiana
Status: Offline
Reply With Quote
Sep 10, 2004, 04:21 PM
 
Grrr, figured out my error. Damn .app at the end of the name. Now let''s see if I can get someplace now.
B&W G3/300 OS X 10.3 Server
AL G4/1.5 OS X 10.3
Next computer G5/3.X Ghz OS X 10.x.x
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:12 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2