I said: > I would suggest adding more paranoia along these lines: Actually the correct patch is as per attached. Even without a core dump, the original code would not print the token that was really causing the problem :-(. Please apply this patch and then tell us what you see with winbind.
regards, tom lane Index: hba.c =================================================================== RCS file: /cvsroot/pgsql-server/src/backend/libpq/hba.c,v retrieving revision 1.116.2.1 diff -c -r1.116.2.1 hba.c *** hba.c 5 Dec 2003 15:50:39 -0000 1.116.2.1 --- hba.c 25 May 2004 19:06:54 -0000 *************** *** 124,137 **** if (buf >= end_buf) { ereport(LOG, (errcode(ERRCODE_CONFIG_FILE_ERROR), errmsg("authentication file token too long, skipping: \"%s\"", ! buf))); /* Discard remainder of line */ while ((c = getc(fp)) != EOF && c != '\n') ; - buf[0] = '\0'; break; } --- 124,137 ---- if (buf >= end_buf) { + *buf = '\0'; ereport(LOG, (errcode(ERRCODE_CONFIG_FILE_ERROR), errmsg("authentication file token too long, skipping: \"%s\"", ! start_buf))); /* Discard remainder of line */ while ((c = getc(fp)) != EOF && c != '\n') ; break; } ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])