Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dsimport file format and group membership



On 6/12/07 15:45, Simon Slavin wrote:

So I was trying to work out the dsimport file format. Couldn't find it in any of the manuals so I ran dsexport and look at that. I'm puzzled.

I exported three users and two groups and I could pick out the parts of the file which corresponded to my three users. But before those parts of the file I found a couple of things:

1) 0x0A 0x5C 0x3A 0x2C
2) a description of the setup of the Open Directory server I exported from.


Can I just miss those things out of files I import ?


If I correctly understood your question, I would say: no.
But you would need to adapt those parts, depending on the info you want to import.


The man page for dsimport(1) as well as the "Mac OS X Server User Management" guide provide informations about the format o be used for the import file.

Second question:

I can see how to use importing to create a new group, complete with members. Can I set up a group manually, then import members to it from a text file without changing the group's properties ?


I never tried, but this could be a raison d'ĂȘtre for the "M" flag of dsimport.


HTH, Axel _______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >dsimport file format and group membership (From: Simon Slavin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.