Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Login Banner in Leopard #370411
    ssevenup
    Participant

    So, as it turns out I had LoginwindowText as LoginWindowText so Leopard actually does honor that property. I still want to get the plugin working though because Apple says it’s the preferred way and it’s more like our Windoze build.

    [QUOTE][u]Quote by: ssevenup[/u][p]It seems that the text property that displayed a banner in the login panel under Tiger is ignored by Leopard. This was in /Library/Preferences/com.apple.loginwindow.plist.
    [/p][/QUOTE]

    in reply to: 10.4.10 killed my G5 Xserve #369828
    ssevenup
    Participant

    Yeah, well to begin with /etc/hostconfig was gone completely. Replacing that worked to get it to boot but then all the services were suddenly off. And finally the OD database got wiped and activating OD bogged things down to the point there was no way to log in or ssh in. So we stuck my new Intel XServe in place and started basically from scratch. Many complete directories could be migrated so it wasn’t a total loss. The last straw was that Retrospect was not backing up /private but fortunately some of that was still useful. I don’t know what the hell happened. Also my new XServe has had kernel panic issues when the old G5 was target disk attached.

    Thanks JR

    –MM

    in reply to: Replacing niload with ds* tools?? #364524
    ssevenup
    Participant

    By the way I believe I verified that even if the xml format “looks” all screwed up it appears to still work. That being said, my current method preserves the formatting quite nicely.

    in reply to: Replacing niload with ds* tools?? #364523
    ssevenup
    Participant

    [QUOTE BY= MacTroll] Yeah, I see the same thing. Coming out is fine, but the loading in isn’t.

    In the back of my mind, I know I’ve done this with the mail attribute for a user….

    I’m going to think some more.[/QUOTE]
    [QUOTE BY= MacTroll] Yeah, I see the same thing. Coming out is fine, but the loading in isn’t.

    In the back of my mind, I know I’ve done this with the mail attribute for a user….

    I’m going to think some more.[/QUOTE]
    I managed to get this working perfectly. I’m not sure why I could never get it to work on the command line? Once I made the shell script variable per your suggestion:

    mcx_apps=`cat "$basepath"/Contents/Resources/mcx_apps.xml`
    mcx_flags=`cat "$basepath"/Contents/Resources/mcx_flags.xml`
    mcx_prefs=`cat "$basepath"/Contents/Resources/mcx_prefs.xml`
    
    dscl -q /NetInfo/DefaultLocalNode -create /Users/"${uname}" "mcx_flags" "${mcx_flags}"
    dscl -q /NetInfo/DefaultLocalNode -create /Users/"${uname}" "mcx_settings" "${mcx_prefs}"
    dscl -q /NetInfo/DefaultLocalNode -append /Users/"${uname}" "mcx_settings" "${mcx_apps}"
    
    

    I have password policy, pref and app control… the full boat Mr. Green The only remaining issue is that I can’t find any way to push properties with empty values via dscl.
    _shadow_passwd:
    sharedDir:
    AuthenticationHint:

    in reply to: Replacing niload with ds* tools?? #364520
    ssevenup
    Participant

    [QUOTE BY= MacTroll] IIRC I’ve used dscl with the output of a preformated MCX blob to do this.

    For example, populate the MCX as needed then

    dscl localhost read /Search/Users/joel MCXSettings > mcxblob.txt

    Then load it into the new user as

    dscl localhost create /Search/Users/marc MCXSettings `cat mcxblob.txt`

    I haven’t looked at the format, but it should be easy enough to generate from scratch too.[/QUOTE]
    So far that appears to totally bork the xml formating. I have tried using a “here” document in my bash script but no luck there either so far. I may be stuck with niload for the mcx stuff for now.

    in reply to: OD allows null base query, is this a problem? #361972
    ssevenup
    Participant

    Did you ever get any answers to this?

    –Mark

    in reply to: Internet Sharing problem with Panther Server #356809
    ssevenup
    Participant

    I ran into this problem today also. I’m just adding my voice to the crowd. I was using my B&W as my Airport Access point under 10.2.8. I decided to install Server, and apparently this was a mistake unless there is an answer to this. I think the only short term answer is to use “AdHoc” mode via the Network control panel, but it’s not the same as “Infrastructure” (I think that’s what it’s called) mode. I’ll email our Apple engineer and maybe the federal mailing list.

    –MM

    From the Apple federal account engineer:

    [i:0941bbf1be]I don’t believe that Airport sharing is possible under MacOS X Server the way it is in MacOS X client. However, did you check the Airport admin utility to see if it would access your internal Airport card? It’s a long shot but it might work.[/i:0941bbf1be]

    No joy on the Admin utility either.

    in reply to: Network and Local home folders? #356172
    ssevenup
    Participant

    [quote:7c8fdda891=”MacTroll”]

    We have an article on this that should be posted shortly.

    Joel[/quote:7c8fdda891]

    The article is very helpful. I was attempting to figure out how to do this last month for a pair of shared use student Macs. I have some observations and suggestions…

    It would be helpful if the article mentioned the niutil methods for each step, instead of just mentioning they exist. This would be helpful to script writers.

    The article could mention how one might approach this in a managed environment.

    [code:1:7c8fdda891]So again, to reiterate – we need two users with identical UIDs, GIDs, and password "hash" keys on both machines.[/code:1:7c8fdda891]

    Shouldn’t this say we need “the same user” on both machines? The wording is confusing.

    [code:1:7c8fdda891]Back on the client, we now need to get it to "automount" the server machine regardless of where the user is logged in. Again, we turn to HornWare’s SharePoints Automounter, but this can be done via niutil or Netinfo Manager as well.[/code:1:7c8fdda891]

    Please list the niutil and NM methods as well.

    [code:1:7c8fdda891]I am testing some weirdness that seems to arise in SOME programs and saving preferences. The fix may be to make the server user instance also a "client" as with the client machineóthat way both boxes are really "network" users.[/code:1:7c8fdda891]

    Even simply relocating the home directory to another local disk partition can cause all sorts of difficulty. MS Office (the spawn of the devil) has all kinds of issues with this. You must play games with pref files to get VB Script to work correctly for one thing. It’s such a pain that we have given up partitioning and relocating altogether in my group. It makes me wonder what will happen if/when we switch to a managed environment with remote directories for everyone.

    –MM

    Mark Moorcroft
    SysAdmin.
    NASA/Ames RC

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