In standart authmysqlrc:
##NAME: MYSQL_SELECT_CLAUSE:0
#
# (EXPERIMENTAL)
# This is optional, MYSQL_SELECT_CLAUSE can be set when you have a database,
# which is structuraly different from proposed. The fixed string will
# be used to do a SELECT operation on database, which should return fields
# in order specified bellow:
#
# username, cryptpw, uid, gid, clearpw, home, maildir, quota, fullname
But line 759 in authlib/authmysqllib.c:
row = mysql_fetch_row (result);
ui.username=strdup(row[0]);
ui.cryptpw=strdup(row[1]);
ui.clearpw=strdup(row[2]);
ui.uid=atol(row[3]);
ui.gid=atol(row[4]);
ui.home=strdup(row[5]);
ui.maildir=strdup(row[6]);
ui.quota=strdup(row[7]);
ui.fullname=strdup(row[8]);
SO....The true order is:
username, cryptpw, clearpw, uid, gid, home, maildir, quota, fullname
authmysqllib has no debug logging code :( i had to manually add it)
-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members!
JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users