[cups.bugs] Re: [LOW] STR #1733: ldap modify doesn't work

Dirk Kastens Dirk.Kastens at uni-osnabrueck.de
Wed May 31 06:05:27 PDT 2006


Mike,

Michael Sweet schrieb:
> [STR Closed w/Resolution]
> 
> Fixed in Subversion repository.
> 
> Link: http://www.cups.org/str.php?L1733
> Version: 1.2.1
> Fix Version: 1.3-current (r5602)

Your patch now adds an ldap printer with two cn values: the printer name 
and the printer description. I made two changes, so that the ldap 
printer will be created with only one cn: the printer name:

2682c2682
<   cn_value[0]   = p->info;
---
 >   cn_value[0]   = p->name;
2696c2696
<            "(&(objectclass=cupsPrinter)(printerDescription~=%s))", 
p->info);
---
 >            "(&(objectclass=cupsPrinter)(cn=%s))", p->name);

-- 
Best wishes,

Dirk Kastens
Universitaet Osnabrueck, Rechenzentrum (Computer Center)
Albrechtstr. 28, 49069 Osnabrueck, Germany
Tel.: +49-541-969-2347, FAX: -2470





More information about the cups-devel mailing list