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 Dec 6, 2007, at 11:16 AM, Axel Luttgens wrote:

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.

Yeah that can be confusing. I did about 20 slides last year at MacWorld just on the header.


If you leave the header out you can import with WGM and will get a field matching dialog similar to filemaker.



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.

Yeah. If you want to do this in one shot you can use the regular ldap tools.


All of this is covered in the Bartosh server book as well.

Josh


-- Josh Wisenbaker, ACSA http://www.afp548.com Breaking my server to save yours.

_______________________________________________
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>)
 >Re: dsimport file format and group membership (From: Axel Luttgens <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.