LDAP account manager (LAM) does'n work correctly
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 [EMAIL PROTECTED]
Re: LDAP account manager (LAM) does'n work correctly
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 [EMAIL PROTECTED] 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). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SLAPD starting very slow
Hi everybody. My configuration. FreeBSD 6.0 + I update ports. All programs I installed over ports I installed LDAP server and client (2.2.30), nss_ldap-1.244, pam_ldap-1.8.0. * /usr/local/etc/openldap/slapd.conf *** other lines in this files is defaults *** include/usr/local/etc/openldap/schema/core.schema include/usr/local/etc/openldap/schema/corba.schema include/usr/local/etc/openldap/schema/cosine.schema include/usr/local/etc/openldap/schema/dyngroup.schema include/usr/local/etc/openldap/schema/inetorgperson.schema include/usr/local/etc/openldap/schema/java.schema include/usr/local/etc/openldap/schema/misc.schema include/usr/local/etc/openldap/schema/nis.schema include/usr/local/etc/openldap/schema/samba.schema databaseldbm suffixdc=skuska,dc=sk rootdncn=Manager,dc=skuska,dc=sk rootpw{SSHA}LGpsWFBT/qSdvf7D4hhLny7siy2hDXl4 *** While /etc/nsswitch.conf files like next: ** /etc/nsswitch.conf ** group: compat group_compat: nis hosts: files dns networks: files passwd: compat passwd_compat: nis shells: files slapd deamon start is fast. While /etc/nsswitch.conf files like next: ** /etc/nsswitch.conf ** group: files [NOTFOUND=continue] ldap group_compat: hosts: files dns networks: files passwd: files [NOTFOUND=continue] ldap passwd_compat: shells: files and /usr/local/etc/nss_ldap files like next: * /usr/local/etc/nss_ldap.conf *** other lines in this files is defaults *** host localhost base dc=skuska,dc=sk * slapd deamon start very slow (2-3 minutes) and print to screen next error log: slapd[414]: nss_ldap: could not search LDAP server - Server is unavailable. My question is. Why slapd deamon try to connect to LDAP server, when it start? I read several howto, but without success. What I do wrong? Thank You. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]