Home Forums OS X Server and Client Discussion Open Directory Using PADL scripts to migrate NIS users to OD…?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #363391
    zamoose
    Participant

    Anyone have any tips on how to use the PADL (www.padl.com) Perl scripts to migrate NIS users over to OpenDirectory? I used their stock scripts and used ldapadd to try to bootstrap the OD accounts, but none of the imported accounts are showing up in Workgroup Manager.

    Methinks it’s because OD uses a different users schema than OpenLDAP by default.

    Anyone have any tips, preferably links to detailed step-by-step instructions on how to do exactly what I’m looking for?

    *grin*

    #363409
    zamoose
    Participant

    Okay, I’ve coaxed the PADL scripts to export from our NIS domain and, using ldapadd, I am able to add all my users, but they STILL won’t show up in WGM. Here’s an example (names changed to protect the innocent):

    ====================================
    dn: uid=username,cn=users,dc=xserver,dc=…
    uid: username
    cn: first last
    givenName: first
    sn: last
    mail: username@domainname
    mailRoutingAddress: [email protected]
    mailHost: mail.domainname
    objectClass: inetLocalMailRecipient
    objectClass: person
    objectClass: organizationalPerson
    objectClass: inetOrgPerson
    objectClass: apple-user
    objectClass: extensibleObject
    objectClass: posixAccount
    objectClass: top
    userPassword: {crypt}[cryptpw]
    loginShell: /bin/tcsh
    uidNumber: 1074
    gidNumber: 1074
    homeDirectory: /home/[username]
    gecos: first last
    ====================================

    So what am I doing wrong? Why aren’t the records showing up in WGM?

    #363418
    zamoose
    Participant

    Looks like I was missing shadowAccount. What does that objectClass add?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Comments are closed