IDMAP_LDAP(8) System Administration tools IDMAP_LDAP(8) (NAME) idmap_ldap - idmap_ldap Winbind (DESCRIPTION) idmap_ldap Winbind SID/uid/gid LDAP . idmap_rid (allocating) . IDMAP (IDMAP OPTIONS) ldap_base_dn = DN (base suffix) SID/uid/gid . idmap_ldap "ldap idmap suffix" /etc/samba/smb.conf . ldap_user_dn = DN (user DN) . net idmap secret ( net(8) ). ldap ldap passdb (anonymous bind) . ldap_url = ldap://server/ LDAP SID/uid/gid . idmap_ldap ldap://localhost . range = low - high UID GID . (EXAMPLES) ldap idmap . idmap . ldap_user_dn "net idmap secret '*' password" . [global] idmap config * : backend = ldap idmap config * : range = 1000000-1999999 idmap config * : ldap_url = ldap://localhost/ idmap config * : ldap_base_dn = ou=idmap,dc=example,dc=com idmap config * : ldap_user_dn = cn=idmap_admin,dc=example,dc=com ldap tdb . DOM1 ldap idmap . . [global] # "backend = tdb" is redundant here since it is the default idmap config * : backend = tdb idmap config * : range = 1000000-1999999 idmap config DOM1 : backend = ldap idmap config DOM1 : range = 2000000-2999999 idmap config DOM1 : read only = yes idmap config DOM1 : ldap_url = ldap://server/ idmap config DOM1 : ldap_base_dn = ou=idmap,dc=dom1,dc=example,dc=com idmap config DOM1 : ldap_user_dn = cn=idmap_admin,dc=dom1,dc=example,dc=com (NOTE) ldap DN . . "net idmap" DN idmap . (AUTHOR) Samba Andrew Tridgell . Samba Samba Team . Samba 4.24.6 08/16/2026 IDMAP_LDAP(8)