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

tARDiDan

Cadet
Joined
Feb 14, 2019
Messages
9
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

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,545
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!
 

tARDiDan

Cadet
Joined
Feb 14, 2019
Messages
9
thanks a lot !
that's work (tested with a reboot, and a new ldap conf with the http interface)
 
Top