Hello Paul, i just edited sql_mysql.c and added what you suggested. like this:
mysql_sock = sqlsocket->conn;
radlog(L_DBG, "rlm_sql_mysql: *mysql_sock: %d, rlm_sql_mysql_sock: %d",
sizeof(*mysql_sock), sizeof(rlm_sql_mysql_sock));
memset(mysql_sock, 0, sizeof(*mysql_sock));
radlog(L_INFO, "rlm_sql_mysql: Starting connect to MySQL server for #%d",
sqlsocket->id);
And here's the core dump output:
Actually, what we want now is the end of the output from {free}radiusd -X,
since that code will output debugging information in the log.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html