X-Git-Url: http://git.home-dn.net/?p=manu%2Flibnss-mysql-bg.git;a=blobdiff_plain;f=sample%2Ffreebsd%2Flibnss-mysql.cfg;h=b43548cccb3c4a3a215b23869f7ea085e2ae1f07;hp=1281178df16019740cd9f7c662fa6ad34772f1ac;hb=75d22ff1f02a956aa30951abb80e2fd27af71285;hpb=663310f43c62dbbbfea672a4bacb10d4b040d4c3 diff --git a/sample/freebsd/libnss-mysql.cfg b/sample/freebsd/libnss-mysql.cfg index 1281178..b43548c 100644 --- a/sample/freebsd/libnss-mysql.cfg +++ b/sample/freebsd/libnss-mysql.cfg @@ -1,7 +1,7 @@ getpwnam SELECT username,'*',uid,gid,pwchange,class,gecos,homedir,shell, \ expire \ FROM users \ - WHERE username='%1$s' + WHERE username='%1$s' \ LIMIT 1 getpwuid SELECT username,'*',uid,gid,pwchange,class,gecos,homedir,shell, \ expire \ @@ -34,7 +34,4 @@ username nss-user password userpass #socket /var/lib/mysql/mysql.sock #port 3306 -timeout 3 -compress 0 -#initcmd sql-statement-here