LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   RID must be greater than 511 (https://www.linuxquestions.org/questions/linux-server-73/rid-must-be-greater-than-511-a-4175557617/)

hack3rcon 10-31-2015 03:03 AM

RID must be greater than 511
 
Hello.
I installed CentOS 7 x64 with Samba-Sernet. I create a samba Group with the name "full" and want map it to a Linux group :

# groupadd -g 2520 linux-full
# chgrp -R linux-full /mnt/myshare
# net groupmap add rid-2520 ntgroup='full' unixgroup='linux-full'

But I got :

RID must be greater than 511

Any idea? Is it an error ?

Tnx.

berndbausch 10-31-2015 05:33 AM

Code:

# net groupmap add rid-2520 ntgroup='full' unixgroup='linux-full'
I suppose you wanted to say rid=2520. Not a dash, but an equals sign.

hack3rcon 11-01-2015 03:34 AM

Thank you.
It show me below error :

adding entry for group full failed!

berndbausch 11-01-2015 04:16 AM

Quote:

Originally Posted by hack3rcon (Post 5443119)
Thank you.
It show me below error :

adding entry for group full failed!

I don't know Samba and the net groupadd command that well. While I might be able to help you after reading the documentation and searching the error string on the internet, I think you should investigate this first. If you come up empty-handed, I will try to help.

As a first step, I would look for ways to get a better error message. Perhaps the net command has a verbose or debug option, perhaps there are log files somewhere that contain more information.

hack3rcon 11-02-2015 04:41 AM

Which Log file can tell it?

pan64 11-02-2015 05:37 AM

probably the log of samba, it is specified in the smb.conf
probably the group was created you may need to check it

hack3rcon 11-02-2015 07:53 AM

It is Samba-Sernet.

berndbausch 11-02-2015 08:23 AM

"At SerNet you get the best Samba support out there"

Time to use it.


All times are GMT -5. The time now is 04:51 AM.