Share

NSS MySQL Library

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Yet another sample for linux

You are viewing a single message from this topic. View all messages.

  1. 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 ----------
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.