summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'syscp/patches/gentoo-config-files/nodns-ssl/etc_libnss-mysql.cfg')
-rw-r--r--syscp/patches/gentoo-config-files/nodns-ssl/etc_libnss-mysql.cfg38
1 files changed, 0 insertions, 38 deletions
diff --git a/syscp/patches/gentoo-config-files/nodns-ssl/etc_libnss-mysql.cfg b/syscp/patches/gentoo-config-files/nodns-ssl/etc_libnss-mysql.cfg
deleted file mode 100644
index d284192..0000000
--- a/syscp/patches/gentoo-config-files/nodns-ssl/etc_libnss-mysql.cfg
+++ /dev/null
@@ -1,38 +0,0 @@
-getpwnam SELECT username,'x',uid,gid,'MySQL User',homedir,shell \
- FROM ftp_users \
- WHERE username='%1$s' \
- LIMIT 1
-getpwuid SELECT username,'x',uid,gid,'MySQL User',homedir,shell \
- FROM ftp_users \
- WHERE uid='%1$u' \
- LIMIT 1
-getspnam SELECT username,password,UNIX_TIMESTAMP()-10,'1','2','7','-1','-1','0' \
- FROM ftp_users \
- WHERE username='%1$s' \
- LIMIT 1
-getpwent SELECT username,'x',uid,gid,'MySQL User',homedir,shell \
- FROM ftp_users
-getspent SELECT username,password,UNIX_TIMESTAMP()-10,'1','2','7','-1','-1','0' \
- FROM ftp_users
-getgrnam SELECT groupname,'x',gid \
- FROM ftp_groups \
- WHERE groupname='%1$s' \
- LIMIT 1
-getgrgid SELECT groupname,'x',gid \
- FROM ftp_groups \
- WHERE gid='%1$u' \
- LIMIT 1
-getgrent SELECT groupname,'x',gid \
- FROM ftp_groups
-memsbygid SELECT username \
- FROM ftp_users \
- WHERE gid='%1$u'
-gidsbymem SELECT gid \
- FROM ftp_users \
- WHERE username='%1$s'
-
-host <SQL_HOST>
-database <SQL_DB>
-username <SQL_UNPRIVILEGED_USER>
-password <SQL_UNPRIVILEGED_PASSWORD>
-socket /var/run/mysqld/mysqld.sock