LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-31-2015, 03:03 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Post 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.
 
Old 10-31-2015, 05:33 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
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.
 
Old 11-01-2015, 03:34 AM   #3
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Thank you.
It show me below error :

adding entry for group full failed!
 
Old 11-01-2015, 04:16 AM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by hack3rcon View Post
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.
 
Old 11-02-2015, 04:41 AM   #5
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Which Log file can tell it?
 
Old 11-02-2015, 05:37 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,804

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
probably the log of samba, it is specified in the smb.conf
probably the group was created you may need to check it
 
Old 11-02-2015, 07:53 AM   #7
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
It is Samba-Sernet.
 
Old 11-02-2015, 08:23 AM   #8
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
"At SerNet you get the best Samba support out there"

Time to use it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can I use Unetbootin's HDD mode with my Acer Espire ES1-511 UEFI frimware? anon261 Linux - Newbie 9 10-19-2015 08:28 AM
LXer: With greater permissions, comes greater responsibility LXer Syndicated Linux News 0 02-20-2014 03:11 PM
Does Any one Have the driver for Netgear RangeMax Wireless PC Card 511 NickRudd Linux - Software 1 01-26-2014 08:38 PM
[SOLVED] Puppy 511 boots half way then error.... philman Linux - Newbie 2 11-29-2010 06:46 PM
No Greater Gift ... moorege LinuxQuestions.org Member Intro 0 08-24-2003 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration