Forum Replies Created

Viewing 15 posts - 16 through 30 (of 46 total)
  • Author
    Posts
  • in reply to: Creating a Location #375787
    AllanMarcus
    Participant

    [QUOTE][u]Quote by: paulaust[/u][p]I have been searching for this very thing for the last several months and found a tool just this week that has promise. Check out ncutil. http://turin.nss.udel.edu/ncutil/ It was created by Dr Jeffrey Frey of the University of Delaware. I was able to use this in a script along with scselect and network setup to create two new network locations, configure the proxy settings for one, switch to the preferred location and destroy the Automatic location. I haven’t yet included the script in a package to add to my image, but should have that knocked out shortly.
    [/p][/QUOTE]

    ncutil has been around for a while. What worries me about it is that it has not been updated in over a year. I don’t know what will happen to it when Snow Leopard comes out.

    I looked at the python script and it basically just copies the automatic location and names the copy what you would like. You then can use existing tools to make this new location the active location and modify it. The downside is that you will interrupt existing network which you make the changes. I don’t know if that can be done in a payloadless post action script.

    Apple really needs to have an API to create a location and configure it.

    -Allan

    in reply to: Can InstaDMG repairPermissions on the image? #375786
    AllanMarcus
    Participant

    Thanks for the idea. As it turns out, even repairing permission on the image once restored to a computer seems to report issues. After repairing permission I ran a verify permissions and I see what is below. Looks like a lof of symlinks where files should be. Any idea on how to resolve these or why they are there?

    Verify permissions for “InstaDMG”
    Reading permissions database.
    Reading the permissions database can take several minutes.

    Permissions differ on “System/Library/CoreServices/Front Row.app/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/CoreServices/Front Row.app/Contents/PlugIns/DVD.frappliance/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/CoreServices/Front Row.app/Contents/PlugIns/FRSettings.frappliance/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/CoreServices/Front Row.app/Contents/PlugIns/FRSources.frappliance/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/CoreServices/Front Row.app/Contents/PlugIns/Movies.frappliance/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/CoreServices/Front Row.app/Contents/PlugIns/Music.frappliance/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/CoreServices/Front Row.app/Contents/PlugIns/Photos.frappliance/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/CoreServices/Front Row.app/Contents/PlugIns/Podcasts.frappliance/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/CoreServices/Front Row.app/Contents/PlugIns/TV.frappliance/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/PrivateFrameworks/BackRow.framework/Versions/A/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/CoreServices/RawCamera.bundle/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “Applications/iTunes.app/Contents/CodeResources”, should be -rw-rw-r– , they are lrw-rw-r– .
    Permissions differ on “Applications/iTunes.app/Contents/Frameworks/InternetUtilities.bundle/Contents/CodeResources”, should be -rw-rw-r– , they are lrw-rw-r– .
    Permissions differ on “Applications/iTunes.app/Contents/Resources/iTunesHelper.app/Contents/CodeResources”, should be -rw-rw-r– , they are lrw-rw-r– .
    Permissions differ on “System/Library/PrivateFrameworks/iLifeMediaBrowser.framework/Versions/A/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/Plugins/BlackAndWhiteEffect.IAPlugin/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/Plugins/CubeTransition.IAPlugin/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/Plugins/DissolveTransition.IAPlugin/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/Plugins/DropletTransition.IAPlugin/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/Plugins/FadeThroughBlackTransition.IAPlugin/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/Plugins/FlipTransition.IAPlugin/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/Plugins/MosaicFlipTransition.IAPlugin/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/Plugins/MosaicFlipTransitionSmall.IAPlugin/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/Plugins/PageFlipTransition.IAPlugin/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/Plugins/PushTransition.IAPlugin/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/Plugins/RevealTransition.IAPlugin/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/Plugins/SepiaEffect.IAPlugin/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/Plugins/TwirlTransition.IAPlugin/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    Permissions differ on “System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/Plugins/WipeTransition.IAPlugin/Contents/CodeResources”, should be -rw-r–r– , they are lrw-r–r– .
    ACL found but not expected on “Applications”.

    Permissions verification complete

    in reply to: MS Office and InstaDMG, anyone working? #375785
    AllanMarcus
    Participant

    I think I may have found out what is going on. The last 6 items in my catalog are MS Office, then the 5 updates. I have an installerchoices xml file for ms office. It appears in instadmg.bash (line 670) that the CHOICES_FILE variable is not cleared for each loop. I think the CHOICES_FILE variable needs to be cleared before the first if statement, or an else CHOICES_FILE=” need to be added in the first if statement.

    I may be way off here, and if I am, I apologize. The code changes below do seem to solve the issue I am having.

    I think I may have found out what is going on. The last 6 items in my catalog are MS Office, then the 5 updates. I have an installerchoices xml fil for ms office. It appears in instadmg.bash (line 670) that the CHOICES_FILE variable is not cleared for each loop. I think the CHOICES_FILE variable needs to be cleared before the first if statement, or and else CHOICES_FILE=” need to be added in the first if statement.

    I may be way off here, and if I am, I apologize.

    [code] for UPDATE_PKG in $(/usr/bin/find -L “$TARGET” -maxdepth 1 -iname ‘*pkg’ | /usr/bin/awk ‘tolower() ~ /\.(m)?pkg/ && !/\/\._/’); do
    if [ -e “$TARGET/InstallerChoices.xml” ]; then
    CHOICES_FILE=”InstallerChoices.xml”
    # TODO: better handle multiple pkg’s and InstallerChoice files named for the file they should handle
    I added—> else
    I added—> CHOICES_FILE=””
    fi

    if [ $OS_REV_MAJOR -le 4 ]; then
    CHOICES_FILE=”” # 10.4 can not use them
    fi

    TARGET_FILE_NAME=`/usr/bin/basename “$UPDATE_PKG”`
    INSTALLER_NUMBER_TEXT=””
    if [ “$ORIGINAL_TARGET” == “$TARGET” ]; then
    CONTAINER_PATH=”$TARGET”
    else
    # probably a dmg installer
    CONTAINER_PATH=`/usr/bin/readlink “$ORIGINAL_TARGET”`
    INSTALLER_NUMBER_TEXT=`/usr/bin/basename “$ORIGINAL_TARGET”`
    INSTALLER_NUMBER_TEXT=” ($INSTALLER_NUMBER_TEXT)”
    fi

    if [ “$CHOICES_FILE” != “” ]; then
    log “Installing $TARGET_FILE_NAME from ${CONTAINER_PATH}${INSTALLER_NUMBER_TEXT} with XML Choices file: $CHOICES_FILE” information
    /usr/sbin/installer -verbose -applyChoiceChangesXML “$TARGET/$CHOICES_FILE” -pkg “$UPDATE_PKG” -target “$CURRENT_IMAGE_MOUNT” | (while read INPUT; do log “$INPUT ” detail; done)
    else
    log “Installing $TARGET_FILE_NAME from ${CONTAINER_PATH}${INSTALLER_NUMBER_TEXT}” information
    /usr/sbin/installer -verbose -pkg “$UPDATE_PKG” -target “$CURRENT_IMAGE_MOUNT” | (while read INPUT; do log “$INPUT ” detail; done)
    fi
    done
    [/code]

    in reply to: MS Office and InstaDMG, anyone working? #375781
    AllanMarcus
    Participant

    thanks for the tip. I just ran the update through the patcher, then built a new image. I still get:

    Installing Office 2008 SP1 Update (12.1.0).mpkg from ./InstallerFiles/CustomPKG/25 with XML Choices file: InstallerChoices.xml
    Installing Office 2008 12.1.1 Update.mpkg from ./InstallerFiles/CustomPKG/26 with XML Choices file: InstallerChoices.xml
    Installing Office 2008 12.1.2 Update.mpkg from ./InstallerFiles/CustomPKG/27 with XML Choices file: InstallerChoices.xml
    Installing Office 2008 12.1.3 Update.mpkg from ./InstallerFiles/CustomPKG/28 with XML Choices file: InstallerChoices.xml
    Installing Office 2008 12.1.4 Update.mpkg from ./InstallerFiles/CustomPKG/29 with XML Choices file: InstallerChoices.xml
    Installing Office 2008 12.1.5 Update.mpkg from ./InstallerFiles/CustomPKG/30 with XML Choices file: InstallerChoices.xml

    and the updates are not applied 🙁

    Any idea why “with XML Choices file: InstallerChoices.xml” is there? There are no InstallerChoices.xml associated with the updates.

    Thanks,

    Allan

    in reply to: instaUp2Date.py question #375764
    AllanMarcus
    Participant

    Sounds good to me. I’ve been using the whole InstDMG product suite now for a couple of days and I’m very impressed. the checksum.py script [i]does[/i] come in [i]very[/i] handy.

    Thanks,

    Allan

    in reply to: Spaces in Volumename? (MacHD) (Macintosh HD) #375724
    AllanMarcus
    Participant

    [QUOTE][u]Quote by: larkost[/u][p]I don’t know what version you are using, but there are the -m and -n flags that can set the dmg and volume names respectively. If you surround the input with quotes or escape the spaces they should work just fine with that. These have been in there for a while.[/p][/QUOTE]

    Any change of add the -m to the InstaDMB pdf file? Also, the -n option is jsut document as “name”. There is no way for the user that it’s for volume name; it could jsut as easily have been for dmg name.

    Thanks,

    Allan

    in reply to: What extra packages for base 10.5.6 to add? #375717
    AllanMarcus
    Participant

    ok, this is great!

    I had more question, but I figured it out.

    Thanks,

    Allan

    in reply to: What extra packages for base 10.5.6 to add? #375708
    AllanMarcus
    Participant

    Awesome! Does InstaDMG cache these updates as well, or is it really better to download them locally?

    AllanMarcus
    Participant

    I don’t think you can with Tiger, but you will be able to (I think) with Leopard. If you have ARD, you can push the file out that way, of you can just push it our with scp.

    in reply to: anyone have pam_krb5.so working with tiger? #368856
    AllanMarcus
    Participant

    never mind, I figured it out. I flubbed up my sudoers file.

    in reply to: Automounts via OD? #364067
    AllanMarcus
    Participant

    You know what I hate about unix people, they all assume everyone knows as much as they do! 🙂

    OK, I looked at NFS manager. Nice tool to mount or share NFS mounts. What I don’t see is how I can integrate that with OD so I can, for example, set an auto-mount for all my network users to automatically mount /usr/fink via NFS.

    How do I “save it back to the directory”? In this case, the “directory” needs to be OD.

    Thanks,

    Allan

    in reply to: OD managed user, local home? #364066
    AllanMarcus
    Participant

    OK, let me see if I understand. All I have to do is add a user in WGM and now that user can log on from any configured client and that user will have a local home directory on the machine she used to logon with?

    What should I see in the Home tab of the suer record, just “None”?

    in reply to: ZERO luck with AD on Tiger – HELP! #362493
    AllanMarcus
    Participant

    I’m seeing the same problem. I did a fresh install of Tiger and updated it with software update to 10.4.2. I entered the smb mount point info into AD and I checked that my user can mount the share with his name and pw. If I set the Mac to force a local home directory, the share is mounted and there is a local home dir for the user. If I turn off that check box so we can have remote home directories, then I get the permission failure problem noted earlier in this thread.

    I’m actually taking the 4 day Apple class (MacOS 335) on directory services next week in Cupertino. I’m hoping they can shed a little light on this and other problems.

    -Allan

    in reply to: Netboot, networked home folders…!? #362248
    AllanMarcus
    Participant

    Netboot is having a system disc image on a server, then having clients boot from the image on the server. Is that what you are trying to do? give us more of your configuration and what you are trying to do.

    in reply to: /etc/authentication and kerberos in Tiger #361870
    AllanMarcus
    Participant

    Thanks busthis. I sent them an e-mail to see if they have made any progress. It’s critical for us to get this working as the new dual processor Macs seem to require Tiger. They work with Panther, but I’m told the cooling system might not function properly under panther.

    -Allan

Viewing 15 posts - 16 through 30 (of 46 total)