Group not locally valid (managed over LDAP)

Help
2007-01-17
2013-03-22
  • Nat Makarevitch

    Nat Makarevitch - 2007-01-17

    Konstantin Münning writes:

    -=-=-=-=
    In file /usr/sbin/smbldap-groupmod line 74:

    my $gid = getgrnam($groupName);

    Here the group to be modified is queried. This is wrong in the case
    where the groups managed over LDAP are not valid for the system where
    you use the command. So adding a member to an existing group results in
    the "group $groupName not found!" message even if the group does exist
    in LDAP.

    Resolution: instead of using getgrnam($groupName) query the LDAP server.

    Thanks to Konstantin!

     
    • Tournier

      Tournier - 2007-07-04

      fixed in next release. Thanks

       

Log in to post a comment.