map drive to an alias? Possible?

F

Fartcatcher

Hello, I would like to map a drive to an alias (\\server\Data). I setup an
alias 'server' in DNS, can ping it successfully but when I try to map a
drive to it I get a duplicate name error (53?). I am running Windows 2000
SP4 and all clients are WinXP.

Is this possible and what do I need to do?

Thanks!
FC
 
R

Richard G. Harper

That won't work. I don't know of any way to alias a share to a DNS/server
name, only to a drive letter.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* PLEASE post all messages and replies in the newsgroups
* for the benefit of all. Private mail is usually not replied to.
* My website, such as it is ... http://rgharper.mvps.org/
* HELP us help YOU ... http://www.dts-l.org/goodpost.htm
 
F

Fartcatcher

That won't work. I don't know of any way to alias a share to a
DNS/server name, only to a drive letter.

Thanks for the reply Richard. I want to use a drive letter but instead of
using the server name I want to use an alias instead:

net use H: \\serveralias\Data

but I get a duplicate name error.

Thanks,
FC
 
R

Richard G. Harper

Okay, now I'm not sure what you're up to here.

If you have a server named SERVER, and a share named SHARE, of course the
standard syntax would be:

net use h: \\SERVER\SHARE

An alias in DHCP would change the server name - say, from SERVER to CLIENT.
So now you could map:

net use h: \\CLIENT\SHARE

But if you want a DNS alias CLIENT to be interpreted as the same as
\\SERVER\SHARE, that you cannot do - there's no way to set up the alias
CLIENT in DNS and have it map to \\SERVER\SHARE - \\CLIENT\SHARE is the best
you can accomplish.

.... or are you trying for something else? If so please expand on what
you're trying to do, and we'll try to help you figure out if it can be done
and how.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* PLEASE post all messages and replies in the newsgroups
* for the benefit of all. Private mail is usually not replied to.
* My website, such as it is ... http://rgharper.mvps.org/
* HELP us help YOU ... http://www.dts-l.org/goodpost.htm
 
F

Fartcatcher

Okay, now I'm not sure what you're up to here.

If you have a server named SERVER, and a share named SHARE, of course
the standard syntax would be:

net use h: \\SERVER\SHARE

An alias in DHCP would change the server name - say, from SERVER to
CLIENT. So now you could map:

net use h: \\CLIENT\SHARE

But if you want a DNS alias CLIENT to be interpreted as the same as
\\SERVER\SHARE, that you cannot do - there's no way to set up the
alias CLIENT in DNS and have it map to \\SERVER\SHARE - \\CLIENT\SHARE
is the best you can accomplish.

... or are you trying for something else? If so please expand on what
you're trying to do, and we'll try to help you figure out if it can be
done and how.

no, that is pretty much what I'm trying to do. Basically I want to change
to name of a server without having to change the name. Do I need everyone
to be running DHCP (they use static IPs now) for it to take effect? I will
try passing the alias using DHCP.

Thanks for the help,
FC
 
R

Richard G. Harper

What are you using for DNS on your network? If it's Microsoft DNS then all
you need to do is put an alias entry in the DNS server, that will allow
users to use the name "CLIENT" to connect to the "SERVER" instead. If you
don't have a DNS server on your network then the alias will need to go into
a HOSTS file and be distributed to all computers on the network.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* PLEASE post all messages and replies in the newsgroups
* for the benefit of all. Private mail is usually not replied to.
* My website, such as it is ... http://rgharper.mvps.org/
* HELP us help YOU ... http://www.dts-l.org/goodpost.htm
 
B

BFilmFan

Yes it is possible to map a SMB connection to a DNS alias.

1. Create the CNAME record for the file server on the appropriate DN
server, if that the CNAME record is not already present.

2. A registry modification of the server hosting the share is require
for the LAN Manager Server Service to function properly.

It should be noted that the server hosting the share must be usin
Windows 2000 Service Pack 4.
The steps below detail the procedure for modifying the registry:

a. Start Registry Editor (Regedt32.exe).

b. Locate and click the following key in the registry:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters

c. On the Edit menu, click Add Value, and then add the followin
registry value:

Value name: DisableStrictNameChecking
Data type: REG_DWORD
Radix: Decimal
Value: 1

d. Restart the server.

Enjoy!
*Hello, I would like to map a drive to an alias (\\server\Data).
setup an
alias 'server' in DNS, can ping it successfully but when I try to ma
a
drive to it I get a duplicate name error (53?). I am running Window
2000
SP4 and all clients are WinXP.

Is this possible and what do I need to do?

Thanks!
FC


-
BFilmFa
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top