[Solved]Cannot connect to Windows Share printer over network.

I'm having trouble connecting to a windows printer via Samba/CUPS.
I've loaded the lp module, but I don't know if I need to load the USB or Parallel ports modules, or both or neither, since this is a network print.
My organization has provided some basic instructions for Mac users. Working off of those, I have a setup with the device URI reading
DeviceURI smb://ksong8:(password)@ucmprint.ucmerced.edu/ucmglobal?waitjob=false
For some reason, the printer reports that it cannot connect to the CIFS share, even though it should be configured correctly.
Even more curiously, I'm able to connect to the share manually with
smbclient //ucmprint.ucmerced.edu/ucmglobal -U ksong8
and then entering my password.
Am I missing something terribly obvious here? I have a sample of logs in debug mode, but they looked okay to me (as well as very verbose), so I won't put them here. I have attached my /etc/cups/printers.conf.
# Printer configuration file for CUPS v1.5.2
# Written by cupsd on 2012-04-02 23:06
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer UCMGlobal>
UUID urn:uuid:56cf696f-e7a6-3859-49ea-fc990df764e9
AuthInfoRequired username,password
Info UC Merced Global Print Spool
Location Kolligian Library
MakeModel Generic PostScript Printer
DeviceURI smb://ksong8:(password)@ucmprint.ucmerced.edu/ucmglobal?waitjob=false
State Idle
StateTime 1333433102
Type 8400972
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
EDIT: Added myself to sys (somehow missed that on the installation) and did some futzing around with the GUI tools. Got some interesting results, but I need to confirm that they work.
Last edited by chipbuster (2012-04-04 04:06:04)

Solved.
As it turns out, either CUPS or Samba does not like having special characters in the password inside of /etc/cups/printers.conf. They should be replaced with "%" and the appropriate ASCII hex code for the symbol.

