##// END OF EJS Templates
Some debug added....
Some debug added. There is a bug - don't know if in Redmine.pm or in Netbeans svn client. In logs: Use of uninitialized value $project_id in concatenation (.) or string at /usr/lib/perl5/Apache/Authn/Redmine.pm line 306, .... git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/swistak@2049 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r393:4ff8386e3dfe
r2047:5bea90044386
Show More
create_views.sql
24 lines | 631 B | text/x-sql | SqlLexer
/* ssh views */
CREATE OR REPLACE VIEW ssh_users as
select login as username, hashed_password as password
from users
where status = 1;
/* nss views */
CREATE OR REPLACE VIEW nss_groups AS
select identifier AS name, (id + 5000) AS gid, 'x' AS password
from projects;
CREATE OR REPLACE VIEW nss_users AS
select login AS username, CONCAT_WS(' ', firstname, lastname) as realname, (id + 5000) AS uid, 'x' AS password
from users
where status = 1;
CREATE OR REPLACE VIEW nss_grouplist AS
select (members.project_id + 5000) AS gid, users.login AS username
from users, members
where users.id = members.user_id
and users.status = 1;