|
|
|||||||
When I use the line: Use U: @HOMESHR + "\" + @HOMEDIR The username, if longer than 8 characters, get truncated with a "~1". Is there a way to show the whole name? Thanks! |
||||||||
|
|
|||||||
what client os? |
||||||||
|
|
|||||||
Because you asked it to (you're mixing different macros that don't need to be) @HomeDir Short name of the directory part of home directory @HomeShr Server and share name part of home directory |
||||||||
|
|
|||||||
Well, the result of this string @homeshr + '\' + @homedir is something like: Code: \\Servername\Sharename[long]}\\\Servername\Sharename[short] which of course would fail to map anyway. This should work better: Code: Use U: @HOMESHR |
||||||||
|
|
|||||||
I'm not sure what version of kix or OS platform you guys are running, but on MY system (Kix 4.60 / Vista) @HOMEDIR=gbarnas @HOMESHR=\\server\users - so - Use H: @HOMESHR + '\' + @HOMEDIR would be appropriate. Since @HOMEDIR is referenced as the "short name", this could be implied as the 8.3 format. Try Use H: @HOMESHR + '\' + @USERID to get the un-shortened name - but - ONLY IF your user IDs and home folders are the same! (Usually they are, if you specify the home path as \\server\share\%USERNAME%). My first question, however, is - why aren't you defining this in AD, and if you are, why isn't AD mapping the home folder automatically? Do you have the AD user profile defined correctly? Glenn |
||||||||
|
|
|||||||
Ooops, my fault. I was not too aware that I ran this on W2K in an NT4 domain |
||||||||
|
|
|||||||
Win2K? NT4? Don't you guys get reruns of the "Time Tunnel" out there? You should jump in and head +5 years! Glenn |
||||||||
|
|
|||||||
Originally Posted By: Glenn Barnas Win2K? NT4? Don't you guys get reruns of the "Time Tunnel" out there? You should jump in and head +5 years! Glenn he would still be behind... |
||||||||
|
|
|||||||
Well it still is and can be a SHORT name regardless of OS I do a direct map to the share so I don't currently actually have a different @HOMESHR But you're using short names Glenn, if others are not then it will still be a SHORT name instead of the LONG name. |
||||||||
|
|
|||||||
Not sure what you mean, Doc... I was referring to Jochen's reference that @HOMEDIR contained the server\share component, when that's not what the docs indicate, and isn't what's returned by Kix. I was also wondering why the OS isn't mapping the home folder automagically. Also pointed out that if @HOMEDIR returned an 8.3 name for the user's home folder (deep mapped) that he could substitute @USERID - IF - the userid and home folder names were ALWAYS the same. G- |
||||||||
|
|
|||||||
We're running mostly XPsp2 on the client side. Some W2K Prosp4. We're running the 4.6 version of Kix. Interestingly, without a related mapping statement in Kix, the H:\ will not map even though it is setup in AD as: Connrct: h: To: \\server\share\%UserName% So it seems I do need an H:\ mapping in Kix to get it to map This worked perfectly: Use H: @HOMESHR + '\' + @USERID |