FreeBSD Port: cyrus-sasl-2.1.21 -- Couldn't update db

Hajimu UMEMOTO ume at freebsd.org
Thu Jun 2 12:11:22 GMT 2005


Hi,

>>>>> On Thu, 2 Jun 2005 12:17:19 +0200
>>>>> Mark Edwards <mark at antsclimbtree.com> said:

mark> It occurs every time saslpasswd2 updates the db.  The db is 
mark> successfully updated, but there is a warning issued.  When saslauthd 
mark> updates the db, no warning.

mark> I also get the following non-sensical warnings in /var/log/auth.log:

mark> Jun  2 02:03:49 lilbuddy imaps[61325]: no user in db
mark> Jun  2 02:18:30 lilbuddy exim: no user in db

You can simply ignore the messages.  You can see following chunk in
saslpasswd.c:

      /* Either we were setting and succeeded or we were disabling and
	 failed.  In either case, we want to wipe old entries */

      /* Delete the possibly old entries */
      /* We don't care if these fail */
      propctx = prop_new(0);
      if (!propctx) ret = SASL_FAIL;
      if (!ret) ret = prop_request(propctx, delete_request);
      if (!ret) {
	  ret = prop_set(propctx, "cmusaslsecretCRAM-MD5", NULL, 0);
	  ret = prop_set(propctx, "cmusaslsecretDIGEST-MD5", NULL, 0);
	  ret = prop_set(propctx, "cmusaslsecretPLAIN", NULL, 0);
	  ret = sasl_auxprop_store(conn, propctx, userid);
      }
      if (propctx) prop_dispose(&propctx);

The messages are out by this compatibility craft.

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


More information about the freebsd-ports mailing list