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.