Re: nsswitch dynamically loadable modules

2001-06-11 Thread Jacques A. Vidrine
On Sun, Jun 10, 2001 at 05:17:23PM -0700, Peter Wemm wrote: > This is probably why it wont be committed. If it uses dlopen() then it > cannot work for the statically linked /bin/ls, /bin/sh, etc. Anything in / > sbin or /bin will never be able to see the usernames. If you built the > entire sys

Re: nsswitch dynamically loadable modules

2001-06-11 Thread Jacques A. Vidrine
On Sun, Jun 10, 2001 at 08:14:57PM +0200, Gyori Sandor wrote: [snip] > By applying these patches (nsswitch & nss_ldap) did you get a proper > working authentication via LDAP? I applied them, but system doesn't know > LDAP's user names. This is my fault or I should even not try this way? I didn't

Re: nsswitch dynamically loadable modules

2001-06-10 Thread Warner Losh
In message <[EMAIL PROTECTED]> Peter Wemm writes: : If you built the : entire system with NOSHARED=NO, then /bin/ls, /bin/sh etc will be dynamically : linked and the patches will probably work. However, you had better have : /usr on your root (/) file system or you wont be able to boot. Linux's

Re: nsswitch dynamically loadable modules

2001-06-10 Thread Peter Wemm
Gyori Sandor wrote: > Hello, > > Thank you for your detailed explanation, I'm sure it will be great. > > I have some short questions: > > On Sun, 10 Jun 2001, Jacques A. Vidrine wrote: > > > = I extended the implementation to support dynamically loaded > > sources, and ported nss_

Re: nsswitch dynamically loadable modules

2001-06-10 Thread Gyori Sandor
Hello, Thank you for your detailed explanation, I'm sure it will be great. I have some short questions: On Sun, 10 Jun 2001, Jacques A. Vidrine wrote: > = I extended the implementation to support dynamically loaded > sources, and ported nss_ldap to use the invented interface. The

Re: nsswitch dynamically loadable modules

2001-06-10 Thread Jacques A. Vidrine
On Sun, Jun 10, 2001 at 06:24:58PM +0200, Gyori Sandor wrote: > 1. I don't understand exactly why, but even into -CURRENT there was > implemented only the statical part of nsswitch. Please search the archives for full information. Here is the history in summary: = I ported NetBSD's nsswitch

Re: nsswitch dynamically loadable modules

2001-06-10 Thread Gyori Sandor
On Sat, 9 Jun 2001 [EMAIL PROTECTED] wrote: > > There are patches to solve this problem at > > http://www.nectar.com/freebsd/nsswitch > > but only a part of them was built in to -CURRENT (the statical part). > > If it's such a deficiency where are you're patches to fix the missing > bits? I fail

Re: nsswitch dynamically loadable modules

2001-06-09 Thread scanner
On Sun, 10 Jun 2001, Gyori Sandor wrote: > Hello, > > There are patches to solve this problem at > http://www.nectar.com/freebsd/nsswitch > but only a part of them was built in to -CURRENT (the statical part). > > Could anybody tell me why? This is a serious deficiency of FreeBSD which > has be

nsswitch dynamically loadable modules

2001-06-09 Thread Gyori Sandor
Hello, FreeBSD 4.x has no support to nsswitch, and even the -CURRENT supports only very few, predefined methods such as files, nis, nisplus for user authentication in nsswitch.conf. Dynamically loadable modules can't be used, for example nss_ldap for authentication via LDAP. There are patches to