Ari Galvao
Cadet
- Joined
- Jan 20, 2017
- Messages
- 1
Hi, I have a test system where I'm trying to implement authentication using LDAP on CentOS 6.8 and FreeNAS 9.10.2
so my LDAP system is operational for user auth and FreeNAS can login to it but I cant start the SMB service on FreeNAS, I executed the following smb start
/usr/local/sbin/smbd --interactive --debuglevel=3
and see the error as a sambadomain syntax error per below.
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px 'Andale Mono'; color: #28fe14; background-color: #000000; background-color: rgba(0, 0, 0, 0.9)} span.s1 {font-variant-ligatures: no-common-ligatures} span.Apple-tab-span {white-space:pre}
smbd version 4.4.5 started.
Copyright Andrew Tridgell and the Samba Team 1992-2016
uid=0 gid=0 euid=0 egid=0
lp_load_ex: refreshing parameters
Initialising global parameters
Processing section "[global]"
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
lp_load_ex: refreshing parameters
Initialising global parameters
Processing section "[global]"
Processing section "[TEST]"
Processing section "[WINSHARE]"
adding IPC service
added interface lo0 ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
added interface em0 ip=192.168.5.45 bcast=192.168.5.255 netmask=255.255.255.0
loaded services
INFO: Profiling support unavailable in this build.
No builtin backend found, trying to load plugin
Module 'ldapsam' loaded
smbldap_search_domain_info: Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=GALVAOTECH))]
smbldap_open_connection: connection opened
ldap_connect_system: successful connection to the LDAP server
smbldap_search_domain_info: Got no domain info entries for domain
add_new_domain_info: Adding new domain
add_new_domain_info: failed to add domain dn= sambaDomainName=GALVAOTECH,dc=galvaotech,dc=int with: Invalid DN syntax
invalid DN
smbldap_search_domain_info: Adding domain info for GALVAOTECH failed with NT_STATUS_UNSUCCESSFUL
pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the domain. We cannot work reliably without it.
pdb backend ldapsam:ldap://192.168.5.2 did not correctly init (error was NT_STATUS_CANT_ACCESS_DOMAIN_INFO)
can anyone help, I hate to have to buy Windows license to manage share access :)
so my LDAP system is operational for user auth and FreeNAS can login to it but I cant start the SMB service on FreeNAS, I executed the following smb start
/usr/local/sbin/smbd --interactive --debuglevel=3
and see the error as a sambadomain syntax error per below.
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px 'Andale Mono'; color: #28fe14; background-color: #000000; background-color: rgba(0, 0, 0, 0.9)} span.s1 {font-variant-ligatures: no-common-ligatures} span.Apple-tab-span {white-space:pre}
smbd version 4.4.5 started.
Copyright Andrew Tridgell and the Samba Team 1992-2016
uid=0 gid=0 euid=0 egid=0
lp_load_ex: refreshing parameters
Initialising global parameters
Processing section "[global]"
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
lp_load_ex: refreshing parameters
Initialising global parameters
Processing section "[global]"
Processing section "[TEST]"
Processing section "[WINSHARE]"
adding IPC service
added interface lo0 ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
added interface em0 ip=192.168.5.45 bcast=192.168.5.255 netmask=255.255.255.0
loaded services
INFO: Profiling support unavailable in this build.
No builtin backend found, trying to load plugin
Module 'ldapsam' loaded
smbldap_search_domain_info: Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=GALVAOTECH))]
smbldap_open_connection: connection opened
ldap_connect_system: successful connection to the LDAP server
smbldap_search_domain_info: Got no domain info entries for domain
add_new_domain_info: Adding new domain
add_new_domain_info: failed to add domain dn= sambaDomainName=GALVAOTECH,dc=galvaotech,dc=int with: Invalid DN syntax
invalid DN
smbldap_search_domain_info: Adding domain info for GALVAOTECH failed with NT_STATUS_UNSUCCESSFUL
pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the domain. We cannot work reliably without it.
pdb backend ldapsam:ldap://192.168.5.2 did not correctly init (error was NT_STATUS_CANT_ACCESS_DOMAIN_INFO)
can anyone help, I hate to have to buy Windows license to manage share access :)