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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.