Koozali.org: home of the SME Server
Contribs.org Forums => Koozali SME Server 10.x => Topic started by: john56 on May 08, 2023, 08:31:30 PM
-
Hi,
i have this problem with tesparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
idmap range not specified for domain '*'
ERROR: Invalid idmap range for domain *!
Server role: ROLE_DOMAIN_PDC
I have no idea of the origin of the issue.
Thanks for your help.
-
Please stick to one post - I sure this is related to your later post.
This refers.
https://forums.koozali.org/index.php/topic,54995.0.html
-
Hi, i still have the issue. any help would be appreciate. Thanks.
-
A bit of reading (like I have just done) will take you here.
https://linux.samba.narkive.com/lciVqqkN/samba-error-invalid-idmap-range-for-domain
And here (which I actually found first)
https://bugzilla.samba.org/show_bug.cgi?id=12629
It's a samba bug with testparm.
At a guess Redhat - who CentOS build from - never backported it to EL7.
Remember RH build Samba without AD and a few other oddities so it isn't a 'pure Samba' build and they may have missed or excluded this patch.
May be more on RH or CentOS sites.
Unless your system has errors - or you feel like compiling yourself with the patch - you can ignore this.
-
"testparm" is not made for Samba in AD DC mode. "samba-tool testparm" is what needs to be called on AD DCs
https://bugzilla.samba.org/show_bug.cgi?id=12629
-
"testparm" is not made for Samba in AD DC mode. "samba-tool testparm" is what needs to be called on AD DCs
https://bugzilla.samba.org/show_bug.cgi?id=12629
SME is not in AD mode. RH version does not have it.
But see c3, and c7.
https://bugzilla.samba.org/show_bug.cgi?id=12629#c3
I think a check is also needed, if the server role is ROLE_DOMAIN_PDC
testparm as used on SME seems to have this bug but not fixed by RH.