[Samba] Is it possible to specify Username/Password in a UNC when connecting to a samba server from W2K?

Steve Williams swilliams at rinax.com
Fri Feb 21 02:13:04 GMT 2003


Hi,

Thanks, but in my email I indicated I wanted to avoid the use of the 
"net use" command  if possible...

Cheers,
Steve


Khanh Tran wrote:

>I think what you want to do is:
>
>net use X: \\SERVER\share /user:domain\username password
>
>net use /? will give you all of those options at the command prompt.
>
>Khanh Tran
>Network Operations
>Sarah Lawrence College
>
>
>-----Original Message-----
>From: Steve Williams [mailto:swilliams at rinax.com]
>Sent: Thursday, February 20, 2003 8:16 PM
>To: samba at lists.samba.org
>Subject: [Samba] Is it possible to specify Username/Password in a UNC
>when connecting to a samba server from W2K?
>
>
>Hi,
>
>Not a Samba question specifically, so please forgive me, but somewhat 
>related...
>
>I am trying to automate some tasks in a secure environment (restricted 
>ipsec vpn).  Running Windows 2000 (and XP, etc), I would like to be able 
>to access a Samba server using the UNC, but specify a username/password 
>combination as well.
>
>You know, in Windows Explorer it allows you to "Connect using a 
>different user name".
>
>Is there any way to specify this at the UNC?  or any other way at all?
>
>I'm trying to avoid having to do a net use command...
>
>Thanks,
>Steve Williams
>Rinax Computer Systems
>
>  
>




More information about the samba mailing list