Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Henrik on August 19, 2003, 02:48:53 PM
-
Hi
I got both wk2 and win98 and the problem seems that also a Z: drive is mapped on w2k machines as the users homedir.
the H: is mapped with netlogon.
I want to remove the Z: - can anyone help me here??
-
Hi,
logon as admin to the win98box and search for the netlogon.bat , changes made there will affect the clients.
Otherwise search around for netlogon
cheers
-
http://www.e-smith.org/bboard//read.php?f=3&i=35011&t=34457&v=f
-
Frank wrote:
>
> Hi,
>
> logon as admin to the win98box and search for the
> netlogon.bat , changes made there will affect the clients.
> Otherwise search around for netlogon
>
> cheers
It look like you dont understand the question:
I have no problems with editing netlogon.bat.... I map several drives and other setting here....
The problem is with NT, w2k and XP machines. A Z: drive is automaticly mapped to the users home drive somehow. A feature build in by the SME server or just somewhere in samba conf. Z: drive is NOT mapped with netlogon.bat.
Its this Z: drive i want to remove, because its causing confusion. Users use both win98 and w2k machines, thus when they log on to a w2k machine they see both a H: drive and a Z:
/Henrik
-
Right click on my computer, unmap network drive?
Barry
-
Barry Fitzmaurice wrote:
>
> Right click on my computer, unmap network drive?
>
> Barry
hehe, not that easy.... its back when u log on again
-
> hehe, not that easy.... its back when u log on again
It's a bit like Windows Messenger, isn't it? No matter how many times you kill it, next time you look it's back there, laughing in your face...
Anyway. I believe this to be a WinXP/NT/2000 'feature' rather than a quirk in Samba. Like you I struggled with it, but couldn't fix it. So instead of trying to remove the Z: drive I decided to no longer use the H: drive on Win98/ME machines and to _allways_ mount the home drive on Z. No matter what version your users are on, home is where the Z: lies.
Not really the way I would like it, but hey, life is just too short.
Michiel
-
Michiel Blotwijk wrote:
>
> > hehe, not that easy.... its back when u log on again
>
> It's a bit like Windows Messenger, isn't it? No matter how
> many times you kill it, next time you look it's back there,
> laughing in your face...
>
> Anyway. I believe this to be a WinXP/NT/2000 'feature' rather
> than a quirk in Samba. Like you I struggled with it, but
> couldn't fix it. So instead of trying to remove the Z: drive
> I decided to no longer use the H: drive on Win98/ME machines
> and to _allways_ mount the home drive on Z. No matter what
> version your users are on, home is where the Z: lies.
>
> Not really the way I would like it, but hey, life is just too
> short.
>
> Michiel
I dont think windows would map a drive unless it is told so, just like that.
I agree that you have a "solution" but not being able to determine which drive you wish to use can simply not be true and wont work for me!
e-smith, can't you guys help here? Charlie?
-
okidoki,
just an idea, do u have roaming profiles enabled?
cheers
-
Frank wrote:
>
> okidoki,
>
> just an idea, do u have roaming profiles enabled?
>
> cheers
no, i havent... but i've been there - no difference
Hello?? nobody have any ideas why? strange...
This happens for me on 2 seperate installations on totally diffrent hardware, so it must be that others have the same issue. Maybe i should report it as a bug...
-
Henrik,
during the execution of the logon script, Windows quietly maps the user's home drive as Z: AFAIK ... and should disconnect that mapping at the end of the script - if it can (if there are no open files/connections).
You can try to add this to the end of your logon script
if exist Z: net use Z: /del.
I have seen the symptoms you describe on different PCs in different networks ... but I have not found the solution, when exactly it does that.
There are open files here so when you try to disconnect manually, Windows will warn you about that - but will not tell you which files these are and I have not found that out (could be an ini file or something like that).
I suspect it has something to do with the order of program installations and the question under which userid the program installation was done.
I played for a little while with a utility to list all open files (filemon?) but I still could not figure it out.
At the moment, our users are living with this although I tell them not to use the z: drive mapping.
Regards,
Michael Doerner.
-
Thanks Michael for making me feel that im not all alone... ;-)
The command: "if exist Z: net use Z: /del" works ok if "/yes" is also added to the end of it so you dont have to answer Y to it.
But if the developers of the SME server don't even know why, then the chances for me to find the reason why its mapped, is VERY small.
So for now ill have to settle for a deletion of the drive in the script, cause i can't spend more time on it right now.
Thank again
/Henrik
-
Hi
Try setting logon drive = h: in a custom template for smb.conf. Win2K should map the drive properly, XP will map to ._winprofile unless you use group policy to enable 2K/NT compatabilityfor netlogon.
Hope that helps
jasper
-
> smb.conf. Win2K should map the drive properly, XP will map to
> ._winprofile unless you use group policy to enable 2K/NT
> compatabilityfor netlogon.
Thanks, I think we're getting somewhere :-) I created a template for smb.conf and Win2K indeed now maps to H:
But where do I enable the 2K compatibility in XP? I've been roaming through the MMC and searched in Google, but could not find anything.
Michiel
-
run gpedit.msc from start menu
then
User Configuration--->Administrative Templates-->System-->UserProfiles-->Connect home directory to root of the share
cheers
jasper
-
Henrik,
I came accross your post while searching for an answer to a problem I have with netlogon.bat (not being able to use "Groups" in the script like we could in 5x)
Anyway, this is what I put in my netlogon.bat
if exist Z: net use Z: /delete /yes
It may be a bit late but I hope it helps.