Re: sshd & pam & getpwnam()

2004-06-28 Thread Danny Braniss
> Sun, Jun 20, 2004 at 14:52:35, zagarin wrote about "sshd & pam & getpwnam()": > > > Does anybody know, why sshd call getpwnam() even if user is > > authenticating via PAM? This broke remote authentication (RADIUS, > > TACACS+) when user doesn't exist in local password database. > > Because

Re: sshd & pam & getpwnam()

2004-06-28 Thread Valentin Nechayev
Sun, Jun 20, 2004 at 14:52:35, zagarin wrote about "sshd & pam & getpwnam()": > Does anybody know, why sshd call getpwnam() even if user is > authenticating via PAM? This broke remote authentication (RADIUS, > TACACS+) when user doesn't exist in local password database. Because you mix two di

Re: sshd & pam & getpwnam()

2004-06-28 Thread Gordon Tetlow
On Sun, Jun 20, 2004 at 02:52:35PM +0400, Alexey Zagarin wrote: > Hello! > > Does anybody know, why sshd call getpwnam() even if user is > authenticating via PAM? This broke remote authentication (RADIUS, > TACACS+) when user doesn't exist in local password database. The user must exist in some

Re: Locking: kern/50827

2004-06-28 Thread Brian Fundakowski Feldman
On Thu, Jun 24, 2004 at 05:49:19PM -0600, Stephen Hurd wrote: > Well, possibly due to editorial content, kern/50827 has been completely > ignored. Not sure exactly the correct method of bringing something like > this up, but am I the only one who finds flock(), dotlock, and fcntl() > locks insuffi

Re: PF_PACKET

2004-06-28 Thread Brian Fundakowski Feldman
On Fri, Jun 25, 2004 at 01:24:53PM -0700, Lev Walkin wrote: > Ivan Voras wrote: > >Lev Walkin wrote: > > > >>Ivan Voras wrote: > >> > >>>I'm trying to port open1x xsupplicant, and it uses PF_PACKET to get > >>>relevant packets (of appropriate ethernet type). I looked around in > >>>/usr/include a

Re: Panic on 5.2.1-p8 Current

2004-06-28 Thread Brian Fundakowski Feldman
On Mon, Jun 28, 2004 at 09:41:33AM -0300, Klaus Schneider wrote: > I'm running FreeBSD with 2 NFS mounts over tcp, apache 1.3.31, > openwebmail(read/write on both nfs mounted filesystems, /var/mail > spooldir and webmail userdir) and proftpd. > > # uname -a > FreeBSD 5.2.1-RELEASE-p8 #3: Mon Jun

Re: Kernel configuration program - 0.1 alpha. Hacker help andfeedback required.

2004-06-28 Thread Matt Freitag
Personally I prefer the flat file configuration, as it's much more intuitive, and an obfuscated method of configuring my kernel just isn't for me. To each his own of course, but I myself will always stick to vi'ing my kernel's config. It's the fastest, most efficient way IMHO. (Not to say, that

Kernel configuration program - 0.1 alpha. Hacker help and feedback required.

2004-06-28 Thread David H. Kristensen
:) I have started development on a kernel configuration tool for FreeBSD 5.2.1 (other versions aren't supported yet) It's similar to the linux kernel's make config and xf86config in terms of way of working, and it's written in ISO C++ (requires g++ compiler) Get the source: (DENMARK) http://www

Re: Getting MAC address?

2004-06-28 Thread Alecs King
On Sat, Jun 26, 2004 at 11:15:45AM +0200, Ivan Voras wrote: > > I was looking at it and came across getifaddrs(). This function does not > depend on a open socket (yes, mine is AF_LINK, sockaddr_dl), and > apparently returns a list of all interfaces. Is there really no other > way than to trave

Re: kern___getcwd() returns ENOTDIR

2004-06-28 Thread David Malone
On Mon, Jun 28, 2004 at 01:26:56AM -0700, David Schultz wrote: > It was discussed when phk merged it into kern___getcwd() last > year, and on at least one other occasion. However, I can't seem > to find the relevant thread in the mail archives. Perhaps phk or > dwmalone remember. The only proble

Panic on 5.2.1-p8 Current

2004-06-28 Thread Klaus Schneider
I'm running FreeBSD with 2 NFS mounts over tcp, apache 1.3.31, openwebmail(read/write on both nfs mounted filesystems, /var/mail spooldir and webmail userdir) and proftpd. # uname -a FreeBSD 5.2.1-RELEASE-p8 #3: Mon Jun 28 07:18:32 BRT 2004 src-all last updated at: Sat Jun 19 09:28:59 BRT 2004.

Re: kern___getcwd() returns ENOTDIR

2004-06-28 Thread David Schultz
On Mon, Jun 28, 2004, Pawel Jakub Dawidek wrote: > On Sun, Jun 27, 2004 at 11:12:20AM -0700, David Schultz wrote: > +> On Sun, Jun 27, 2004, Kentucky Mandeloid Mo. wrote: > +> > I'm writng a smal kernel module that catches file access syscalls. > +> > At every syscall I need a full name of file is

Re: kern___getcwd() returns ENOTDIR

2004-06-28 Thread Pawel Jakub Dawidek
On Sun, Jun 27, 2004 at 11:12:20AM -0700, David Schultz wrote: +> On Sun, Jun 27, 2004, Kentucky Mandeloid Mo. wrote: +> > I'm writng a smal kernel module that catches file access syscalls. +> > At every syscall I need a full name of file is being passed to a syscall. +> > I'm getting it with a pat

old messages in periodic

2004-06-28 Thread Marek Denis
Hi all, I've got strange problem. Well, every day I get an email as a result of periodic ran every night from cron. I also set up a few weeks ago postfix with mysql. First I tested postfix so I got a lot of errors from postfix, but after that I set up it properly and now it works great. Bu