[cups.bugs] Re: [LOW] STR #1733: ldap modify doesn't work
dkastens.uos
dkastens at uos.de
Tue May 30 06:12:41 PDT 2006
[STR New]
I also changed the ldap code in dirsvc.c, so that now cupsd adds a new
defined cups printer to the ldap directory. There was an error in the
set_ldap_browse function. In the statement
if (ldap_count_entries(BrowseLDAPHandle, res) > 0)
{
....
}
else
{
....
you have to exchange LDAP_MOD_REPLACE with LDAP_MOD_ADD and ldap_modify_s
with ldap_add_s.
Link: http://www.cups.org/str.php?L1733
Version: 1.2.1
More information about the cups
mailing list