Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: backup and restore user data #374085
    gsprague
    Participant

    machome thank you very much!

    This is exactly what I am looking for! However, I am a little hesitant to include the password in the script. I guess I could pass a hash password instead.

    Thanks again!

    in reply to: Binding to OD after imaging #374078
    gsprague
    Participant

    I can’t actually use the script I posted because I’d have to imbed the admin password for sudo to work. How exactly are you doing the loginhook? Are you using LoginWindow Manager? What is the script?

    Any help would be greatly appreciated! 😀

    in reply to: Binding to OD after imaging #374052
    gsprague
    Participant

    How exactly do you run a launchd script only once, is this possible and then wouldn’t you want to remove it after binding? I guess you could create a script that checks to see if you are bound and if you are not it will auto bind on startup…like so…

    [code]
    CHECKLDAPV3=`dscacheutil -configuration | grep -q “/LDAPv3″`
    if [ $? == 1 ]
    then
    NEWODSERVER=yourODserverDNSorIPgoesHere;
    sudo dsconfigldap -a $NEWODSERVER;
    sudo dscl localhost -create /Search SearchPolicy dsAttrTypeStandard:CSPSearchPath;
    sudo dscl localhost -merge /Search CSPSearchPath /LDAPv3/$NEWODSERVER;
    else
    exit 0;
    fi
    [/code]

    You could either put this in a launchd daemon or have a launchd daemon call the script from where ever you want to store it.

    Regards!

    in reply to: Binding to OD after imaging #374047
    gsprague
    Participant

    What files specifically?

    com.apple.DirectoryUtility.plist?
    edu.mit.Kerberos?

    any other files?

    Thanks!

    in reply to: backup and restore user data #374046
    gsprague
    Participant

    On another note, since I am going to be binding the machine to my OD server. I can just have the users login with a generic password creating a mobile account that will point to their restored folder. I have already created a shell script to run after rebooting to bind the machine and move all local accounts to mobile. But I need to figure out how to bind to the OD as a post script during the imaging process rather than logging in as an admin and running my shell script.

    in reply to: backup and restore user data #374023
    gsprague
    Participant

    Wow…that is a good idea, but I think creating 200 packages would get a little confusing and then I would only be able to NetInstall Restore one machine at a time unless I am missing something. I guess if I scripted the Hardware Address with it then that would work. I’m basically going to be doing a clean Leopard deployment to 200+ desktop machines. So I need to backup and restore all user data. The Bombich backup and restore scripts work if I create a PPC and an Intel machine build created with Disk Utility. However, they do not work with an instaDMG image created from a Leopard shrink wrapped DVD.

    Thank you very much!

    in reply to: backup and restore user data #373995
    gsprague
    Participant

    That wouldn’t work because I’m gearing up for a 200+ machine deployment and I would have to change the script for each user account. Maybe I just won’t do the restore script and I’ll have to recreate the accounts manually and manually restore the user’s files.

    I’m essentially having the infamous Leopard login issue which is all over the Apple forums, where if you do an upgrade you then cannot login to the accounts then you need to login as root and recreate the accounts. But I am doing a clean install with Bombich’s backup and restore scripts and having the same problem.

    Is no one backing up and restoring user data in turn with an instaDMG image?

    Thanks!

    in reply to: CS3 Repacker In Progress #373982
    gsprague
    Participant

    Try this link, it is working well for me with one exception, I am using iceBerg rather than PackageMaker:
    http://blog.irisink.com/?p=106

Viewing 8 posts - 1 through 8 (of 8 total)