Opened 21 months ago
Closed 20 months ago
#723 closed defect (fixed)
ldap seems to have broken for me in RC1
| Reported by: | loiosh | Owned by: | jhixson |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Backend | Version: | 8.0.1-RC1 |
| Keywords: | ldap | Cc: |
Description
okay... I realize I'm a bit of an edge case.
NEVERTHELESS:
I was running 7457 to permit me to use the usb -> serial adapter I have.
I then upgraded to RC1, which I now understand was a bad idea.
I couldn't boot, console would stop before the BTX loaders appeared.
I did a fresh install of fn8, used a blank freenas-v1.db
imported the content of:
storage_disk
storage_diskgroup
storage_mountpoint
storage_volume
tables from my "existing" install to get my data recognized.
I then added ONLY: new admin password, enabled ssh, change swap size/disk to 1g, and added ldap info via the gui.
I then tried to enable the ldap service.
I got a generically useless message: "the service could not be started"
here are logs from my nas (/var/log/messages)
Sep 4 14:14:58 freenas freenas[1682]: Executing: /usr/sbin/service ix-ldap quietstart
Sep 4 14:14:59 freenas freenas[1682]: Executing: /usr/sbin/service ix-nsswitch quietstart
Sep 4 14:14:59 freenas freenas: Generating host.conf.
Sep 4 14:14:59 freenas freenas[1682]: Executing: /usr/sbin/service ix-pam quietstart
Sep 4 14:14:59 freenas freenas[1682]: Executing: /usr/sbin/service ix-samba quietstart
Sep 4 14:14:59 freenas freenas: tdbsam_open: Converting version 0.0 database to version 4.0.
Sep 4 14:14:59 freenas freenas: tdbsam_convert_backup: updated /var/etc/private/passdb.tdb file.
Sep 4 14:14:59 freenas freenas: Importing account for root...ok
Sep 4 14:14:59 freenas freenas[1682]: Executing: /usr/sbin/service samba forcestop
Sep 4 14:14:59 freenas freenas[1682]: Executing: /usr/bin/killall nmbd
Sep 4 14:14:59 freenas freenas: No matching processes were found
Sep 4 14:14:59 freenas freenas[1682]: Executing: /usr/bin/killall smbd
Sep 4 14:14:59 freenas freenas: No matching processes were found
Sep 4 14:14:59 freenas freenas[1682]: Executing: /usr/bin/killall winbindd
Sep 4 14:14:59 freenas freenas: No matching processes were found
Sep 4 14:14:59 freenas freenas[1682]: Executing: /bin/sleep 5
Sep 4 14:15:02 freenas freenas[10371]: Popen()ing: zpool list -H -o health Tank
Sep 4 14:15:04 freenas freenas[1682]: Executing: /usr/sbin/service samba quietstart
Sep 4 14:15:04 freenas freenas: Removing stale Samba tdb files: . done
Sep 4 14:15:05 freenas freenas[1682]: Executing: /usr/sbin/service ix-ldap quietstart
Sep 4 14:15:06 freenas freenas[1682]: Executing: /usr/sbin/service ix-nsswitch quietstart
Sep 4 14:15:06 freenas freenas: Generating host.conf.
Sep 4 14:15:06 freenas freenas[1682]: Executing: /usr/sbin/service ix-pam quietstart
Sep 4 14:15:06 freenas freenas[1682]: Executing: /usr/sbin/service ix-samba quietstart
Sep 4 14:15:06 freenas freenas: tdbsam_open: Converting version 0.0 database to version 4.0.
Sep 4 14:15:06 freenas freenas: tdbsam_convert_backup: updated /var/etc/private/passdb.tdb file.
Sep 4 14:15:06 freenas freenas: Importing account for root...ok
Sep 4 14:15:06 freenas freenas[1682]: Executing: /usr/sbin/service samba forcestop
Sep 4 14:15:06 freenas freenas[1682]: Executing: /usr/bin/killall nmbd
Sep 4 14:15:06 freenas freenas: No matching processes were found
Sep 4 14:15:06 freenas freenas[1682]: Executing: /usr/bin/killall smbd
Sep 4 14:15:06 freenas freenas: No matching processes were found
Sep 4 14:15:06 freenas freenas[1682]: Executing: /usr/bin/killall winbindd
Sep 4 14:15:06 freenas freenas: No matching processes were found
Sep 4 14:15:06 freenas freenas[1682]: Executing: /bin/sleep 5
Sep 4 14:15:11 freenas freenas[1682]: Executing: /usr/sbin/service samba quietstart
Sep 4 14:15:11 freenas freenas: Removing stale Samba tdb files: . done
and the logs from my ldap server:
Sep 4 16:15:00 ldap slapd[5206]: conn=10 fd=23 ACCEPT from IP=10.12.3.7:25354 (IP=0.0.0.0:389)
Sep 4 16:15:00 ldap slapd[5206]: conn=10 op=0 STARTTLS
Sep 4 16:15:00 ldap slapd[5206]: conn=10 op=0 RESULT oid= err=0 text=
Sep 4 16:15:00 ldap slapd[5206]: conn=11 fd=24 ACCEPT from IP=10.12.3.7:18240 (IP=0.0.0.0:389)
Sep 4 16:15:00 ldap slapd[5206]: conn=11 op=0 STARTTLS
Sep 4 16:15:00 ldap slapd[5206]: conn=11 op=0 RESULT oid= err=0 text=
Sep 4 16:15:00 ldap slapd[5206]: conn=12 fd=25 ACCEPT from IP=10.12.3.7:57150 (IP=0.0.0.0:389)
Sep 4 16:15:00 ldap slapd[5206]: conn=12 op=0 STARTTLS
Sep 4 16:15:00 ldap slapd[5206]: conn=12 op=0 RESULT oid= err=0 text=
Sep 4 16:15:00 ldap slapd[5206]: conn=13 fd=26 ACCEPT from IP=10.12.3.7:43516 (IP=0.0.0.0:389)
Sep 4 16:15:00 ldap slapd[5206]: conn=13 op=0 STARTTLS
Sep 4 16:15:00 ldap slapd[5206]: conn=13 op=0 RESULT oid= err=0 text=
Sep 4 16:15:00 ldap slapd[5206]: conn=10 fd=23 TLS established tls_ssf=256 ssf=256
Sep 4 16:15:00 ldap slapd[5206]: conn=11 fd=24 TLS established tls_ssf=256 ssf=256
Sep 4 16:15:00 ldap slapd[5206]: conn=10 op=1 BIND dn="cn=fnadmin,dc=wolfspaw,dc=com" method=128
Sep 4 16:15:00 ldap slapd[5206]: conn=12 fd=25 TLS established tls_ssf=256 ssf=256
Sep 4 16:15:00 ldap slapd[5206]: conn=13 fd=26 TLS established tls_ssf=256 ssf=256
Sep 4 16:15:00 ldap slapd[5206]: conn=11 op=1 BIND dn="cn=fnadmin,dc=wolfspaw,dc=com" method=128
Sep 4 16:15:00 ldap slapd[5206]: conn=11 op=1 BIND dn="cn=fnadmin,dc=wolfspaw,dc=com" mech=SIMPLE ssf=0
Sep 4 16:15:00 ldap slapd[5206]: conn=11 op=1 RESULT tag=97 err=0 text=
Sep 4 16:15:00 ldap slapd[5206]: conn=13 op=1 BIND dn="cn=fnadmin,dc=wolfspaw,dc=com" method=128
Sep 4 16:15:00 ldap slapd[5206]: conn=10 op=1 BIND dn="cn=fnadmin,dc=wolfspaw,dc=com" mech=SIMPLE ssf=0
Sep 4 16:15:00 ldap slapd[5206]: conn=12 op=1 BIND dn="cn=fnadmin,dc=wolfspaw,dc=com" method=128
Sep 4 16:15:00 ldap slapd[5206]: conn=11 op=2 SRCH base="ou=group,ou=home,dc=wolfsaw,dc=com" scope=2 deref=3 filter="(&(objectClass=posixGroup))"
Sep 4 16:15:00 ldap slapd[5206]: conn=13 op=1 BIND dn="cn=fnadmin,dc=wolfspaw,dc=com" mech=SIMPLE ssf=0
Sep 4 16:15:00 ldap slapd[5206]: conn=10 op=1 RESULT tag=97 err=0 text=
Sep 4 16:15:00 ldap slapd[5206]: conn=10 op=2 SRCH base="ou=group,ou=home,dc=wolfsaw,dc=com" scope=2 deref=3 filter="(&(objectClass=posixGroup))"
Sep 4 16:15:00 ldap slapd[5206]: conn=12 op=1 BIND dn="cn=fnadmin,dc=wolfspaw,dc=com" mech=SIMPLE ssf=0
Sep 4 16:15:00 ldap slapd[5206]: conn=12 op=1 RESULT tag=97 err=0 text=
Sep 4 16:15:00 ldap slapd[5206]: conn=13 op=1 RESULT tag=97 err=0 text=
Sep 4 16:15:00 ldap slapd[5206]: conn=13 op=2 SRCH base="ou=group,ou=home,dc=wolfsaw,dc=com" scope=2 deref=3 filter="(&(objectClass=posixGroup))"
Sep 4 16:15:00 ldap slapd[5206]: conn=10 op=2 SRCH attr=cn userPassword memberUid uniqueMember gidNumber
Sep 4 16:15:00 ldap slapd[5206]: conn=11 op=2 SRCH attr=cn userPassword memberUid uniqueMember gidNumber
Sep 4 16:15:00 ldap slapd[5206]: conn=12 op=2 SRCH base="ou=group,ou=home,dc=wolfsaw,dc=com" scope=2 deref=3 filter="(&(objectClass=posixGroup))"
Sep 4 16:15:00 ldap slapd[5206]: conn=12 op=2 SRCH attr=cn userPassword memberUid uniqueMember gidNumber
Sep 4 16:15:00 ldap slapd[5206]: conn=10 op=2 SEARCH RESULT tag=101 err=32 nentries=0 text=
Sep 4 16:15:00 ldap slapd[5206]: conn=11 op=2 SEARCH RESULT tag=101 err=32 nentries=0 text=
Sep 4 16:15:00 ldap slapd[5206]: conn=13 op=2 SRCH attr=cn userPassword memberUid uniqueMember gidNumber
Sep 4 16:15:00 ldap slapd[5206]: conn=12 op=2 SEARCH RESULT tag=101 err=32 nentries=0 text=
Sep 4 16:15:00 ldap slapd[5206]: conn=12 fd=25 closed (connection lost)
Sep 4 16:15:00 ldap slapd[5206]: conn=11 fd=24 closed (connection lost)
Sep 4 16:15:00 ldap slapd[5206]: conn=13 op=2 SEARCH RESULT tag=101 err=32 nentries=0 text=
Sep 4 16:15:00 ldap slapd[5206]: conn=10 fd=23 closed (connection lost)
Sep 4 16:15:00 ldap slapd[5206]: conn=13 fd=26 closed (connection lost)
Sep 4 16:15:06 ldap slapd[5206]: conn=14 fd=23 ACCEPT from IP=10.12.3.7:51548 (IP=0.0.0.0:389)
Sep 4 16:15:06 ldap slapd[5206]: conn=14 op=0 STARTTLS
Sep 4 16:15:06 ldap slapd[5206]: conn=14 op=0 RESULT oid= err=0 text=
Sep 4 16:15:06 ldap slapd[5206]: conn=14 fd=23 TLS established tls_ssf=256 ssf=256
Sep 4 16:15:06 ldap slapd[5206]: conn=14 op=1 BIND dn="cn=fnadmin,dc=wolfspaw,dc=com" method=128
Sep 4 16:15:06 ldap slapd[5206]: conn=14 op=1 BIND dn="cn=fnadmin,dc=wolfspaw,dc=com" mech=SIMPLE ssf=0
Sep 4 16:15:06 ldap slapd[5206]: conn=14 op=1 RESULT tag=97 err=0 text=
Sep 4 16:15:06 ldap slapd[5206]: conn=14 op=2 SRCH base="" scope=0 deref=0 filter="(objectClass=*)"
Sep 4 16:15:06 ldap slapd[5206]: conn=14 op=2 SRCH attr=supportedControl
Sep 4 16:15:06 ldap slapd[5206]: conn=14 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text=
Sep 4 16:15:06 ldap slapd[5206]: conn=14 op=3 SRCH base="dc=wolfsaw,dc=com" scope=2 deref=0 filter="(&(objectClass=sambaDomain)(sambaDomainName=wolfspawnas))"
Sep 4 16:15:06 ldap slapd[5206]: conn=14 op=3 SRCH attr=sambaDomainName sambaNextRid sambaNextUserRid sambaNextGroupRid sambaSID sambaAlgorithmicRidBase objectClass
Sep 4 16:15:06 ldap slapd[5206]: conn=14 op=3 SEARCH RESULT tag=101 err=32 nentries=0 text=
Sep 4 16:15:06 ldap slapd[5206]: conn=14 op=4 SRCH base="dc=wolfsaw,dc=com" scope=2 deref=0 filter="(&(gidNumber=0)(objectClass=sambaGroupMapping))"
Sep 4 16:15:06 ldap slapd[5206]: conn=14 op=4 SRCH attr=sambaSID
Sep 4 16:15:06 ldap slapd[5206]: conn=14 op=4 SEARCH RESULT tag=101 err=32 nentries=0 text=
Sep 4 16:15:06 ldap slapd[5206]: conn=14 op=5 SRCH base="dc=wolfsaw,dc=com" scope=2 deref=0 filter="(&(gidNumber=0)(objectClass=sambaGroupMapping))"
Sep 4 16:15:06 ldap slapd[5206]: conn=14 op=5 SRCH attr=sambaSID
Sep 4 16:15:06 ldap slapd[5206]: conn=14 op=5 SEARCH RESULT tag=101 err=32 nentries=0 text=
Sep 4 16:15:06 ldap slapd[5206]: conn=14 op=6 UNBIND
Sep 4 16:15:06 ldap slapd[5206]: conn=14 fd=23 closed
now, I've not explicitly tried to use samba + ldap before (although I did add the samba schema to the ldap server after seeing the requests)
but I also don't know if that's a red herring as I don't have it enabled (yet) and this was working before rc1 as it is/was
I suppose it's possible it's looking for something in my directory that doesn't exist but I'm uncertain... I could use some help sussing out what's going on.
Attachments (1)
Change History (14)
comment:1 Changed 21 months ago by loiosh
comment:2 Changed 21 months ago by loiosh
Now I'm not so sure I'm an edge case.
I started with a fresh 8.0.1rc1 install, clean db.
added ONLY my ldap settings and tried to start ldap.
I get the same unhelpful "the service could not be started" message.
what follows is the connection from FN-> ldap server.
Sep 4 18:50:19 ldap slapd[1381]: conn=60 fd=23 ACCEPT from IP=10.12.3.7:28676 (IP=0.0.0.0:389)
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=0 STARTTLS
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=0 RESULT oid= err=0 text=
Sep 4 18:50:19 ldap slapd[1381]: conn=60 fd=23 TLS established tls_ssf=256 ssf=256
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=1 BIND dn="cn=fnadmin,dc=wolfspaw,dc=com" method=128
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=1 BIND dn="cn=fnadmin,dc=wolfspaw,dc=com" mech=SIMPLE ssf=0
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=1 RESULT tag=97 err=0 text=
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=2 SRCH base="" scope=0 deref=0 filter="(objectClass=*)"
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=2 SRCH attr=supportedControl
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text=
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=3 SRCH base="dc=wolfspaw,dc=com" scope=2 deref=0 filter="(&(objectClass=sambaDomain)(sambaDomainName=freenas))"
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=3 SRCH attr=sambaDomainName sambaNextRid sambaNextUserRid sambaNextGroupRid sambaSID sambaAlgorithmicRidBase objectClass
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=3 SEARCH RESULT tag=101 err=0 nentries=0 text=
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=4 SRCH base="dc=wolfspaw,dc=com" scope=2 deref=0 filter="(&(sambaDomainName=freenas)(objectClass=sambaDomain))"
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=4 SRCH attr=sambaDomainName sambaNextRid sambaNextUserRid sambaNextGroupRid sambaSID sambaAlgorithmicRidBase objectClass
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=4 SEARCH RESULT tag=101 err=0 nentries=0 text=
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=5 ADD dn="sambaDomainName=FREENAS,dc=wolfspaw,dc=com"
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=5 RESULT tag=105 err=0 text=
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=6 MOD dn="sambaDomainName=FREENAS,dc=wolfspaw,dc=com"
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=6 MOD attr=sambaMinPwdLength
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=6 RESULT tag=103 err=0 text=
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=7 MOD dn="sambaDomainName=FREENAS,dc=wolfspaw,dc=com"
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=7 MOD attr=sambaMinPwdLength sambaPwdHistoryLength
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=7 RESULT tag=103 err=0 text=
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=8 MOD dn="sambaDomainName=FREENAS,dc=wolfspaw,dc=com"
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=8 MOD attr=sambaMinPwdLength sambaPwdHistoryLength sambaLogonToChgPwd
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=8 RESULT tag=103 err=0 text=
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=9 MOD dn="sambaDomainName=FREENAS,dc=wolfspaw,dc=com"
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=9 MOD attr=sambaMinPwdLength sambaPwdHistoryLength sambaLogonToChgPwd sambaMaxPwdAge
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=9 RESULT tag=103 err=0 text=
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=10 MOD dn="sambaDomainName=FREENAS,dc=wolfspaw,dc=com"
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=10 MOD attr=sambaMinPwdLength sambaPwdHistoryLength sambaLogonToChgPwd sambaMaxPwdAge sambaMinPwdAge
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=10 RESULT tag=103 err=0 text=
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=11 MOD dn="sambaDomainName=FREENAS,dc=wolfspaw,dc=com"
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=11 MOD attr=sambaMinPwdLength sambaPwdHistoryLength sambaLogonToChgPwd sambaMaxPwdAge sambaMinPwdAge sambaLockoutDuration
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=11 RESULT tag=103 err=0 text=
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=12 MOD dn="sambaDomainName=FREENAS,dc=wolfspaw,dc=com"
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=12 MOD attr=sambaMinPwdLength sambaPwdHistoryLength sambaLogonToChgPwd sambaMaxPwdAge sambaMinPwdAge sambaLockoutDuration sambaLockoutObservationWindow
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=12 RESULT tag=103 err=0 text=
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=13 MOD dn="sambaDomainName=FREENAS,dc=wolfspaw,dc=com"
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=13 MOD attr=sambaMinPwdLength sambaPwdHistoryLength sambaLogonToChgPwd sambaMaxPwdAge sambaMinPwdAge sambaLockoutDuration sambaLockoutObservationWindow sambaLockoutThreshold
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=13 RESULT tag=103 err=0 text=
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=14 MOD dn="sambaDomainName=FREENAS,dc=wolfspaw,dc=com"
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=14 MOD attr=sambaMinPwdLength sambaPwdHistoryLength sambaLogonToChgPwd sambaMaxPwdAge sambaMinPwdAge sambaLockoutDuration sambaLockoutObservationWindow sambaLockoutThreshold sambaForceLogoff
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=14 RESULT tag=103 err=0 text=
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=15 MOD dn="sambaDomainName=FREENAS,dc=wolfspaw,dc=com"
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=15 MOD attr=sambaMinPwdLength sambaPwdHistoryLength sambaLogonToChgPwd sambaMaxPwdAge sambaMinPwdAge sambaLockoutDuration sambaLockoutObservationWindow sambaLockoutThreshold sambaForceLogoff sambaRefuseMachinePwdChange
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=15 RESULT tag=103 err=0 text=
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=16 SRCH base="dc=wolfspaw,dc=com" scope=2 deref=0 filter="(&(objectClass=sambaDomain)(sambaDomainName=freenas))"
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=16 SRCH attr=sambaDomainName sambaNextRid sambaNextUserRid sambaNextGroupRid sambaSID sambaAlgorithmicRidBase objectClass
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=16 SEARCH RESULT tag=101 err=0 nentries=1 text=
Sep 4 18:50:19 ldap slapd[1381]: conn=60 op=17 UNBIND
Sep 4 18:50:19 ldap slapd[1381]: conn=60 fd=23 closed
Sep 4 18:50:34 ldap slapd[1381]: conn=61 fd=23 ACCEPT from IP=10.12.3.13:40568 (IP=0.0.0.0:389)
Sep 4 18:50:34 ldap slapd[1381]: conn=61 op=0 BIND dn="cn=LDAdmin,dc=wolfspaw,dc=com" method=128
Sep 4 18:50:34 ldap slapd[1381]: conn=61 op=0 BIND dn="cn=LDAdmin,dc=wolfspaw,dc=com" mech=SIMPLE ssf=0
Sep 4 18:50:34 ldap slapd[1381]: conn=61 op=0 RESULT tag=97 err=0 text=
Sep 4 18:50:34 ldap slapd[1381]: conn=61 op=1 SRCH base="" scope=0 deref=3 filter="(objectClass=*)"
Sep 4 18:50:34 ldap slapd[1381]: conn=61 op=1 SRCH attr=supportedControl
Sep 4 18:50:34 ldap slapd[1381]: conn=61 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
Sep 4 18:50:34 ldap slapd[1381]: conn=61 op=2 SRCH base="ou=group,ou=home,dc=wolfspaw,dc=com" scope=2 deref=3 filter="(&(objectClass=sambaGroupMapping)(gidNumber=99))"
Sep 4 18:50:34 ldap slapd[1381]: conn=61 op=2 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass
Sep 4 18:50:34 ldap slapd[1381]: conn=61 op=2 SEARCH RESULT tag=101 err=0 nentries=0 text=
Sep 4 18:50:34 ldap slapd[1381]: conn=61 op=3 SRCH base="sambaDomainName=WOLFSPAW,dc=wolfspaw,dc=com" scope=0 deref=3 filter="(objectClass=*)"
Sep 4 18:50:34 ldap slapd[1381]: conn=61 op=3 SRCH attr=sambaPwdHistoryLength
Sep 4 18:50:34 ldap slapd[1381]: conn=61 op=3 SEARCH RESULT tag=101 err=0 nentries=1 text=
Sep 4 18:50:34 ldap slapd[1381]: conn=62 fd=24 ACCEPT from IP=10.12.3.13:40569 (IP=0.0.0.0:389)
Sep 4 18:50:34 ldap slapd[1381]: conn=62 op=0 BIND dn="cn=LDAdmin,dc=wolfspaw,dc=com" method=128
Sep 4 18:50:34 ldap slapd[1381]: conn=62 op=0 BIND dn="cn=LDAdmin,dc=wolfspaw,dc=com" mech=SIMPLE ssf=0
Sep 4 18:50:34 ldap slapd[1381]: conn=62 op=0 RESULT tag=97 err=0 text=
Sep 4 18:50:34 ldap slapd[1381]: conn=61 fd=23 closed (connection lost)
Sep 4 18:50:34 ldap slapd[1381]: conn=62 op=1 SRCH base="" scope=0 deref=3 filter="(objectClass=*)"
Sep 4 18:50:34 ldap slapd[1381]: conn=62 op=1 SRCH attr=supportedControl
Sep 4 18:50:34 ldap slapd[1381]: conn=62 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
Sep 4 18:50:34 ldap slapd[1381]: conn=62 op=2 SRCH base="ou=group,ou=home,dc=wolfspaw,dc=com" scope=2 deref=3 filter="(&(objectClass=sambaGroupMapping)(gidNumber=99))"
Sep 4 18:50:34 ldap slapd[1381]: conn=62 op=2 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass
Sep 4 18:50:34 ldap slapd[1381]: conn=62 op=2 SEARCH RESULT tag=101 err=0 nentries=0 text=
Sep 4 18:50:34 ldap slapd[1381]: conn=62 fd=24 closed (connection lost)
comment:3 Changed 21 months ago by loiosh
strange becomes stranger.
if I setup ldap on a clean install of beta 4, it works. if I then upgrade to rc1, it continues to work...
something's weird for sure.
comment:4 Changed 21 months ago by R3nn
I seem to have exactly the same problem.
Output in debug.log when trying to enable LDAP in the GUI is:
Sep 7 10:47:32 freenas freenas[1956]: Calling: start(ldap)
Sep 7 10:47:58 freenas freenas[1956]: FreeNAS_LDAP.init: enter
Sep 7 10:47:58 freenas freenas[1956]: FreeNAS_LDAP_Base.init: enter
Sep 7 10:47:58 freenas freenas[1956]: Calling: stop(ldap)
Gonna try to go back to beta4 to see if that indeed works
comment:5 Changed 21 months ago by R3nn
Confirmed LDAP functioning in BETA4.
Broken in RC1 ; also broken in the latest nightly (FreeNAS-8r7584-amd64)
comment:6 Changed 21 months ago by gcooper
Please try a build that includes r7597 to see whether or not it fixes your issue.
comment:7 Changed 21 months ago by jhixson
- Owner set to jhixson
- Status changed from new to accepted
comment:8 Changed 21 months ago by R3nn
Have tried r7609 ; still no go
Changed 21 months ago by loiosh
comment:9 Changed 21 months ago by loiosh
updated to 8r7622 amd64 from beta4. first boot ldap worked fine. I successfully ssh'ed in as an ldap provided user. I went to add an rsync job and was presented with the following error log. (8r7622msg.rtf) I then stopped the ldap service and attempted to start it, at which point I was given the aforementioned "the service could not be started" message. it looks to me like someone is expecting the ssl option in the ldap settings to be 0/1 and is balking at start_tls.. but that's a guess.
comment:10 Changed 21 months ago by jhixson
- Resolution set to fixed
- Status changed from accepted to closed
Fixed in r7684.
comment:11 Changed 20 months ago by bluenix
Not fixed in 8.0.1-RC2 7813. LDAP will not start anymore when using start_tls.
comment:12 Changed 20 months ago by bluenix
- Resolution fixed deleted
- Status changed from closed to reopened
comment:13 Changed 20 months ago by jhixson
- Resolution set to fixed
- Status changed from reopened to closed
This has been fixed in r7989 in the 8.0.1 branch as well as trunk.

that should read "I did a blank install of fn8.0.1 rc1