[Samba] clients logout .............

Mike Stewart mike at powys-training.co.uk
Wed Mar 17 09:14:26 GMT 2004


Hi Steve,

The situation I have here is... all PCs have a Windows login name in the
format PTLUser* and on each there's a shortcut to the server (PTLServer) of
the desktop.  When the machine is first booted it logs straight in to
windows using the PTLUser* and password.  When the user double-clicks on the
desktop shortcut to access the server they are then required to enter their
unique Samba username and password.  This opens up the windows showing the
shares on the server (including their home folder) and they can then map as
required.  When finished, they can chose "disconnetc network drive" from
several places and this will remove the mappings.  Now, if another user
comes along and double clicks on the desktop shortcut it assumes that they
are the same user as previously asccessed the server and shows the previous
user's folder as available.

Somewhere previous in this thread someone suggested using the "map network
drive" - "Connect as different user" as an option but.... as opening the
shortcut to the server only shows the previous user's home folder this does
not seem possible ?

Seems that Windows is remembering the username and passwrod somewhere so the
only way I can find to clear this is to reboot or logoff users PTLUser* and
start again.

Sorry that was so long winded :-)

Thanks

Mike

----- Original Message ----- 
From: "Aden, Steve" <saden at itscommunications.com>
To: <samba at lists.samba.org>
Sent: Tuesday, March 16, 2004 5:17 PM
Subject: RE: [Samba] clients logout .............


Mike,
How are you specifying the new login name? If using the map
network drive gui, you would need to click the link that says "Connect
using a different name" (different being other than the logged on user).
If mapping with the net use command, you can specify a different user by
doing something like this: "net use * \\server\share
/user:domain\username *". The * at the end will cause the program to
prompt for a password.

If you connect via a UNC from the run box or explorer address
bar, Windows will attempt to connect with the logged on user or if there
is a current connection to the server, it will try to use the id in use
by the other connection. You will not be able to connect with another
userid until all connections to the server are disconnected. Windows
will give you an error which say something about not allowing multiple
connections to a server with different credentials.

Steve


Privileged/Confidential Information may be contained in this message. If you
are not the addressee indicated in this message (or responsible for delivery
of the message to such person), you may not copy or deliver this message to
anyone. In such case, you should destroy this message and kindly notify the
sender by reply email. Opinions, conclusions and other information contained
in this message that do not relate to official business shall be understood
as neither given nor endorsed by ITS

-----Original Message-----
From: Mike Stewart [mailto:mike at powys-training.co.uk]
Sent: Tuesday, March 16, 2004 10:44 AM
To: samba at lists.samba.org
Subject: Re: [Samba] clients logout .............


Thanks Steve, I've just tried that but it doesn't work - the PC seems to
remember the last login name and password and reconnects to the server
as
that user again :-(

Mike

----- Original Message ----- 
From: "Aden, Steve" <saden at itscommunications.com>
To: <samba at lists.samba.org>
Sent: Tuesday, March 16, 2004 3:29 PM
Subject: RE: [Samba] clients logout .............


You should be able to click Tools/Disconnect Network Drive from a
Windows Explorer window, then select the connection to the Samba server
and click ok. Note, this can be done even if the connection was not
mapped to a drive letter, such as by typing \\server\share in the run
box. You can then map a drive to the server with a different user
account.

Steve Aden


Privileged/Confidential Information may be contained in this message. If
you
are not the addressee indicated in this message (or responsible for
delivery
of the message to such person), you may not copy or deliver this message
to
anyone. In such case, you should destroy this message and kindly notify
the
sender by reply email. Opinions, conclusions and other information
contained
in this message that do not relate to official business shall be
understood
as neither given nor endorsed by ITS

-----Original Message-----
From: Mike Stewart [mailto:stewart.mike at lineone.net]
Sent: Tuesday, March 16, 2004 8:55 AM
To: samba at lists.samba.org
Subject: Re: [Samba] clients logout .............


I hope someone can anser that... I would find it ver useful too !!
There
was the DOS "net logoff" but that will not work in a Windows VM, only in
"real mmode" :-(


> Hi,
>
> Two questions, only slightly related to SAMBA :
>
> 1) when I have logged into my Samba server (rh9) from
> a W2K or XP
> client, how can I log out again so that I can log in
> as someone else. I
> know logging out of W2K/XP will work, but I would like
> to log out of the
> SAMBA server w/o logging out of W2K/XP. My Mac OS X
> client has an
> 'eject' button which I can use - something similar to
> that is what I am
> after.
>



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.622 / Virus Database: 400 - Release Date: 13/03/2004


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


_____________________________________________________
This message was content-scanned by IXC Shield
Powered by GatewayDefender - BJ089f8ac1.00000001.mml
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


_____________________________________________________
This message was content-scanned by IXC Shield
Powered by GatewayDefender - BJ08a00ee2.00000001.mml
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.622 / Virus Database: 400 - Release Date: 14/03/2004




More information about the samba mailing list