Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.samba > #60468

[Samba] Samba 4.6 ID Mapping clarification

From "Paul R. Ganci via samba" <samba@lists.samba.org>
Newsgroups linux.samba
Subject [Samba] Samba 4.6 ID Mapping clarification
Date 2017-03-18 23:40 +0100
Message-ID <tmvaW-4CV-27@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Recently there has been a lot of chatter of where and when to specify ID 
mapping ranges. In fact, the wiki is quite explicit now:

    /"ID mapping back ends are not supported in the smb.conf file on a
    Samba Active Directory (AD) domain controller (DC)."/

I also saw a recommendation on this list to run testparm to check the 
smb.conf for problems after upgrading to Samba 4.6. Last night I 
upgraded my AD DC and ran testparm. I get this result:


 > testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[netlogon]"
Processing section "[sysvol]"
Processing section "[Profiles]"
Processing section "[home]"
Loaded services file OK.
idmap range not specified for domain '*'
ERROR: Invalid idmap range for domain *!

Server role: ROLE_ACTIVE_DIRECTORY_DC

<snipped dump of service definitions>

Note the two lines indicating that the idmap range is not specifed for 
domain '*' and that is flagged as an error. Is this a bug in testparm 
program which should not be flagging the idmap range or is it only idmap 
ranges for the AD DC domain that should not be mapped. I did not add any 
idmap ranges at all in my AD DC smb.conf. It would seem to me that given 
the explicit wiki statement that the testparm check is buggy.

For the record I am running Sernet Samba 4.6 on a CentOS 6.8 system.

-- 
Paul
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Back to linux.samba | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[Samba] Samba 4.6 ID Mapping clarification "Paul R. Ganci via samba" <samba@lists.samba.org> - 2017-03-18 23:40 +0100
  Re: [Samba] Samba 4.6 ID Mapping clarification Rowland Penny via samba <samba@lists.samba.org> - 2017-03-19 00:10 +0100

csiph-web