Word "save to server" bug solved
|
|
Thread rating:  |
Dave Provine - 25 Jun 2006 11:24 GMT Many people, but not all, have run into the Save to Server bug with OS 10.4 and servers. The solution has been identified and is somewhat easily implemented.
The problem is explained here-
http://docs.info.apple.com/article.html?artnum=302979
The local UID on the user's computer needs to be changed away from the default 501 or 502.
If you open Terminal on their computer while they're logged in, and type "id" without quotes, it should return something like this-
uid=1025(provine) gid=20(staff) groups=20(staff)
If the uid is 501 or 502, that's bad. Change it to something much higher like 5263214. It can be a large number. It just has to be Globally Unique.
This tip from http://forums.macosxhints.com/archive/index.php/t-12077.html will help you change the UID.
Changing UIDs in the terminal is a simple NetInfo property overwrite: sudo niutil -createprop . /users/userName uid XXX (replace userName as appropriate and XXX with the new UID number)
Finding and changing UIDs across the filesystem is a one-liner command: sudo find / -user UID -exec chown userName {} \; (replace UID with the old UID number and userName with the new user name to associate file ownership.)
Again, it's the LOCAL UID on the user's computer that is the problem. That's why it's somewhat random as to who gets stricken by it, and why users with Network Home Directories never have the problem. By default, they will always have different UIDs.
Chris Ridd - 25 Jun 2006 13:13 GMT > Many people, but not all, have run into the Save to Server bug with OS > 10.4 and servers. The solution has been identified and is somewhat [quoted text clipped - 15 lines] > higher like 5263214. It can be a large number. It just has to be > Globally Unique. (Excellent information BTW)
The maximum uid value is 2^32 on Darwin, ie 4294967296.
I wonder why MS didn't use the guid that is associated with an OS X account instead?
Cheers,
Chris
John McGhie [MVP - Word and Word Macintosh] - 25 Jun 2006 13:32 GMT Hi Dave:
That looks interesting :-)
But I do not understand: Under what circumstances would a user log in to the server with a User ID the same as another user?
I can't imagine a network administrator setting things up that way. Am I missing something here?
Cheers
On 25/6/06 8:24 PM, in article 1151231076.717539.228920@c74g2000cwc.googlegroups.com, "Dave Provine" <dave@premiermac.com> wrote:
> Many people, but not all, have run into the Save to Server bug with OS > 10.4 and servers. The solution has been identified and is somewhat [quoted text clipped - 33 lines] > users with Network Home Directories never have the problem. By default, > they will always have different UIDs.
 Signature Please reply to the newsgroup to maintain the thread. Please do not email me unless I ask you to.
John McGhie <john@mcghie.name> Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer Sydney, Australia +61 (0) 4 1209 1410
Chris Ridd - 25 Jun 2006 14:38 GMT > Hi Dave: > [quoted text clipped - 5 lines] > I can't imagine a network administrator setting things up that way. Am I > missing something here? A more likely situation is where you're using the standard OS install to set up a local user account for someone; that will get the uid of 501. Then you set the machine up with your file server... You can immediately see that you'll get the same uid assigned to different people pretty quickly.
NFS (ie Unix-y) networks require that uids are managed centrally, but SMB networks will not, nor will (I suspect) AppleShare-based ones.
Cheers,
Chris
Dave Provine - 25 Jun 2006 15:37 GMT > > Hi Dave: > > [quoted text clipped - 18 lines] > > Chris Yes, Chris, you are correct. The first local user on every OS X machine is UID 501. So unless everyone is using network logins, which is quite uncommon in smaller places, the problem comes up. It never, ever happens where network logins are used or where everyone auths against AD, since their UID is based on the server, and therefore must be unique.
John, the users are NOT logging into the server with their local UID. They login with their server UID, but since they logged into their personal Mac with a local account, their UID as far as Word understands is 501, and that's the UID it uses to name the temp files directory. Does that clear it up for you?
John McGhie [MVP - Word and Word Macintosh] - 25 Jun 2006 22:51 GMT Hi Dave:
Got it! Thanks :-)
Sorry, I'm a PC user who got lost in here. PCs won't easily let you do that -- they attempt to pass the local machine login back to the server, and if it's not unique they get spat out at that point.
So Beth: Yes, I would add this to our growing saga on the website, and include the extra information Dave just provided, for the ignorant like me!
{Writes 100 lines} I *will* learn UNIX. I *will* learn UNIX....
Cheers
On 26/6/06 12:37 AM, in article 1151246265.068965.187860@m73g2000cwd.googlegroups.com, "Dave Provine" <dave@premiermac.com> wrote:
>>> Hi Dave: >>> [quoted text clipped - 31 lines] > is 501, and that's the UID it uses to name the temp files directory. > Does that clear it up for you?
 Signature Please reply to the newsgroup to maintain the thread. Please do not email me unless I ask you to.
