This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, 6.1 has been updated
       via  27c07432f324d18e9834c570459b9221e1f25e9a (commit)
      from  5aa4fd0b33e309c655df18ed79eeece21f5c44d6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=27c07432f324d18e9834c570459b9221e1f25e9a

commit 27c07432f324d18e9834c570459b9221e1f25e9a
Author: Franck Villaume <franck.villa...@trivialdev.com>
Date:   Mon Mar 19 12:41:27 2018 +0000

    fix nss integration

diff --git a/src/post-install.d/shell/shell.sh 
b/src/post-install.d/shell/shell.sh
index 4b29354..61f22cf 100755
--- a/src/post-install.d/shell/shell.sh
+++ b/src/post-install.d/shell/shell.sh
@@ -52,8 +52,8 @@ connectionstring = user=$db_user_nss dbname=$db_name $hostconf
 
 
 #----------------- NSS queries
-getpwnam        = SELECT login AS username,passwd,gecos,('$homedir_prefix' || 
login) AS homedir,shell,uid,$gid FROM nss_passwd WHERE login = \$1
-getpwuid        = SELECT login AS username,passwd,gecos,('$homedir_prefix' || 
login) AS homedir,shell,uid,$gid FROM nss_passwd WHERE uid = \$1
+getpwnam        = SELECT login AS username,'x',gecos,('$homedir_prefix' || 
login) AS homedir,shell,uid,$gid FROM nss_passwd WHERE login = \$1
+getpwuid        = SELECT login AS username,'x',gecos,('$homedir_prefix' || 
login) AS homedir,shell,uid,$gid FROM nss_passwd WHERE uid = \$1
 #allusers        = SELECT login AS username,passwd,gecos,('$homedir_prefix' || 
login) AS homedir,shell,uid,$gid FROM nss_passwd
 getgroupmembersbygid = SELECT login AS username FROM nss_passwd WHERE $gid = 
\$1
 getgrnam = SELECT name AS groupname,'x',gid,ARRAY(SELECT user_name FROM 
nss_usergroups WHERE nss_usergroups.gid = nss_groups.gid) AS members FROM 
nss_groups WHERE name = \$1

-----------------------------------------------------------------------

Summary of changes:
 src/post-install.d/shell/shell.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
Fusionforge-commits@lists.fusionforge.org
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to