Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-22-2008, 08:10 PM   #1
Registered: May 2008
Posts: 89

Rep: Reputation: 15
Samba SMB.CONF + UID/SID range?

Hello All,

I have a very specific question and have been struggling to understand the concept.

Before I begin, id like to add that I've read many Samba FAQ's/HowTos/Guides. I'm still not 100% clear as to why we set them up this way.

Here is the scenario:

Samba acting as PDC in a Windows environment.

We usually Map the "Domain Users" group to the Unix Group "domainusers" using the command:

"Net groupmap add ntgroup=”Domain Admins” unixgroup=domainusers rid=513

Our SMB.conf typically has the following:

idmap uid = 10000-20000
idmap gid = 10000-20000


idmap uid = 16777216-33554431
idmap gid = 16777216-33554431

My questions are as followed:

1)What is the significance of the UID:GID range specified in the smb.conf?

2)Is it necessary for every PDC setup to have this range? if so which is correct?

3) I understand its to map the Domain Users group to our custom unix group - but what will happen if we leave the uid range off the smb.conf?

4) Does a groupmap have to be created for every unix group?

5) What if the workstations are MAC's instead of PC's? Does this entry need to be present in the SMB.conf?

6) What uid/gid range should be used for a PDC?

7) What uid/gid range should be used for a Member server to a NT Domain?

Thank you!
Old 07-23-2008, 07:56 PM   #2
Registered: May 2008
Posts: 89

Original Poster
Rep: Reputation: 15

Please help with any insight that you can..
Old 07-23-2008, 09:37 PM   #3
Registered: May 2008
Posts: 89

Original Poster
Rep: Reputation: 15
Wow this forum moves quick!

Am I not including enough detail? please let me know
Old 08-06-2008, 03:15 PM   #4
Registered: May 2008
Posts: 89

Original Poster
Rep: Reputation: 15



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Samba in Debian, smb.conf: smb passwd file = ?????????? henrnorl Linux - Software 1 10-06-2006 10:43 AM
Samba + smb.conf help. jwholey Linux - Software 1 07-06-2006 12:25 AM
Reinstalling Samba doesn't recover the original /etc/samba/smb.conf Akhran Debian 2 11-11-2005 01:54 AM
samba conf smb.conf regnier Mandriva 5 02-17-2005 05:27 AM
/etc/samba/smb.conf tsitras Linux - Newbie 2 04-09-2004 09:33 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:33 AM.

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