[Samba] Id maaping

Samba @ Pegasusnz samba at pegasusnz.com
Tue May 20 21:32:31 UTC 2025


Hi

After upgrading to 4.22
The id mapping for AD doesn’t seem to work

This is my smb.conf for id mapping

 workgroup = BALEWAN
	idmap config * : backend = tdb
	idmap config * : range = 3000-9999
	idmap config BALEWAN : backend = ad
	#idmap config BALEWAN:schema_mode = rfc2307
	idmap config BALEWAN : range = 10000-99999
	idmap config BALEWAN : unix_nss_info = yes
	idmap config BALEWAN : unix_primary_group = yes

This has worked for years. If I comment out the BALEWAN lines and restart it works but the mapping is wrong

I have 3 DCs one is offline, power saving. One is on a bitcoin miner running  4.15.13-Ubuntu and the main DC is 4.22.1-Debian-4.22.1+dfsg-1

Thank you for any guidance 

Regards

Callum





More information about the samba mailing list