This is solved. Problem was, incorrect settings in slapd.conf and dynamic / config file setup was mixed. str2entry: invalid value for attributeType objectClass #1 (syntax 1.3.6.1.4.1.1466.115.121.1.38) slapcat: bad configuration file!
The core.schema and the core.ldif are bit different. debian installs slapd with dynamic ( in database ) config, when switch back to config file setup. The /etc/default/slapd should be configured for config file. Louis Van: Cédric Carlen [mailto:[email protected]] Verzonden: 2012-06-06 09:57 Aan: L.P.H. van Belle Onderwerp: Re: [Samba] Bad configuration file Hello Louis, My running OS is Debian 6.0, my LDAP version is 2.4.23-7.2 and my samba version is 2:3.5.6. I join in the mail an archive with my schema folder and my slapd.conf Thanks to help me ^^ Cédric 2012/6/5 L.P.H. van Belle <[email protected]> Hello, I'll have a look. zip your schema folder and mail it to me. preffered also your slapd.conf ( remove your passwords or change them ) and whats your running os and ldap version and samba version. Louis >-----Oorspronkelijk bericht----- >Van: [email protected] >[mailto:[email protected]] Namens Cédric Carlen >Verzonden: 2012-06-05 11:14 >Aan: [email protected] >Onderwerp: Re: [Samba] Bad configuration file > >Hello, > >I reup my topic, because i don't find something interessant on the Net. > >I've try to delete ppolicy.schema but nothing changes :( > >Cédric > >2012/6/1 Cédric Carlen <[email protected]> > >> Hello everyone, >> >> I'm writing you a topic because i have a problem with smaba and LDAP. >> >> This is my problem, when I type in the shell slapcat, i've got this >> message : >> >> str2entry: invalid value for attributeType objectClass #1 (syntax >> 1.3.6.1.4.1.1466.115.121.1.38) >> slapcat: bad configuration file! >> >> There is my slapd.conf : >> >> include /etc/ldap/schema/core.schema >> include /etc/ldap/schema/cosine.schema >> include /etc/ldap/schema/nis.schema >> include /etc/ldap/schema/inetorgperson.schema >> include /etc/ldap/schema/samba.schema >> include /etc/ldap/schema/ppolicy.schema >> >> modulepath /usr/lib/ldap >> moduleload back_bdbn >> moduleload ppolicy.la >> moduleload smbk5pwd.la >> >> overlay smbk5pwd >> smbk5pwd-enable samba >> >> overlay ppolicy >> ppolicy_default "ou=default,ou=policies,dc=my,dc=test" >> ppolicy_use_lockout >> ppolicy_hash_cleartext >> >> Please help :( >> >> Flake >> >> -- >> Cédric CARLEN >> Élève-ingénieur à TELECOM Lille 1 >> Promotion FI15 >> ??? 06.59.42.81.55 >> >> > > >-- >Cédric CARLEN >Élève-ingénieur à TELECOM Lille 1 >Promotion FI15 >??? 06.59.42.81.55 >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > -- Cédric CARLEN Élève-ingénieur à TELECOM Lille 1 Promotion FI15 ☎ 06.59.42.81.55 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
