Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to share a printer from a server using a cname record with that server. I can connect to the printer share just fine if I use the actual host name for the server, but it giv.es me an error if I try to connect via the cname:

Windows couldn't connect to the printer. Check the printer name and try again. If this is a network printer, make sure that the printer is turned on, and the printer address is correct.

I have seen and tried everything suggested in this related question, including manually setting SPNs, with no luck:

How to Configure Windows Machine to Allow File Sharing with DNS Alias

share|improve this question

2 Answers 2

up vote 4 down vote accepted

You need to add "DNS on the Wire" on the print server.

reg add HKLM\SYSTEM\CurrentControlSet\Control\Print /v DnsOnWire /t REG_DWORD /d 1

Reference: http://social.technet.microsoft.com/Forums/en-US/winserverprint/thread/00eeb192-d03a-4d1b-9066-427fc678ae97

share|improve this answer
    
This did the trick after a restart. As a bonus, I added this information to the other question. –  Joel Coel Jun 7 '12 at 19:43

Not sure what you mean but surely all you'd have to do is set a CNAME record in the DNS Server pointing to either the server e.g. printserver.domain.local or create an A record so that printer.domain.local points to the IP address of the printer.. making sure that your client machines' DNS IP settings are pointing to the DNS server and not a default gateway router!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.