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
On 18:41:40 wrote C?dric Carlen:> 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_bdbna module with this name doesn't exist, try: moduleload back_bdb> 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-- Gruss Harry Jede
On 14:13:34 wrote C?dric Carlen:> 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 > messagetry: slapcat -c> > str2entry: invalid value for attributeType objectClass #1 (syntax > 1.3.6.1.4.1.1466.115.121.1.38) > slapcat: bad configuration file!Which openldap version? I am pretty sure you use schema files from an other (older) openldap version.> 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-- Gruss Harry Jede
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 <carlen.cedric at gmail.com>> 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