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

Khanh Tran khanh at slc.edu
Fri Feb 21 01:27:08 GMT 2003


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

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



More information about the samba mailing list