2008-05-25 13:59:32 UTC
I forgot to paste the permissions for mysql users.
Replace 'itbm' with the name of your database.
-- grant.sql start --------
grant usage on *.* to 'nss-root'@'localhost';
grant usage on *.* to 'nss-user'@'localhost';
grant select (name, id, home, shell, password)
on itbm.users
To 'nss-user'@'localhost', 'nss-root'@'localhost';
grant select (name, password, id)
on itbm.groups
to 'nss-root'@'localhost', 'nss-user'@'localhost';
grant select (uid, gid, main)
on itbm.users_groups
to 'nss-root'@'localhost', 'nss-user'@'localhost';
-- grant.sql end ----------