if correct, what is the output of : getent passwd and getent group if no output, you forgot the something mayby # /etc/nsswitch.conf
passwd: compat ldap group: compat ldap shadow: compat ldap hosts: files dns networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis Louis Van: Cédric Carlen [mailto:[email protected]] Verzonden: 2012-06-07 13:53 Aan: L.P.H. van Belle Onderwerp: Re: [Samba] FW: Bad configuration file Yes they exist ^^, i see them with LdapAdmin ^^, I will check, thanks for your help 2012/6/7 L.P.H. van Belle <[email protected]>  Hai, You did have.. files in the slapd.d folder ( this is de debian default ). look here. http://www.server-world.info/en/note?os=Debian_6.0&p=samba&f=4 check from this point on the site. : root@lan:~# aptitude -y install smbldap-tools the message Did not find group, filter was (&(objectClass=sambaGroupMapping)(gidNumber=0)) means no "Administrator" group found. So no group mapping for "Domain Admins" of Administrators exists. Louis Van: Cédric Carlen [mailto:[email protected]] Verzonden: 2012-06-07 11:40 Aan: L.P.H. van Belle Onderwerp: Re: [Samba] FW: Bad configuration file I don't have any files in the slapd.d folder, and it works very fine, so for the moment I won't touch this ^^ Just do you have already seen this : ldapsam_getgroup: Did not find group, filter was (&(objectClass=sambaGroupMapping)(gidNumber=0)) I googled this but I don't fine answers :s 2012/6/7 L.P.H. van Belle <[email protected]>  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 -- 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
