[Classic-discuss] user login through ldap
Rolf Deenen
rdeenen at home.nl
Tue Jan 23 08:31:48 UTC 2007
Hello Mikael,
Thanks very much for the effort. Last evening i have compared your config with
mine. They were identical. But i did notice that core.schema is already in the
configuration, it's just a little above the other schema definitions. That's one
thing i could cross out. So the problem was not the slapd.conf file.
Just tinkering along with it, it seems I have found the problem. I had already
created an object with the inetorgperson objectclass. I wanted to add to this
object the posixaccount objectclass. Now I have found out this is not possible.
I was in the assumption one could just add objectclasses as one saw fit. It
seems however that the inetorgperson and the posixaccount objectclass can not
both be used on the same object.
Rolf Deenen
> On Sunday 21 January 2007 16:50, Rolf Deenen wrote:
>> Hello list,
>>
>> I am trying to use ldap for a number of services on my freshly installed
>> tinysofa 2.0 update 6 machine. ...
>>
> [snip]
>
>> Can anybody tell me, based on the provided information, what i am doing
>> wrong here? Does anybody here have a simular setup and is he/she willing to
>> share the slapd.conf file? I've followed some tutorials but they seem to
>> describe exactly what i am doing, but in their case it works :-) .
>>
>
> The relevant parts of my /etc/openldap/slapd.conf :
>
> #
> include /etc/openldap/schema/core.schema
>
> # The following schemas are included in the package:
> #include /etc/openldap/schema/corba.schema
> include /etc/openldap/schema/cosine.schema
> include /etc/openldap/schema/inetorgperson.schema
> #include /etc/openldap/schema/java.schema
> #include /etc/openldap/schema/misc.schema
> include /etc/openldap/schema/nis.schema
> include /etc/openldap/schema/openldap.schema
>
> On this machine I only use LDAP to authenticate ftp-users. I have no idea if
> you need different setup for ssh. On the other hand I think PAM
> authentication is disabled for ssh by default, and that may cause troubble
> for you.
>
> HTH,
> Mikael
> _______________________________________________
> Classic-discuss mailing list
> Classic-discuss at tinysofa.org
> http://lists.tinysofa.org/mailman/listinfo/classic-discuss
>
More information about the Classic-discuss
mailing list