Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2006 19:09:38 +0100
From:      Jan HREHO <jancih@zoznam.sk>
To:        freebsd-questions@freebsd.org
Subject:   Re: LDAP account manager (LAM) does'n work correctly
Message-ID:  <43ECD6E2.4000102@zoznam.sk>
In-Reply-To: <43ECA539.9080702@wmptl.com>
References:  <43EC95BE.8020709@zoznam.sk> <43ECA539.9080702@wmptl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Nathan Vidican wrote:

> Jan HREHO wrote:
>
>> Hi.
>>
>> My system:
>> FreeBSD 6.0 + update ports.
>> OpenLDAP 2.2.30.
>> Samba 3.0.21a
>> Apache 2.0.55_33
>> PHP 5.1.2_1
>> LAM 0.5.1
>> All programs I installed over ports
>>
>> OpenLDAP work's right. I check it over phpldapadmin.
>>
>> My problem:
>> When I create new user over LAM and I go 'Samba 3' site get follow on 
>> the screen.
>> *Warning*: getdate() expects parameter 1 to be long, string given in* 
>> usr/local/www/lam/lib/modules/sambaSamAccount.inc* on line *767*
>> *Warning*: getdate() expects parameter 1 to be long, string given in 
>> */usr/local/www/lam/lib/modules/sambaSamAccount.inc* on line *768*
>> *Warning*: getdate() expects parameter 1 to be long, string given in 
>> */usr/local/www/lam/lib/modules/sambaSamAccount.inc* on line *769*
>> Those parameter's are sambaPwdCanChange, sambaPwdMustChange, 
>> sambaKickoffTime.
>> I try solution on the web a few day, but without success.
>> Do meet someone with similar problem?
>>
>> Thanks, for your help.
>>
>>
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "freebsd-questions-unsubscribe@freebsd.org"
>>
>>
> Sounds like you did not import the correct schema files into 
> OpenLDAP's slapd.conf configuration file. You should have:
>
> core.schema
> cosine.schema
> inetorgperson.schema
> nis.schema
> samba.schema
>
> Without these schema files loaded in slapd.conf, the system does not 
> know how to define the data/types stored in the LDAP tree for Samba 
> accounts, which includes those objects created/manipulated using LAM. 
> The samba.schema file is included in the source distribution of Samba.
>
Temporarily in test time, I load all available schemas in system - 
include samba.schema.
I think, that I forget some litlle thing over installation.
Do I have to config additionally php.ini or http.conf after LAM 
installation? (or other config file).





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43ECD6E2.4000102>