• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 502
  • Last Modified:

Terminal Services on domain - send different credentials to Samba server

This is similar to a question I asked a while back but never got an answer to.

I have TS running on Server 2008. We have a separate Server 2000 DC. Users log into TS using a domain username that gets authenticated by the DC.

I have a new Linux server (SuSE 11.2) running on the network and I've set up some local user shares with Samba. Everything is working fine from my regular workstaions. For a few reasons I don't want to set it up to do domain authentication, so I want to be able to enter local credentials from a TS session to log into the new shares.

However, when I'm logged into a TS session and try to connect to the server, I get a "you do not have permission" error. I can only assume it's sending the domain user credentials, since it doesn't give me the option of offering other credentials to log into the share.

How can I log into this share using local credentials, not the default domain user's?

thanks
0
captnapalm
Asked:
captnapalm
  • 2
1 Solution
 
Jian An LimSolutions ArchitectCommented:
you can write a map drive script look like this

net use s: \\computername\sharename /user:<localusername>

this will prompt you for password



net use s: \\computername\sharename <password> /user:<localusername>
this should automatically map the drive
0
 
captnapalmAuthor Commented:
This seems to be the right solution, but I get:
System error 64 has occurred.
The specified network name is no longer available.

I can ping the server by network name. I have the name registered in DNS.
I can browse to it from any other machine by name.
The net use command works from this machine for a different user share.

Any ideas?
0
 
captnapalmAuthor Commented:
I just had to reboot my Terminal Server to get it to connect again. Thanks a lot, Microsoft...
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now