[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Samba, Openldap and ppolicy



Now another error :(

 @(#) $OpenLDAP: slapd 2.4.23 (Aug 24 2010 14:56:29) $  root@myserver:/root/openldap-2.4.23/debian/build/servers/slapd
slapd[11666]: UNKNOWN attributeDescription "OLCSMBK5PWDENABLE" inserted.
slapd[11666]: config error processing olcOverlay={2}smbk5pwd,olcDatabase={1}bdb,cn=config,olcDatabase={1}bdb,cn=config:



Old fashion configuration file :
---
include         /etc/ldap/schema/samba.schema
...

moduleload      smbk5pwd.la
...
overlay                 smbk5pwd
smbk5pwd-enable         samba



Overlay configuration :
---
dn: olcOverlay={2}smbk5pwd,olcDatabase={1}bdb,cn=config
objectClass: olcOverlayConfig
objectClass: olcSmbK5PwdConfig
olcOverlay: {2}smbk5pwd
olcSmbK5PwdEnable: samba






----- Mail Original -----
De: smainklh@free.fr
À: smainklh@free.fr
Cc: openldap-technical@openldap.org
Envoyé: Jeudi 26 Août 2010 10h12:54 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
Objet: Re: Samba, Openldap and ppolicy

Ok,

now i followed the documentation and configured my slapd server like that :

include         /etc/ldap/schema/samba.schema
...

moduleload      smbk5pwd.la
...
overlay                 smbk5pwd
smbk5pwd-enable         samba

But i still have the following error :
config error processing olcOverlay={2}smbk5pwd,olcDatabase={1}bdb,cn=config:

Regards,
Smaine

Selon smainklh@free.fr:

>
> Hi,
>
> I already have an openldap server configured with a password policy.
> Now, i need to implement a samba server in order to authenticate my alfresco
> users.
>
> I would like to know how to keep my password policy working with these two
> authentication services.
> I've heard of the smbk5pwd but i don't know how to configure it.
>
> I upgraded to slapd 2.4.23.
>
> my slapd configuration :
> include               samba.schema
> ...
> moduleload        smbk5pwd.la
> ...
> overlay    smbk5pwd
>
> But when i start the slapd service, it complains that some ObjectClass are
> missing.
> Maybe Samba needs to be upraded too ? ...
>
> I need your advices please.
>
> Regards,
> Smaine