User template woes, non_localized the answer

Affichage de 14 messages sur 4
User template woes, non_localized the answer Joseph Rafferty 04/10/10 11:20
I recently pushed out a new image based on 10.6.4 that had only the
English.lproj folder in /System/Library/User Template (I removed all our
unused languages, for no other reason than to tidy up the User Template
directory). I noticed that network users were not getting this template, nor
were some MCX prefs getting applied. To make a long troubleshooting story
short, ends up the "Non_localized" file must be present in the same
directory. I don't think it matters what kind of file Non_localized is: I
tried a directory, a zero-byte file, and a symlink to English.lproj (my
final solution) and they all solved the problem, and the user got the
English.lproj template.

Does anyone have some insight as to why the Non_localized file is necessary?

-JR

_____________________________________________________
MacEnterprise, Inc
http://www.macenterprise.org

Subscription Options and Archives
http://lists.psu.edu/archives/macenterprise.html

Re: User template woes, non_localized the answer Yadin Flammer 05/10/10 08:32
I can offer two bits of information.  Even when you install only English
with the OS, the non localized folder is still made, pretty sure that is
required for normal operation in some way.  Without picking apart their
logic I¹m not sure what that is, but I¹d leave it there obviously.  I¹d also
recommend if you only want English, to install the OS that way rather than
rip things out by hand later.

Assuming you mean clients bound to OD with network homes of some sort
(traditional or mobile), then you also need to modify the server template.
When you log in to a local account, the local user template is used to make
your home.  When you log in to a network account, it¹s not the local user
template that is used, it¹s the user template on the server.  Anything you
put in the English.lproj on the client also needs to go there on the ODM.

Hope that helps,
Yadin

-------------------------------------------------------------------
  Yadin Flammer - Systems Administrator
  College of Arts & Architecture, Penn State University
  228 Borland Building              Office Phone: 814-865-0990
  University Park, PA 16802         Dept. Phone:  814-865-1571
  Email: yx...@psu.edu               Dept. Fax:    814-863-6227


_____________________________________________________
MacEnterprise, Inc
http://www.macenterprise.org

Subscription Options and Archives
http://lists.psu.edu/archives/macenterprise.html

Re: User template woes, non_localized the answer Rusty Myers 05/10/10 11:03
I can't remember the specific preference file, but it was installed in
the english template at first. When the user logged in it was over
written by the non_localized. I assume, because when I added the
preference to the non_localized it worked.

Can't say why that behavior is, but Im happy keeping my user template
files in non_localized just as much as english.lproj.

My guess is that the non_localized template is for preferences and
files that are not localized to any language. The catch all, if you
will. Anything that is localized for another language should go into
the other templates. I'm betting that as long as a similar file
doesn't exist in non_localized it won't be overwritten.

I relate it to MCX and how preferences on user accounts overwrite
preferences on workgroups.

--
Rusty Myers

_____________________________________________________
MacEnterprise, Inc
http://www.macenterprise.org

Subscription Options and Archives
http://lists.psu.edu/archives/macenterprise.html

Re: User template woes, non_localized the answer Joseph Rafferty 06/10/10 14:56
Rusty, seems like a logical explanation. And seems like a very good practice
if one were running multiple languages.

Yadin, no network homes (yet).