Leroy van Logchem
Cadet
- Joined
- Jun 17, 2011
- Messages
- 2
Using fresh install of 8.0.1-BETA2 I can't set the service LDAP to 'ON'. A manual ldapsearch on the shell returns results, but the nss configuration does not get rewritten to include ldap.
When closing the LDAP Settings window with 'ok' the following messages appear:
Since these messages are seen both on the working 8.0-RELEASE and failing 8.0.2-BETA2 it seems starting samba (which it does dependably when enabling ldap?) causes the real problem:
Where 8.0-RELEASE doesnt complain, 8.0.2-BETA2 repeats lines about:
On both versions the CIFS config was factory default and untouched.
When closing the LDAP Settings window with 'ok' the following messages appear:
Code:
Jun 18 14:54:33 freenas freenas[1473]: Executing: /usr/sbin/service ldap forcestop Jun 18 14:54:33 freenas freenas: ldap does not exist in /etc/rc.d or the local startup Jun 18 14:54:33 freenas freenas: directories (/usr/local/etc/rc.d) Jun 18 14:54:33 freenas freenas[1473]: Executing: /usr/sbin/service ldap restart Jun 18 14:54:33 freenas freenas: ldap does not exist in /etc/rc.d or the local startup Jun 18 14:54:33 freenas freenas: directories (/usr/local/etc/rc.d)
Since these messages are seen both on the working 8.0-RELEASE and failing 8.0.2-BETA2 it seems starting samba (which it does dependably when enabling ldap?) causes the real problem:
Where 8.0-RELEASE doesnt complain, 8.0.2-BETA2 repeats lines about:
Code:
Jun 18 15:12:05 freenas freenas[1473]: Executing: /usr/sbin/service ix-nsswitch quietstart Jun 18 15:12:05 freenas freenas: Generating host.conf. Jun 18 15:12:05 freenas freenas[1473]: Executing: /usr/sbin/service ix-pam quietstart Jun 18 15:12:06 freenas freenas[1473]: Executing: /usr/sbin/service ix-samba quietstart Jun 18 15:12:06 freenas freenas: fetch_ldap_pw: neither ldap secret retrieved! Jun 18 15:12:06 freenas freenas: ldap_connect_system: Failed to retrieve password from secrets.tdb Jun 18 15:12:06 freenas freenas: Connection to LDAP server failed for the 1 try! Jun 18 15:12:07 freenas freenas: fetch_ldap_pw: neither ldap secret retrieved! Jun 18 15:12:07 freenas freenas: ldap_connect_system: Failed to retrieve password from secrets.tdb <snip - this repeats 15 times, during which the progress indicator in the UI keeps drawing> Jun 18 15:12:20 freenas freenas: Connection to LDAP server failed for the 15 try! Jun 18 15:12:21 freenas freenas: fetch_ldap_pw: neither ldap secret retrieved! Jun 18 15:12:21 freenas freenas: ldap_connect_system: Failed to retrieve password from secrets.tdb Jun 18 15:12:21 freenas freenas[1473]: Executing: /usr/sbin/service samba forcestop Jun 18 15:12:21 freenas freenas: Stopping smbd.
On both versions the CIFS config was factory default and untouched.