From owner-freebsd-questions@FreeBSD.ORG Fri Feb 10 18:09:50 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F9D316A422 for ; Fri, 10 Feb 2006 18:09:50 +0000 (GMT) (envelope-from jancih@zoznam.sk) Received: from be1.mail.zoznam.sk (mail.zoznam.sk [62.65.179.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7CD443D45 for ; Fri, 10 Feb 2006 18:09:49 +0000 (GMT) (envelope-from jancih@zoznam.sk) X-ExtFilter: Niversoft's DomainKeys Helper DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; d=zoznam.sk; s=mx; h=Received:Message-ID:Date:From:User-Agent:X-Accept-Language:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=kjolyzMFGeEJvsfSr5zhoCkQW9hTUUzBVBTTs+ggFRrx0ImJjd9fjzQ+sOA7DuNkxr/Y7kvBYV0fwJiOzMVVIdY8n3TLp4WbHdie4BILdjDPmRGp7/XcqfdZfLDM/72JoTdTTpY9lGl0yvHfMToR0ii5p4ZVawOUuS33cN5Q/wQ= X-Spam-Status: No, hits=0.0 required=4.0 Received: from [213.160.190.123] (account jancih@zoznam.sk HELO [172.16.0.100]) by be1.mail.zoznam.sk (CommuniGate Pro SMTP 4.2.8) with ESMTP id 77624760; Fri, 10 Feb 2006 19:09:45 +0100 Message-ID: <43ECD6E2.4000102@zoznam.sk> Date: Fri, 10 Feb 2006 19:09:38 +0100 From: Jan HREHO User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <43EC95BE.8020709@zoznam.sk> <43ECA539.9080702@wmptl.com> In-Reply-To: <43ECA539.9080702@wmptl.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: LDAP account manager (LAM) does'n work correctly X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2006 18:09:50 -0000 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).