Authentication issue with CUPS 5.3.1 on SMB Printer

158

Solution 1

Solution for Ubuntu 14.04.

  1. Go to Terminal and run:

     sudo nano /etc/samba/smb.conf
    
  2. There change:

    workgroup = YOURDOMAIN
    
  3. Test syntax is ok by typing in terminal:

    testparm
    
  4. On system settings -> printer -> properties, set the authentication details as follows:

    Username [email protected]
    Password yourpass
    VERIFY
    
  5. Print test page

That should do it

Solution 2

Hurrah, its working. The problem is related to a really strange authentication issue that 12.04 has with samba. As I also had problems connecting to the samba drives, I read that server and domain names need to be in uppercase (I have no clue why) to make them work.

For the samba printer, it was enough to just have the domain name uppercase, such as this:

smb://D.EXAMPLE.CH/vpp-xxxxxxxxxxxxx/vpp-xxxxxxxxxxxx

take care to unlock caps lock before entering the password :-)

I hope this saves someone time.

Share:
158

Related videos on Youtube

Deejdd
Author by

Deejdd

Updated on September 18, 2022

Comments

  • Deejdd
    Deejdd almost 2 years

    I'm having difficulties getting HTML5 video to work with the Android webview.

    Everything is already set up:

    • Android mini pc - MK802IIIs (Dual core)
    • Android 4.1
    • Hardware acceleration is enabled.
    • Permissions granted for network, read/write of internal and external storage.
    • WebView has a webviewclient and a chromewebviewclient.
    • Javascript/plugins are enabled.
    • Video's used for this example are big buck bunny in mp4 and webm formats.

    What does work:

    Loading the video into the webview from an URL that's hosted on my internal network. It gets played properly.

    What does not work:

    Loading the video from Androids storage. results in the following: enter image description here The video plays according to controls but all that is show is a black canvas with a tiny line of colored pixels.

    No error messages get thrown in logcat either. I wonder if anyone has experienced this before.

    Any help is gladly appreciated.

    • Julius
      Julius almost 12 years
      I also tried downgrading to CUPS 4.1.8, that did not help, I could not connect to localhost:631 any more. I am now back at the issue described above, any help will be greatly appreciated.
    • Lawrence Barse
      Lawrence Barse almost 11 years
      Perhaps you can check out the following link [stackoverflow.com/questions/16533170/… [1]: stackoverflow.com/questions/16533170/…
    • Deejdd
      Deejdd almost 11 years
      Shame that I totally missed that one, thanks a lot.
    • Deejdd
      Deejdd almost 11 years
      I've tried to do it through javascript interfacing but that didn't work either. Still playing the video with 1 line of pixels.
  • Deejdd
    Deejdd over 10 years
    Thanks for the comment. I havn't been active on SO for a while sorry for that. In the meantime I figured it out.
  • clement
    clement over 10 years
    In my case the domain name points to a netbios print server and as: 1) netbios names are (almost) always uppercase and 2) we (in UNIX/Linux) assume case sensitively then it should be in UPPERCASE.
  • geekoverdose
    geekoverdose almost 8 years
    This seems to do the trick also on Ubuntu 16.04.
  • kokbira
    kokbira about 5 years
    For Fedora29 I did not see "authentication details"