Solved

Terminal Services on domain - send different credentials to Samba server

Posted on 2010-08-26
3
480 Views
Last Modified: 2012-05-10
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
Comment
Question by:captnapalm
  • 2
3 Comments
 
LVL 36

Accepted Solution

by:
Jian An Lim earned 500 total points
ID: 33541125
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
 

Author Comment

by:captnapalm
ID: 33542856
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
 

Author Comment

by:captnapalm
ID: 33567973
I just had to reboot my Terminal Server to get it to connect again. Thanks a lot, Microsoft...
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question