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:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 8:16 PM To: [EMAIL PROTECTED] 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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
