[Macpartners] OpenDirectory scripting?

Rick Davis roodavis at mac.com
Wed Jul 25 23:49:34 EDT 2007


On Jul 25, 2007, at 12:03 PM, Mark wrote:

>
> Message: 1
> Date: Wed, 25 Jul 2007 10:36:23 -0400
> From: Mark Pearrow <mpearrow at csail.mit.edu>
> Subject: [Macpartners] OpenDirectory scripting?
> To: macpartners at mit.edu
> Message-ID: <F2F90CC6-809F-4E13-B2C1-5C42AF51FDED at csail.mit.edu>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> Hi all,
>
> I'm using an OpenDirectory server to provide authentication for some
> of our lab macintoshes, using the process described in the following
> document:
>
> http://www.afp548.com/filemgmt_data/files/Customizing%20Open%
> 20Directory.pdf
>
> (Which works well, btw) However, Part of the process is that I need
> to set the dsAttrTypeStandard:AuthenticationAuthority attribute for
> each user's record to their CSAIL Kerberos principal, e.g.,
> mpearrow at CSAIL.MIT.EDU.
>
> Since I've imported a ton of user records already (Using Passport,
> since I couldn't quite get the Tiger import wizard to do what I
> needed). I figure there has to be a scriptical way to do this for all
> my existing users, but so far I have to edit each record by hand in
> the Workgroup Manager. Has anyone written scripts, Applescript or
> otherwise, for mass-munging OD records this way?
>
> mjp

Hi Mark,

John DeTroye has an Excel spreadsheet on his site http:// 
homepage.mac.com/johnd under Downloads T & T etc in the  
tools_and_stuff directory that may help you.  It's been a while since  
I did any importing, but if you use just the UID and the field(s) you  
want to add, then select append to existing record during the import  
into Workgroup Manager, you should be able to add the info you want.

If I get a chance I will test this theory on my home server and let  
you know more.

Hope this helps.

Rick Davis, ACHDS
thePRIMAXgroup
Cincinnati, OH
(513)910-9490
http://www.applehelp.org






More information about the Macpartners mailing list