> have a look at : > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/51768 > (sorry I dirt your code :)) > It's *really* dirty :) but it works :-)
It's actually a pretty good hack :-) I actually forgot that I'd run across this port earlier. It doesn't link on my system (removed -Bgroup to get it to work) and the configuration file in config.h ended up being "NONE/etc/libnss-mysql.cfg" .. so that's a bit broken.. and I'm also getting some warnings inside _nss_mysql_is_same_sockaddr but I was able to log in as cinergi. I'm curious how it worked tho .. I thought the function calls had to be something like: _nss_mysql_getpwnam_r (void *retval, void *mdata, va_list ap) and not _nss_mysql_getpwnam_r (const char *name, struct passwd *result, char *buffer, size_t buflen, int *errnop) I don't think I fully understand ns_mtab ... I see your mtab array .. which is different than how I conceived it.. anyway I'll let someone clarify. I'll still get this to compile cleanly without patches etc etc ... with your help that shouldn't take too long. Thanks! -=| Ben _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"