Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

idmap backend syntax bug (may be?) in smb4.conf

Joined
Feb 14, 2019
Messages
8
Thanks
1
#1
Hello,

For
FreeNAS-11.2-U2.1
(Build Date: Feb 27, 2019 20:59)


May be a bug (not found in database) ?

When using a ldap backend for AD, the sm4.cong generated syntax by freenas is :
idmap config MYDOMAIN : ldap url = ldap://myldap
idmap config MYDOMAIN : ldap base dn = ou=idmap,dc=ldap
This conf does not work

but it should be ( https://www.samba.org/samba/docs/current/man-html/idmap_rfc2307.8.html)
idmap config MYDOMAIN : ldap_url = ldap://myldap
idmap config MYDOMAIN : ldap_base_dn = ou=idmap,dc=ldap
This conf does work

only a _ char problem....

Thanks !
 

anodos

Belly-button Lint Extraordinaire
iXsystems
Joined
Mar 6, 2014
Messages
5,277
Thanks
1,431
#2
Hello,

For
FreeNAS-11.2-U2.1
(Build Date: Feb 27, 2019 20:59)


May be a bug (not found in database) ?

When using a ldap backend for AD, the sm4.cong generated syntax by freenas is :
idmap config MYDOMAIN : ldap url = ldap://myldap
idmap config MYDOMAIN : ldap base dn = ou=idmap,dc=ldap
This conf does not work

but it should be ( https://www.samba.org/samba/docs/current/man-html/idmap_rfc2307.8.html)
idmap config MYDOMAIN : ldap_url = ldap://myldap
idmap config MYDOMAIN : ldap_base_dn = ou=idmap,dc=ldap
This conf does work

only a _ char problem....

Thanks !
Okay. I'll go ahead and fix it. Thanks!
 
Top