On Mon, 22 Mar 2004, Artur Hecker wrote:
> i'd suppose that i'd complain later in that case but i'm not sure.
> anyway, if you want to test it, run as root 'radiusd -s -X'. in that
> case, the server will execute with root rights. so, it should be able to
> read everything. compare the outputs if it works. if it does not, the
> problem is obviously on the system level.
Acording to strace -s is not enough to execute with root rights, I had to
comment the user/group entries from radiusd.conf. Anyway, even running as
root it fails the same way :-/
I have run it both with radiusd user and with root and diff-ed the -X
output and I only got this difference:
# diff -u log log2
--- log 2004-03-22 16:39:24.352468816 +0200
+++ log2 2004-03-22 16:39:33.631058256 +0200
@@ -23,8 +23,8 @@
main: log_auth_goodpass = no
main: pidfile = "/var/run/radiusd/radiusd.pid"
main: bind_address = <ip-removed> IP address [<ip-removed>]
- main: user = "(null)"
- main: group = "(null)"
+ main: user = "radiusd"
+ main: group = "radiusd"
main: usercollide = no
main: lower_user = "no"
main: lower_pass = "no"
> > Pretty strange huh ? :)
>
> hmm, try 'ldd rlm_unix.so' and see if it finds everything linked withing
> the module itself.
Seems ok
# ldd /usr/lib/rlm_unix.so
linux-gate.so.1 => (0xffffe000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x4002c000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40059000)
libresolv.so.2 => /lib/libresolv.so.2 (0x4006e000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40081000)
libc.so.6 => /lib/libc.so.6 (0x400d2000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
I have noticed one message about this on gentoo-users list but no reply.
Either the complainer found the solution or he dropped it. I presume too
to be something related to the system (gentoo linux distro) but I would
very much apriciate someone with more freeradius experience to guide me
where to look for problems, in the end if there really is a problem we get
happy people on both sides (gentoo users which will use freeradius ;)).
> ciao
> artur
--
Mihai RUSU Email: [EMAIL PROTECTED]
GPG : http://dizzy.roedu.net/dizzy-gpg.txt WWW: http://dizzy.roedu.net
"Linux is obsolete" -- AST
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html