RE: nss_ldap

2003-06-28 Thread Andrey Nepomnyaschih
Thanks everyone who replied,

That clears some things for me.

Andrey Nepomnyaschih

-Original Message-
From: Tim Kientzle [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 27, 2003 9:50 PM
To: Andrey Nepomnyaschih
Cc: [EMAIL PROTECTED]
Subject: Re: nss_ldap


Andrey Nepomnyaschih wrote:
 Hello over there,
 
 Well playing with it nss_ldap in 5.1R. I have found that ls -la Will 
 not show the names of the owner if the owner resides in LDAP Directory

 only the corresponding uidNumbers. Is there a way to show the 
 usernames instead of uidNumbers?

For this to work, ls must be dynamically linked.  However, dynamic
linking of /bin and /sbin isn't fully supported right now. Gordon Tetlow
is working to get this fully supported for 5.2.

If you want this now, try the following:

First, partition your disk carefully.  In particular,
make sure that /usr/lib is part of the root partition.
(If you have a separate /usr partition, then the shared libraries can't
be accessed during the initial boot stages before /usr is mounted and
everything fails.)

Second, in /usr/src/bin, edit Makefile.inc
to set
NOSHARED?= NO
Then
cd /usr/src/bin  make  make install
to build your dynamic /bin.

Cross your fingers and reboot.  Do NOT do this on a system
with important data.  Trashing /bin will render your system completely
unbootable.

You can do the same with /sbin, though I strongly
recommend that you add
   NOSHARED=YES
to the Makefile for /usr/src/sbin/init.  (IMO,
dynamically linking init is just begging for trouble.)

A number of people have done this, primarily for space reasons (a
dynamically-linked /bin and /sbin are much smaller) and it does work.
But, the need to repartition your disk is a bit of an obstacle.  ;-)
Gordon's work will make the special partitioning unnecessary, and
provide a single switch for selecting dynamic linking.

Warning: I haven't been brave enough to try this
myself, though I've heard reports from people who have. ;-) Good luck.

Tim Kientzle


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nss_ldap

2003-06-27 Thread Dan Nelson
In the last episode (Jun 27), Andrey Nepomnyaschih said:
 Well playing with it nss_ldap in 5.1R. I have found that ls -la Will
 not show the names of the owner if the owner resides in LDAP
 Directory only the corresponding uidNumbers. Is there a way to show
 the usernames instead of uidNumbers?

Make sure ls is dynamically-linked.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nss_ldap

2003-06-27 Thread Tim Kientzle
Andrey Nepomnyaschih wrote:
Hello over there,

Well playing with it nss_ldap in 5.1R. I have found that ls -la
Will not show the names of the owner if the owner resides in LDAP
Directory only the corresponding uidNumbers. Is there a way to
show the usernames instead of uidNumbers?
For this to work, ls must be dynamically linked.  However, dynamic
linking of /bin and /sbin isn't fully supported right now.
Gordon Tetlow is working to get this fully supported for 5.2.
If you want this now, try the following:

First, partition your disk carefully.  In particular,
make sure that /usr/lib is part of the root partition.
(If you have a separate /usr partition, then the shared
libraries can't be accessed during the initial boot
stages before /usr is mounted and everything fails.)
Second, in /usr/src/bin, edit Makefile.inc
to set
   NOSHARED?= NO
Then
   cd /usr/src/bin  make  make install
to build your dynamic /bin.
Cross your fingers and reboot.  Do NOT do this on a system
with important data.  Trashing /bin will render your system
completely unbootable.
You can do the same with /sbin, though I strongly
recommend that you add
  NOSHARED=YES
to the Makefile for /usr/src/sbin/init.  (IMO,
dynamically linking init is just begging for trouble.)
A number of people have done this, primarily for space reasons
(a dynamically-linked /bin and /sbin are much smaller)
and it does work.  But, the need to repartition
your disk is a bit of an obstacle.  ;-)  Gordon's
work will make the special partitioning unnecessary,
and provide a single switch for selecting dynamic
linking.
Warning: I haven't been brave enough to try this
myself, though I've heard reports from people who have. ;-)
Good luck.
Tim Kientzle

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nss_ldap

2003-06-27 Thread Jon Disnard
Wasn't there a patch floating around to build a dynamic world with the 
placment of libc et'al in /lib ???

I'd actually like to try that patch for building a tiny fbsd image for 
my net4501.

Thanks in advance,
-Jon Disnard


Dan Nelson wrote:
In the last episode (Jun 27), Andrey Nepomnyaschih said:

Well playing with it nss_ldap in 5.1R. I have found that ls -la Will
not show the names of the owner if the owner resides in LDAP
Directory only the corresponding uidNumbers. Is there a way to show
the usernames instead of uidNumbers?


Make sure ls is dynamically-linked.



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nss_ldap and pam_ldap ?

2001-06-06 Thread Mark Murray

 Is there any plan to port pam_ldap ( and nss_ldap )
 to FreeBSD-CURRENT ?

No plans, but if you submit something, I would be interested.

M
-- 
Mark Murray
Warning: this .sig is umop ap!sdn

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



RE: nss_ldap

2001-06-05 Thread Chris Knight

Howdy,

The FreeBSD support for nss_ldap is only via the BIND IRS interface. See the
README.IRS file supplied with nss_ldap on how to get this working on
FreeBSD.
To actually utilise the nsswitch features, you'll need to get the -current
patches on nectar.com and get them compiling and working on -current. Then
use the nss_ldap version on nectar.com along with the patches.

Regards,
Chris Knight
Systems Administrator
AIMS Independent Computer Professionals
Tel: +61 3 6334 6664  Fax: +61 3 6331 7032  Mob: +61 419 528 795
Web: http://www.aims.com.au



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Ladislav Kostal
 Sent: Tuesday, 5 June 2001 20:57
 To: [EMAIL PROTECTED]
 Subject: nss_ldap


 Hello,

 I'm trying to get nss_ldap work. But it is looking for some
 includes, which
 I haven't (nss_common.h, nss_dbdefs.h). And I can not find
 any installation
 howto. There is some mention about FreeBSD in README, but
 nothing particular
 to this problem. Patches for nss_ldap on nectar.com are for
 older release.

 What do I really need to get it work? I have 5.0-20010531-CURRENT,
 nss_ldap-153, openldap-2.0.11 (20010524). pam_ldap is working
 correctly...

 Please help.

 Ladislav Kostal


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message