[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: uri="" bug



On Sun, 4 Apr 2010, DT Piotr Wadas wrote:

> 
> Hello,
> 
> http://www.openldap.org/lists/openldap-technical/201001/msg00181.html
> 
> Is it in progress or fixed in repository, or should I try to create a 
> patch?
> 
> P.
> 


Seems to be this ( I bet i=integer, b=ber, s=string), but what is "x" ? 
This comes from adding slap_sb_uri a few lines above, to parse uri= 
attribute. Sorry for new thread, I don't know how to continue previously 
reported..

2.4.20 => 2.4.21 

-  { BER_BVC("uri="), offsetof(slap_bindconf, sb_uri), 'b', 1, NULL },
+  { BER_BVC("uri="), 0, 'x', 1, slap_sb_uri },
   { BER_BVC("version="), offsetof(slap_bindconf, sb_version), 'i', 0, versionkey },
  { BER_BVC("bindmethod="), offsetof(slap_bindconf, sb_method), 'i', 0, methkey },
  { BER_BVC("timeout="), offsetof(slap_bindconf, sb_timeout_api), 'i', 0, NULL },
  { BER_BVC("network-timeout="), offsetof(slap_bindconf, sb_timeout_net), 'i', 0, NULL },
  { BER_BVC("binddn="), offsetof(slap_bindconf, sb_binddn), 'b', 1, (slap_verbmasks *)dnNormalize },
  { BER_BVC("credentials="), offsetof(slap_bindconf, sb_cred), 'b', 1, NULL },
  { BER_BVC("saslmech="), offsetof(slap_bindconf, sb_saslmech), 'b', 0, NULL },
  { BER_BVC("secprops="), offsetof(slap_bindconf, sb_secprops), 's', 0, NULL },
  { BER_BVC("realm="), offsetof(slap_bindconf, sb_realm), 'b', 0, NULL },
  { BER_BVC("authcID="), offsetof(slap_bindconf, sb_authcId), 'b', 1, NULL },
  { BER_BVC("authzID="), offsetof(slap_bindconf, sb_authzId), 'b', 1, (slap_verbmasks *)authzNormalize },