Menu ▾ ▴

cpu won't delete any groups

Help
2003-12-01
2003-12-31
  • Sonny Taberman

    Sonny Taberman - 2003-12-01

    I have got cpu to work quit nice but there is one thing.

    If I create a group using the command as follows:
    cpu groupadd mygroup
    Group mygroup successfully added!

    That seems to work.

    If I do
    cpu cat

    I find mygroup in the listing like this:
    mygroup❌503:

    Now if I try to delete mygroup via this command:
    cpu groupdel mygroup

    This is my result.
    CPU: checkIsPrimaryGroup: ldap_search_st: No such object
    The group mygroup specified could not be found in the directory.
    Make sure the group is valid and the correct base for the group has been specified.
    groupdel: cannot remove user's primary group.

    I guess my setup in cpu.conf is correct since I manage to create mygroup. And if so should not cpu use the same setup when trying to find mygroup to delete?

    The ldif for mygroup looks like this:
    # mygroup, Group, lan-master.se
    dn: cn= mygroup,ou=Group,dc=lan-master,dc=se
    objectClass: posixGroup
    objectClass: top
    cn: mygroup
    gidNumber: 503

    Any ideas of what I might have missed.

    /Sonny

     
    • Blake Matheny

      Blake Matheny - 2003-12-31

      Sorry for the delay, I never check the forums (use the lists). Could you try CVS and let me know if it is fixed, also, please use the lists.

       

Log in to post a comment.