AFP548 Changing the world one server at a time.

LDAP Login + Local Home = No MCX Prefs

Home › Forums › OS X Server and Client Discussion › Open Directory › LDAP Login + Local Home = No MCX Prefs

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #364921
    Bartleby
    Participant

    I have a similar system to andyinindy except that the clients are authenticating to a native Mac OS X Tiger Open Directory Server. The problem I’m having is that the clients don’t seem to be grabbing the MXCSettings. If a user logs in to a machine for the first time, they get a standard home directory with all the prefs set to defaults. If they then log out and then back in, however, the cached MCXSettings are used and they get the prefs which I’ve set for them in WGM. I have a login hook copying a clean home directory with an empty prefs folder but it still isn’t working. I’ve tried a variety of solutions but nothing seems to keep. What I’m looking for would be a script that would grab the latest MCXSettings from the server which I could then use as a login hook. Thanks so much for any ideas, I’m pretty new at this and I’m just about at the end of my rope.

    –EDIT–
    I’ve gotten this problem solved, scroll down to see how dumb I was. 😉

    #364933
    Bartleby
    Participant

    No. The trouble I had with portable home directories was that these are for student accounts and I would like the files on them strictly controlled (there’s a folder where they can save files, but otherwise they get a clean slate at each login). I suppose if there were someway I could make syncing one-way (ie, the client machines ONLY grab updates from the server and don’t send any changes) then portable home directories might work.

    #364942
    Bartleby
    Participant

    MacTroll wrote:

    OK then, have you tried MCX at the machine, and not the user, level then? There are MCX settings at the machine, group and user level and once the cache has been updated everything seems to work together, but until then none of the settings seem to be applied.

    macshome wrote:

    That works but remember that you can still create a 10.3 style mobile account that creates a cached local user but does not sync the homes. How exactly would I do this? Using WGM, it looks like all that I can do is just home syncing mobile accounts. Thanks guys!

    #364954
    Bartleby
    Participant

    macshome wrote:

    you can still create a 10.3 style mobile account that creates a cached local userI tried creating mobile accounts without home sync today (thank you Essential Mac OS X Panther Server Administration 😎) but I still encountered the same problem, ie, cached accounts have MCX settings, uncached ones do not.

    #364961
    Bartleby
    Participant

    Well, it looks like I’ve gotten things sorted out; this seems like a textbook case of trying to do things the hard way and just generally making things worse. 😳 All the Student accounts were using the same home directory and I’d created a login hook which deleted it and then copied a fresh one from a template account I’d created. In effect, I think, the client was getting the MCX settings and then the script was promptly deleting them. Now, rather than a template account, I’m editing the User Templates directory, and using a logout hook to delete the home folder (just in case; I’m not certain if this is actually necessary, but it doesn’t seem to hurt). Thanks for helping to set me on the right path, I’ll be sure to pester you guys again the next time I’m royally boned. 😛

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