Allow printer-dns-sd-name to be set
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- c
- Domain
- backend, documentation, web-dev
Research direction
Start by tracing printer attributes and configuration handling in printers.conf and classes.conf, then inspect add_class, add_printer, set_printer_attrs, and cups/encode.c. Review the lpadmin, classes.conf, and printers.conf man pages, along with admin.cgi and its templates. Done means all checklist items are implemented, including a DNS-SD name field limited to 63 bytes.
Written by the indexing model from the issue text.
Description
Currently cupsd doesn't allow the user/admin to change the printer-dns-sd-name value. We want to change that (already supported for CUPS 3.0 via PAPPL):
- Load/save printer-dns-sd-name (
reg_name) values in printers.conf and classes.conf - Update
add_class,add_printer, andset_printer_attrsto allow "printer-dns-sd-name" to be changed - Make sure that "printer-dns-sd-name" is listed in cups/encode.c
- Document setting values in the lpadmin man page
- Update the classes.conf and printers.conf man pages
- Update admin.cgi and the templates to provide a text field for setting/changing the DNS-SD name (up to 63 bytes).
- Dominant language
- C
- Stars
- 1.8k
- Forks
- 362
- Avg merge
- 1d 46m
- Merged PRs (30d)
- 10
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenPrinting/cups
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenPrinting/cups#1826 ·
Maintainers usually reply within 1 day
-
OAuth (bearer) quota check denies every user when the allowed-user list is emptyPossibly taken @RonitMehta08 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
OpenPrinting/cups#1795 · 1 comment ·
Maintainers usually reply within 1 day
-
cupsdGetPrivateAttrs: @ACL never grants access, and @OWNER is looked up as an operating-system group for non-ownersPossibly taken @user-Param claimed this 7 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
OpenPrinting/cups#1796 ·
Maintainers usually reply within 1 day
-
OAuth/OIDC token-validation gaps: nonce not enforced when absent, at_hash alg, inbound bearer not signature/aud/exp-validated + unverified email used for authzMay be free again @michaelrsweet claimed this 145 days ago, and no pull request is open. Openinvestigating
OpenPrinting/cups#1609 · 1 assignee ·
Maintainers usually reply within 1 day
-
Fix OAuth authorization via web interfaceMay be free again @michaelrsweet claimed this 211 days ago, and no pull request is open. Openbug priority-high security
OpenPrinting/cups#1556 · 8 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in OpenPrinting/cups
Similar issues
-
`sha256()` returns a wrong hash when libsql-ffi is built with gcc 11 or laterPossibly taken @colinhacks claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tursodatabase/libsql#2333 ·
Maintainers usually reply within 11 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Backport to 3.0 advertises a suffix that does not existPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
389ds/389-ds-base#8152 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
RetroAchievements/rcheevos#580 · 1 comment ·
Maintainers usually reply within 5 days
-
meta:feature-request
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
mpv-player/mpv#18855 · 2 comments ·
Maintainers usually reply within 1 day