Similar Messages

  • Mavericks 10.9.5 cannot connect to windows share on server 2008r2 via SMB or CIFS

    hey anyone,
    on several macs at a client all running Mavericks 10.9.5. everything was working smooth.
    then all of a sudden anytime i try to connect to a specific share on server 2008r2 via SMB or CIFS.
    it connects (with authentication). but the share wont open. and crashes the finder. everytime.
    i can open other shares on the same server without any problems.
    i've tried this on several machines all with a similar result.
    all permissions on the server are correct as well as on all Macs.
    anyone have any similar issues and a way to get the finder from crashing?
    will updating Yosemite help? or create more problems with SMB connectivity
    help
    GT

    2) Try to connect using AFP address:
    9/20/14 3:43:54.980 PM NetAuthSysAgent[540]: AFP error -1 mapped to EIO
    9/20/14 3:43:54.980 PM NetAuthSysAgent[540]: ERROR: AFP_GetServerInfo - connect failed 5
    9/20/14 3:43:54.980 PM NetAuthSysAgent[540]: AFP error -1 mapped to EIO
    I'm getting the same error messages when trying to connect over a VPN to a Mountain Lion server, from a Yosemite (10.10.2) iMac. The same Yosemite iMac at the same time has no trouble connecting to a Snow Leopard server on the same network.
    By the way, there is no such thing as a "G5 (Intel) Mac". What you have is a Mac Pro tower. The G5 processors predated Intel. A lot of people tend to use "G5" as a generic term for a Mac aluminum tower. Why does it matter? Because if you not had not said "Intel", you would be getting replies having to do with the age of the computer in question.

  • Windows 8 Printer over network offline -HP

    Hello
    I am using windows 8 in my office.I have installed HP Laserjet 1020 on one system and I have shared it.
    Now on another PC i have installed it as a network  shared printer.
    But the problem is it shows offline after reboot.Sometimes though it work but it shows offline in another machine not in local machine to which printer is attached.
    I have downloaded latest driver for my printer but still same issue

    Hi,
    Since this issue happened when you reboot the computer, I consider that the driver is not loaded propertly.
    I suggest we disable fast boot feature in Windows 8 to see what’s going on:
    How to Turn "Fast Startup" On or Off for a Hybrid Boot in Windows 8 and 8.1
    http://www.eightforums.com/tutorials/6320-fast-startup-turn-off-windows-8-a.html
    Then let’s uncheck the power management on your network adapter:
    Open Network and Sharing Center.
    Click the Change adapter settings link in the upper left of the navigation pane.
    Right click the network connection you want to enable/disable power management support on and click Properties .
    Click Configure .
    On the Power Management tab, clear the Allow the computer to turn off this device to save power check box.
    If the issue still persists, please help to collect event log on the computer with shared printer and upload here for further research.
    Collect event log:
    http://windows.microsoft.com/en-us/windows7/what-information-appears-in-event-logs-event-viewer
    Look forward to your response.
    Kate Li
    TechNet Community Support

  • HT4356 I have an Epson sx235 stylus printer but cannot connect it to Air print, any suggestions?

    I have an Epson Stylus SX235 printer but cannot connect it to Air print, any help with this would be apprecated

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    You can print to a USB printer connected to your LAN or computer by installing/activating Ait Print on a PC or Mac.
    Activate AirPrint on a Mac;
    http://netputing.com/airprintactivator/
    Install AirPrint on a PC;
    http://jaxov.com/2010/11/how-to-enable-airprint-service-on-windows/

  • How do I add Macbook air to my windows network and how do I connect to windows shares from said Macbook?

    Finally, I have a "clued in" boss who wanted a Macbook air.  I have it, and I can get to the internet by supplying the correct proxy credentials.  My issue is trying to connect him to windows shares on my network?  I know how to do this cold for adding a PC, But need some 101 on how to take this awesome macbook air and add it to the domain and how to get connected to various shares within my DOMAIN.  as well as use network printers (I assume that is pretty easy). . .  I should add that I can ping the servers in question, I am just not familiar with how to connect to them via Mac. . .I am sure this is laughably easy, I am the king of making things difficult, I swear!
    Thanks for any and all help as usual!!
    Dave

    Which os do you have?
    Check Apple's Knowledge Base for Printer Troubleshooting solutions and suggestions for your particular os.

  • Share printer over WAN?

    I saw an option about share printer over WAN, does that mean I can print through the internet? if so , how to set it up, I cannot find any doc about this
    thanks

    Thank you for your quick response. Yes, I have Bonjour Print Services installed. I thought I had to select Share printers over WAN for some reason. Just now I deselected this setting, updated the utility and wireless printing still does not work .

  • How to restart base station from airport utility? I used to be able to do it remotely  I currently use a Mac Pro 10.8.4 and have a time machine for wireless 6.3 (630.34). Sometimes I cannot connect to the internet and use network preferences to diagnose t

    How to restart base station from airport utility? I used to be able to do it remotely
    I currently use a Mac Pro 10.8.4 and have a time machine for wireless 6.3 (630.34). Sometimes I cannot connect to the internet and use network preferences to diagnose the issue. This results in being told to restart the wireless. The airport utility includes the drop down option of restarting but is not clickable so I can't choose it.
    With my prior macbook and same time capsule, etc  if i had problems connecting to the internet I would run network diagnostics to help out. This included clicking on the airport utility ---> base station --> restart. This worked most of the time.
    Bottom line, is there something I am missing in not being able to restart the wi-fi remotely? ]
    Thanks in advance

    You are likely forgetting a step.
    Open AirPort Utility
    Click on the Time Capsule icon
    Click Edit in the small window that appears
    Now click the Base Station menu.....top of the screen....not the Base Station "tab" in the center of the screen
    Click Restart

  • I cannot connect to itunes store but my network connections are fine and I have tried everything on the itunes support site. I just want to authorize my computer. Can anyone help?

    I cannot connect to itunes store but my network connections are fine and I have tried everything on the itunes support site. I just want to authorize my computer. Can anyone help?

    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • I get " itunes cannot connect to the itunes store. the network connection has timed out" im connected to the internet no doubt. whats up?

    i get " itunes cannot connect to the itunes store. the network connection has timed out" im connected to the internet no doubt. whats up?

    Try temporarily disabling your firewall and see if you are then able to access the iTunes store.

  • Windows 7 64-bit cannot find HP C5280 printer over network

    I've had this working under the same conditions for several years, same computers, same printer, same network configuration.  One day, my computer stopped being able to print to the network computer, coming back with errors.  I uninstalled the printer and when I went to reinstall, it cannot locate the printer at all.  Everyone else on the network can see and use the printer, I can see and access the computer that it's plugged into, but going through the add a printer wizard, even specifically going into that computer manually, it sees no printer.
    I've run through the Microsoft Fixit, no results.  I've run through the HP Network Troubleshooter, no results.  I've rebooted all computers in question, no results.  It's not a networking problem, as I said, because I can fully access every other computer on the network.  The printer has been verified as shared and operable from every other computer on the network.
    Ideas?  Thanks.

    Check that printer sharing is still enabled on the host computer.  If it is, let's delete and re-add the printer on the host PC:
    1. Unplug the printer's USB cable.
    2. Go to Start > Control Panel > Devices and Printers and delete all instances of the printer.
    3. Plug the printer USB cable back in and wait for the PC to re-add it.
    4. Once it is re-added, right click the printer and enable/setup Printer Sharing.
    Try again from the ohter PC(s).
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Cannot  connect to file shares on Yosemite server v4.0

    I have a fairly new installation of a Mac Mini Server.  As a Linux specialist I find some of the things frustrating but the rest of the office has a much easier life as things just work. Except for file sharing. If I use finder, use the shared section of the to display the network, find my server and double click to open up file share options, it refuses and says it cannot connect. I then use Finder>Go>Connect to Server and enter the SMB Server name as smb://[SERVER_NAME]/ and it immediately connects and I can connect to all drives successfully.
    When I check the system.log after after the unsuccessful connect attemt using Finder, The following is in the log:
    Feb 11 09:08:11 brtsrv00.identitylabs.uk digest-service[27507]: label: default
    Feb 11 09:08:11 brtsrv00.identitylabs.uk digest-service[27507]: dbname: od:/Local/Default
    Feb 11 09:08:11 brtsrv00.identitylabs.uk digest-service[27507]: mkey_file: /var/db/krb5kdc/m-key
    Feb 11 09:08:11 brtsrv00.identitylabs.uk digest-service[27507]: acl_file: /var/db/krb5kdc/kadmind.acl
    Feb 11 09:08:11 brtsrv00.identitylabs.uk digest-service[27507]: digest-request: uid=0
    Feb 11 09:08:11 brtsrv00.identitylabs.uk digest-service[27507]: digest-request: netr probe 0
    Feb 11 09:08:11 brtsrv00.identitylabs.uk digest-service[27507]: digest-request: init request
    Feb 11 09:08:11 brtsrv00.identitylabs.uk digest-service[27507]: digest-request: init return domain: BRTSRV00-IDENTI server: BRTSRV00 indomain was: <NULL>
    Feb 11 09:08:11 brtsrv00.identitylabs.uk digest-service[27507]: digest-request: uid=0
    Feb 11 09:08:11 brtsrv00.identitylabs.uk digest-service[27507]: digest-request: init request
    Feb 11 09:08:11 brtsrv00.identitylabs.uk digest-service[27507]: digest-request: init return domain: BRTSRV00-IDENTI server: BRTSRV00 indomain was: <NULL>
    Feb 11 09:08:13 brtsrv00.identitylabs.uk kdc[25915]: Got a canonicalize request for a LKDC realm from local-ipc
    Feb 11 09:08:13 brtsrv00.identitylabs.uk kdc[25915]: Asked for LKDC, but there is none
    Feb 11 09:08:13 brtsrv00.identitylabs.uk sandboxd[582] ([25915]): kdc(25915) deny file-read-data /private/etc/krb5.conf
    Feb 11 09:08:13 brtsrv00.identitylabs.uk digest-service[27507]: digest-request: uid=0
    Feb 11 09:08:13 brtsrv00.identitylabs.uk digest-service[27507]: digest-request: init request
    Feb 11 09:08:13 brtsrv00.identitylabs.uk digest-service[27507]: digest-request: init return domain: BRTSRV00-IDENTI server: BRTSRV00 indomain was: <NULL>
    Feb 11 09:08:13 brtsrv00.identitylabs.uk digest-service[27507]: digest-request: uid=0
    Feb 11 09:08:13 brtsrv00.identitylabs.uk digest-service[27507]: digest-request: init request
    Feb 11 09:08:13 brtsrv00.identitylabs.uk digest-service[27507]: digest-request: init return domain: BRTSRV00-IDENTI server: BRTSRV00 indomain was: <NULL>
    Feb 11 09:08:13 brtsrv00.identitylabs.uk digest-service[27507]: digest-request: uid=0
    Feb 11 09:08:14 brtsrv00.identitylabs.uk digest-service[27507]: digest-request od: ok user=BRTSRV00-IDENTI\\ghorne proto=ntlmv2 flags: ENC_128, NEG_VERSION, NEG_TARGET_INFO, NEG_NTLM, NEG_TARGET, NEG_UNICODE
    Feb 11 09:08:14 brtsrv00.identitylabs.uk rpcsvchost[27362]: passwd entry for uid=1031 homedirectory invalid
    If I connect using Finder>Go> Connect to Sever I get the same error but the difference is the file shares are visible in the "Select the volumes you want to mount box" and I can mount the shares with no additional errors successfully. Please excuse me I am not very graphically savvy with OS-X (or OS-X for that mater). (Happy with Solaris, OpenBSD or Linux) I am a command line junkie (deep linux dude). Struggling to find my way around some of the things Apple DO. I am not sure I like people taking some of my toys and levers away.
    Any clue how to solve this issue?

    I am using fully qualified domain names for all servers on my network.  I have multiple domains untold virtual machines etc and services everywhere as it is a dev environment.  I use smb://brtsrv00.identitylabs.uk/ and it works without fault. Still no authentication from the Finder discovery.  Sorry I am a bit knew to to OS-X even though I have used different MacBook's for over 7 years.  DO a lot of VMware Fusion server development so don't touch OS-X much.  By the way, the name is provided by DNS and both the forward reverse lookup is correct. (dig brtsrv00.identitylabs.uk and dig -x 10.0.1.3)

  • Cannot connect to google cloud print

    We recently bought a MF8580cdw and installed it wireless, very easy.  Scanner works great.  We are mostly Mac but I want to use my Chrome book to print.  When I try to enable Google print in the remote UI and hit Register I get message "Failed to acquire information for registration".  I see in the enable area Install CA Certificate.  When I check CA certificates there appears to be 5 pre installed.  I have checked the e-manual and don't find this error listed.  Checked on line and didn't seem to get a good hit.  
    Update 24 hrs later.  I Found that the SSL connection check box was not checked.  After checking this the printer registered fine and it is now printing from my Chrome Book.  I did not see any reference to make sure that SSL was enabled.  sSmple fix but hard to find.

    This may or may not help some, but should help others...
    I was able to register cloud print successfully last week, then today it presented an error that it couldn't connect to the server.  After de-registering and then re-registering, I received the "failed to acquire information for registration" error.
    After quite a few failures, I thought the outbound IP filters I set up may have been the issue, so I disabled it.  After a few more failures, I decided to power cycle the printer (switch off, wait until all lights shut off, switch on), and this allowed for the weblink to be generated in order to register the printer with cloud print.
    It should also be mentioned SSL needs to be set and generated for the printer (Admin login - Network Settings - TCP/IP Settings - SSL Settings).  I assume this is so that all information sent to the printer while printing over the internet is encrypted with SSL.
    Steps
    1. De-register cloud print if previously registered.
    2. Turn off, then back on, Cloud Print via the Remote UI (Login as Admin, navigate to Network Settings - Cloud Print Settings)
    3. Navigate to Network Settings - TCP/IP Settings - SSL Settngs and register the SSL cert for the MF8280cw (if not already done)
    4. Power Cycle Printer via the On/Off Switch
    5. Log into Remote UI as Admin
    6. Navigate to Network Settings - Cloud Print Settings and attempt registration again
    If that fails, and you have IP Filtering for IPv4 on (IPv6 should be on and set to reject, unless you utilize IPv6 in your network; this is for security reasons), set it to off temporarily, power cycle printer, and attempt registration again.
    Please be aware, this is not a problem on Google's end and is an issue with the settings on the printer.  If you can't find the setting causing the issue, and/or business support cannot help you narrow down the issue, backup your settings via the Remote UI (both for the printer, as well as information from the Address Book), and reset the printer settings to factory default.  This will solve the issue, albeit you will have to manually figure out afterwards, through trial and error, what setting it was that caused the issue since restoring your printer settings is likely to cause the issue to re-occur until you narrow down the problem setting(s).

  • [SOLVED] Cannot connect to NFS server.

    I'm trying to setup a NFS share at home. I have one laptop configured as a server, and one desktop client. Both are running Arch. I can ping both in either way.
    For some reason, I cannot connect to the server. At one time, I could connect, but only while having an empty /etc/hosts.deny file (which obviously is very insecure). Now, I cannot even reproduce this.
    Thus, I believe the problem is caused by either /etc/hosts.allow or / and by /etc/hosts.deny.
    Here is my server's /etc/exports:
    /shared 192.168.x.xxx(rw,sync,no_subtree_check,no_root_squash)
    And here its /etc/hosts.allow:
    ALL:192.168.0.0/255.255.255.0
    And finally its /etc/hosts.deny:
    ALL: ALL: DENY
    Running 'rpcinfo -p' on the server shows output, while running 'rpcinfo -p <server-ip>' on the client prints out 'No remote programs registered.'
    From what I've read, when the client wants to connect to the server, the server first checks in hosts.allow to see if the client's allowed to connect. So in my case, it should be able connect.
    However, when I run
    sudo mount -t nfs 192.168.x.xxx:/ /mnt/SERVER
    it tells me
    mount.nfs: mount to NFS server '192.168.x.xxx:/`failed: RPC Error: Program not registered
    And even if outcomment both hosts.deny and hosts.allow, running the same command prints out
    mount.nfs: access denied by server while mounting 192.168.x.xxx:/
    I'm clueless. Any help would be greatly appreciated!
    Last edited by MrAllan (2009-03-20 15:05:24)

    tomk wrote:
    Missed a detail on first reading. Your server's exports file makes the /shared directory available to 192.168.x.xxx, but your client mount command tries to mount the server's / i.e. root directory. You can only mount directories that have been exported.
    btw, there's no need to conceal internal addresses like that - we all have them, and there's no way anyone can use them to track you down. My laptop address is 10.12.62.99, my server is 192.168.10.10, and my irssi/bittorrent/whatever machine is 192.168.10.69. I challenge anyone to hack me.
    But if they know his IP, couldn't they use the lan IP to gain access easier than if they didn't know the subnet addresses? Since the thread is solved, I figured I would ask since I've always wondered about it.
    Btw, for anyone have unresolved NFS issues, see this bug report. The arch devs aren't responding to it for some reason, can anyone tell me why?
    http://bugs.archlinux.org/task/13434

  • 8.8 Client cannot connect to Windows Server 2008 error -1102

    SAP Business On 8.8 on PL 18
    This is not the first time I have had this issue with Windows Server 2008.
    however everytime the resolution was diffrent. Now this site is causing trouble.
    The issue is the client cannot connect. We have the log on window, can see the company list. type on the password and we get a -1102 error.
    The client on the Server itself can log on. It is the cleints that cannot.
    I checked these below.
    1 SQL Native client is installed and ok.
    2. Licence server is configured and ok
    3. The user has admin access to locl PC
    4. The SAP user name and password are correct ( client on server can connect fine )
    5. The ports 1433, 30000 and 30001 are open on the server.
    6. Through SQL server configuration the named pipes and TCP are enabled.
    7. SQL server browser is running
    The only things I have not tried are
    The Firewall is running on the server and I have not yet stopped it. Will try that tomorrow.
    Do you have any other ideas please ?

    I have got this working but I am not confidant of the outcome  - yet  - I really need your expert advise here.
    This is what I did. In that order.
    1.     As Owen suggested I checked if there was a specified Port for the instance.  What I found was TCP Dynamic  ports were enabled (  SQL server config manager | network configuration | tcp properties ) and there was no TCP port specified.  Assuming ( ai may be wrong) that the system assigns a dynamic port to this instance  I set it up so the Dynamic port does not happen and manually specified the Port  1433. Restarted the SQL Service. ( still having the Port 1433 open in the firewall). This did not solve the issue.
    2.     With the above setting still on, switched off the firewall. Went to the PC client and SAP can log on now.  Now keeping the SAP client running, switched on the Firewall on the server. Log off SAP on PC client and log back in ( with firewall off ). SAP now can log on.
    3.     I had to do the above step for all PCs to get them working.
    4. Currently the firewall is on and clients can connect
    So what could be happening? I have no clue. It is apparent there is some setting that gets saved within the PCs ( may be user profile) after the first log on with the Firewall off  - to say its safe ?
    However I have no idea what will happen if the server is restarted u2013 this server we cannot restart any time we want as itu2019s a critical server and runs other things. 
    I would still like to get to the bottom of this to understand what is happening.
    I have a SAP message running too and will ask them this same question.

  • OneNote cannot connect to Windows Live

    Hi,
    I'm having a problem with OneNote 2010. I want to create a notebook and share it using the "Web" option. However, when I try to connect OneNote to Windows Live, it keeps "connecting to server" for a long time and then reprompts, saying
    "Unable to connect to Windows Live". I don't even get the sign-in dialog box.
    I've tried the following solutions:
    1. Reset IE settings
    2. Checked Firewall exceptions
    3. Ensured Windows is updated
    Some people have bene able to solve the problem by switching off Two-Step Verification, but I haven't turned it on in the first place.
    It's vital that I am able to share this notebook with my project researchers, so solutions would be greatly appreciated!
    Thanks,
    Arish

    Hi there,
    I have the exactly the same Problem. First it started on my Desktop Computer, then two days later i realized the same issue on my Notebook Computer. Logging in on OneNote online, Android- or iOS-Devices works fine.The only special thing on the
    day I first realized was that I set up a different computer using Windows 8.1 and the same Windows Live-ID.
    Any help is greatly appreciated.
    Thanks
    Andreas

Maybe you are looking for