Hello,
Thanks, but in this case, with my application I need it to connect to the filer from inside a service, and to connect with different usernames. I can't use NET USE.
For example, I need the application to connect to:
\server\share1 as user 'user1'
and to
\server\share2 as user 'user2'
Is this not possible? It is with samba.
-Andy Smith DCANet
On Fri, 9 Nov 2001, Don.Hickey@alcatel.com wrote:
This looks like syntax for share level security. You should be able to do something similar as a Domain member with this syntax:
NET USE \servername\sharename password /USER:domain\username
if password is missing you will be prompted.
Don
Andrew Smith ajs@dca.net Sent by: owner-toasters@mathworks.com 2001-11-05 10:05 PM
To: toasters@mathworks.com cc: Subject: UNC and username specification
Hello,
Is it possible to specify the username and password to connect to the filer's CIFS service in the UNC path?
Several years ago when I was running SAMBA on a Linux box, I was able to connect from Windows to a share with this syntax:
\servername\sharename%username:password
The ":password" was optional, if it was not specified then Lan Manager would come back and prompt for the password specified in "%username".
Thanks!
-Andrew Smith DCANet