John McGhie <john@mcghie.name> Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer Sydney, Australia +61 (0) 4 1209 1410
Paul Berkowitz - 26 Jun 2006 08:40 GMT It's one of those issues (there are several) where Word Mac has not yet adapted itself to the multi-user environment of OS X and still goes on as it used to back in OS 8. (Having a single Templates folder by default in /Applications instead of in the user's MUD folder or somewhere else in the ~/user sector is another.) I'm pretty sure this will get sorted out properly in the next major version. But until then...
 Signature Paul Berkowitz MVP MacOffice Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html> AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>
Please "Reply To Newsgroup" to reply to this message. Emails will be ignored.
PLEASE always state which version of Microsoft Office you are using - **2004**, X or 2001. It's often impossible to answer your questions otherwise.
> From: "John McGhie [MVP - Word and Word Macintosh]" <john@mcghie.name> > Newsgroups: microsoft.public.mac.office.word [quoted text clipped - 57 lines] >> is 501, and that's the UID it uses to name the temp files directory. >> Does that clear it up for you? Elliott Roper - 26 Jun 2006 12:38 GMT > It's one of those issues (there are several) where Word Mac has not yet > adapted itself to the multi-user environment of OS X and still goes on as it > used to back in OS 8. (Having a single Templates folder by default in > /Applications instead of in the user's MUD folder or somewhere else in the > ~/user sector is another.) I'm pretty sure this will get sorted out properly > in the next major version. But until then... I do agree. I'd like to add that "solved" appears to be used rather loosely here.
"Worked-around" would be better.
Chris Ridd - 26 Jun 2006 12:52 GMT >> It's one of those issues (there are several) where Word Mac has not yet >> adapted itself to the multi-user environment of OS X and still goes on as it [quoted text clipped - 7 lines] > > "Worked-around" would be better. "Thought about" would be a good start!
Cheers,
Chris
Phillip M. Jones, CE.T. - 26 Jun 2006 17:03 GMT > It's one of those issues (there are several) where Word Mac has not yet > adapted itself to the multi-user environment of OS X and still goes on as it > used to back in OS 8. (Having a single Templates folder by default in > /Applications instead of in the user's MUD folder or somewhere else in the > ~/user sector is another.) I'm pretty sure this will get sorted out properly > in the next major version. But until then... Yeah Righhhhht! Sure it will!!!!!! Maybe when the cow jumps over the moon, that's mad out of Green cheese. ;-)
 Signature ------------------------------------------------------------------------ Phillip M. Jones, CET |LIFE MEMBER: VPEA ETA-I, NESDA, ISCET, Sterling 616 Liberty Street |Who's Who. PHONE:276-632-5045, FAX:276-632-0868 Martinsville Va 24112 |pjones@kimbanet.com, ICQ11269732, AIM pjonescet ------------------------------------------------------------------------
If it's "fixed", don't "break it"!
mailto:pjones@kimbanet.com
<http://www.kimbanet.com/~pjones/default.htm> <http://www.kimbanet.com/~pjones/90th_Birthday/index.htm> <http://www.kimbanet.com/~pjones/Fulcher/default.html> <http://www.kimbanet.com/~pjones/Harris/default.htm> <http://www.kimbanet.com/~pjones/Jones/default.htm>
<http://www.vpea.org>
|
|
|