Skip to content

ldap modify doesn't work #1733

@michaelrsweet

Description

@michaelrsweet

Version: 1.2.1
CUPS.org User: dkastens.uos

I have defined the cups printer "psrzma" with the description "HP LaserJet 5Si/Mx". When I configure ldap browsing, cupsd tries to update the cupsprinter entry in my ldap storage. It uses the following ldap filter:
(&(objectClass=cupsPrinter)(printerDescription~=HP LaserJet 5Si/Mx))
and then tries to update the ldap entry "cn=HP LaserJet 5Si/Mx", which doesn't exist, of course, because the printer is named "cn=psrzma".
When I rename the ldap printer to "cn=HP LaserJet 5Si/Mx", cupsd modifies the entry, but it deletes the printerMakeAndModel attribute. During the next browsing period cupsd finds the entry but it dies with a segmentation fault, because the printerMakeAndModel attribute is missing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions