Date: Wed, 9 Jan 2002 09:55:58 +0200 From: "Dmitriy Reka" <dmitriy_rsl@yahoo.com> To: <ports@freebsd.org> Subject: Errors in net/xtradius port Message-ID: <008801c198e5$8ea2a100$2400770a@sif.sumy.ua>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0085_01C198F3.D64CD940 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Hi! I`m installing XTRadius under FreeBSD 4.4-STABLE. Today I try to use external accounting based on Exec-Program-Account attribute. Like in example (contrib/authmysql/users) I put this attribute into reply section. When I start radiusd, it says: ... This attribute MUST go on the first line ... Detailed analyse of sources allow me to find problem: PW_EXEC_PROGRAM_ACCOUNT has value 1142, but in file src/files.c[803] (in function pair_sanity) i found this: for (pair = entry->reply; pair; pair = pair->next) { if ((pair->attribute == PW_PASSWORD) || (pair->attribute == PW_CHAP_PASSWORD) || (pair->attribute >= 1000 && pair->attribute <= 65536)) { //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ log(L_ERR|L_CONS, "\n[%s:%d] WARNING: Check item \"%s\"\n" "\tfound in reply item list for user \"%s\".\n" "\tThis attribute MUST go on the first line" " with the other check items.\n", fn, entry->lineno, pair->name, entry->name); } } I think PW_EXEC_PROGRAM_ACCOUNT must have value less than 1000, or pair_sanity must be corrected I hope it will be corrected in future version of this port. -- Dmitriy Reka DR132-RIPE dima@dimych.sumy.ua www.dimych.sumy.ua ------=_NextPart_000_0085_01C198F3.D64CD940 Content-Type: text/x-vcard; name="Dmitriy Reka.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Dmitriy Reka.vcf" BEGIN:VCARD VERSION:2.1 N:Reka;Dmitriy FN:Dmitriy Reka ADR;WORK:;;;Sumy;;40030;Ukraine LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:Sumy 40030=3D0D=3D0AUkraine ADR;HOME:;;;Sumy;;40030;Ukraine LABEL;HOME;ENCODING=3DQUOTED-PRINT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NDAzWhcNMDIxMjExMTYwNDAzWjBF = MR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSIwIAYJKoZIhvcNAQkBFhNkaW1h = QGRpbXljaC5zdW15LnVhMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCpobgJkQdUIGJL = IbGTKp4bL/HszkzkSTQcutatFuinrrznZBZNM3i2ri0bHjmwMrz3ZliGLUZm6jevuMTAAAuQ = fDYCEnkrf2SnG+21+aMlSbT22wXGP5k0OlPbTm6jNXDHkDtt1+kKC4Z300H3c6dNXMQxir+N = e2zZECJlZWnICwIDAQABozAwLjAeBgNVHREEFzAVgRNkaW1hQGRpbXljaC5zdW15LnVhMAwG = A1UdEwEB/wQCMAAwDQYJKoZIhvcNAQECBQADgYEAbXVKuPQxPOI2WIdtCHb1NfPP3GwhM/vu = UAhzapb7Eb9lBAsoEhzprsGvz+Bqc8z/9SArtbmSpSbnrFZtUzPg9CP2owrYs7Uq/C49HGyA = Vxav1G90E0bvOs1NvgYDC5SoliN85avElr8kFledM9d87CP8E6XbDI37uDwHoBQrEKx=3D EMAIL;INTERNET:dima@sinsoft.com.ua EMAIL;INTERNET:dima@ukrcom.net.ua EMAIL;INTERNET:dmitriy_rsl@yahoo.com EMAIL;PREF;INTERNET:dima@dimych.sumy.ua EMAIL;INTERNET:dima@topchat.sumy.ua REV:20020109T075558Z END:VCARD ------=_NextPart_000_0085_01C198F3.D64CD940-- _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008801c198e5$8ea2a100$2400770a>