[Samba] About disconnecting a windows client

Chuck Theobald chuckt at darkwing.uoregon.edu
Wed Dec 22 17:55:09 GMT 2004


Hi Xavi,

Try "net use \\server-name\share-name /d" from a cmd window.  I have used 
this with mixed success, WinXPSP2 will by default cache credentials and use 
these creds for new connection requests, though in the past I have been 
presented with a login dialog.  I am not sure what governs Windows' 
behavior in these cases.

Chuck


At 08:36 AM 12/20/2004, Xavi León wrote:
>Hi all!
>
>We have a Samba server configured as a PCD server with LDAP for 
>authenticating users (cups for
>providing printing services). Well, my question is simple and i was 
>looking for the answer and i didn't
>find it.... When somebody logs into the domain... ther is a way to 
>disconnect this user? i mean, the client
>can disconnect the user which with had logged in before?
>For example, i have two users and i log in with the first one. But if i 
>want to make operations with de
>second user i have to close my windows session and log in again.
>
>I know that it's not certainly a Samba question but a don't know who to 
>write to.
>
>Thanks!
>
>PS: i tried "net stop workstation" but it ask me to close some other 
>things that i don't want (moreover, i don't
>want to be asked for anything because i want to make a script which make 
>me it automatically)
>Thanks again
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/listinfo/samba

Chuck Theobald
System Administrator
The Robert and Beverly Lewis Center for Neuroimaging
University of Oregon
P: 541-346-0343
F: 541-346-0345



More information about the samba mailing list