PDA

View Full Version : Chown


NOKSY
5th February 2009, 12:12
Hi all,
I'm new on this forum, it's my 1st post and i hope you will help me :)

I followed the "how to" : Mandriva Directory Server On Debian Etch from Oliver Meyer.

When i enter this command : chown -R :"Domain Users" /home/samba/, I got an error message : chown: ': Domain Users': invalid group

Could you help me please ?

marpada
5th February 2009, 14:46
I guess previously you have to create that group

# groupadd DomainUsers

P.S. I don't think you can use group names with spaces
________
Sex Advice Advice (http://www.love-help.org/sex-advice/)
________
SIDE EFFECTS FROM AVANDIA (http://www.classactionsettlements.org/lawsuit/avandia/)

NOKSY
5th February 2009, 15:52
Thanks for your post, but if I test with the group "Users", same error, so i think, it's not a space problem.

marpada
5th February 2009, 16:51
Have you created the "Users" group previously?
________
Fack tube (http://www.fucktube.com/)
________
No2 Vaporizer (http://vapirno2.net)

NOKSY
5th February 2009, 16:59
Yes, i think i found the problem but i don't know how resole it.
I think it's a ldap bind's problem.
When I try to change a permission on a folder, all groups from my ldap db are not presents.

But they exist, because when i type : slapcat | grep sambaDomainName, i see them.

An idea ?