Git Product home page Git Product logo

Comments (5)

DrPsychick avatar DrPsychick commented on June 9, 2024

I'll take a closer look next week. Maybe you want to check the available environment variables meanwhile. It should allow you to configure remote management from anywhere.

from docker-cups-airprint.

FrancYescO avatar FrancYescO commented on June 9, 2024

Probably is just a little more of what is done here https://github.com/DrPsychick/docker-cups-airprint#manually-through-web-interface

i launched the server (on a raspberry on my lan) with CUPS_WEBINTERFACE="yes" and CUPS_REMOTE_ADMIN="yes" and i was not able to control it from the PC, than issued the sed reported above and it allowed me to remote control.

from docker-cups-airprint.

DrPsychick avatar DrPsychick commented on June 9, 2024

So I checked on my running container with cupsctl --no-remote-admin vs. cupsctl --remote-admin --remote-any. It does actually set exactly what your proposed changes do - it adds an Allow all to the "Location" entries in cupsd.conf.

@FrancYescO can you check and verify that the command actually do what you need? If so, I'd rather stick to the official cupsctl than modifying the config by hand.

If, on the other hand, your goal cannot be achieved with cupsctl, let's figure out how we can add this as feature.

from docker-cups-airprint.

DrPsychick avatar DrPsychick commented on June 9, 2024

Just thinking out loud: it could be the ServerAlias * and DefaultEncryption Never you're adding. I found that cups is quite picky when it comes to SSL.

@FrancYescO You could add variables that allow adding those settings in start-cups.sh and open a pull request

from docker-cups-airprint.

FrancYescO avatar FrancYescO commented on June 9, 2024

i can confirm that DefaultEncryption Never is what fixes the issue, without this line you want get the basic auth popup but:
immagine

And idk if the issue is related to this, but doing this edit allow me also to use the admin webinterface from MacOS, so you could cleanup the readme

from docker-cups-airprint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.