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: move netinfo users to ldap (mac os x 10.3.9)



Michael Bartosh wrote:

On Apr 25, 2005, at 2:30 PM, Brad Van Orden wrote:

Does anyone know of a way to move users from a local netinfo database
into the LDAP database preserving their data (especially passwords)?
I was told by tech support to use workgroup manager to dump the
netinfo database and then import them into ldap but that I would lose
the user password information.  Any ideas would be greatly  appreciated.

I usually script an nidump into an ldif.

Might also try turning on the ldap server to share out the local nidb (see the default slapd.conf before you create the master) and grab an ldif of that using ldapsearch.

I've been meaning to test.

Either way, the users are already password server users (unless the accts were upgraded from 10.1 or in some cases 10.2) so all that's really necessary is to preserver their auth authorities.

-mab

Thanks for the reply. I'm in the process of writing a script to move users from netinfo to ldap. The question I have now is: once I have a person's for instance, group moved, does anyone know a command line method to remove the group from the netinfo database?



Thanks! Brad _______________________________________________ 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: 
 >move netinfo users to ldap (mac os x 10.3.9) (From: Brad Van Orden <email@hidden>)
 >Re: move netinfo users to ldap (mac os x 10.3.9) (From: Michael Bartosh <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.