Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2005 10:05:55 -0700
From:      Doug Sampson <dougs@dawnsign.com>
To:        'Dan Nelson' <dnelson@allantgroup.com>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   RE: [Samba] getent & winbindd on FreeBSD 5.4
Message-ID:  <EFADFCBA81EEBC4FA93D573B32AFFE270124A4BE@mercury.dawnsign.com>

next in thread | raw e-mail | index | archive | help
> That email is referring to the getent command inside the linux /compat
> tree.  If you need that command to work, you will need to install and
> set up the appropriate *linux* libraries and files into 
> /compat/linux/ .
> If this is your only problem, I'd recommend just not running linuxes
> getent command :)

Does anyone know where I can get FreeBSD-native getent??? It isn't in the
ports system. Fresh Ports has it and it provides a link to the
http://www.domtools.com site but it seems to be inactive.

How can I verify that linux libraries have been installed? I looked at this:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu-lbc-insta
ll.html#LINUXEMU-LIBS-PORT. When I run the 'getent' command, it doesn't
complain about missing libraries. When I checked for /compat/linux directory
as follows:

aries-root@/: ll
total 55
<..snip..>
drwxr-xr-x   2 root   wheel        512 Sep  7 06:05 cdrom
lrwxr-xr-x   1 root   wheel         10 Sep  7 06:08 compat -> usr/compat
<..snip..>
drwxr-xr-x  19 root   wheel        512 Sep  7 15:11 usr
drwxr-xr-x  22 root   wheel        512 Sep 15 06:43 var

aries-root@/: cd compat
aries-root@/compat: ll
total 2
drwxr-xr-x  8 root  wheel  512 Sep  7 06:10 linux

aries-root@/compat/linux: ll
total 12
drwxr-xr-x  2 root  wheel  1024 Sep  7 06:10 bin
drwxr-xr-x  7 root  wheel  1024 Sep 15 13:43 etc
drwxr-xr-x  2 root  wheel  2048 Sep  7 06:10 lib
drwxr-xr-x  2 root  wheel   512 Sep  7 06:10 sbin
drwxr-xr-x  8 root  wheel   512 Sep  7 06:10 usr
drwxr-xr-x  4 root  wheel   512 Sep  7 06:10 var
aries-root@/compat/linux: cd lib

aries-root@/compat/linux/lib: ll
total 6288
-rwxr-xr-x  1 root  wheel    71928 Nov  5  2003 ld-2.3.2.so
lrwxrwxrwx  1 root  wheel       11 Apr  5 02:51 ld-linux.so.2 -> ld-2.3.2.so
-rwxr-xr-x  1 root  wheel     3416 Nov  5  2003 libBrokenLocale-2.3.2.so
lrwxrwxrwx  1 root  wheel       24 Apr  5 02:51 libBrokenLocale.so.1 ->
libBrokenLocale-2.3.2.so
-rwxr-xr-x  1 root  wheel     4032 Nov  5  2003 libNoVersion-2.3.2.so
lrwxrwxrwx  1 root  wheel       21 Apr  5 02:51 libNoVersion.so.1 ->
libNoVersion-2.3.2.so
-rwxr-xr-x  1 root  wheel    15480 Nov  5  2003 libSegFault.so
lrwxrwxrwx  1 root  wheel       15 Apr  5 02:51 libacl.so.1 ->
libacl.so.1.0.0
-rw-r--r--  1 root  wheel   301103 Aug 14  2002 libacl.so.1.0.0
-rwxr-xr-x  1 root  wheel     8940 Nov  5  2003 libanl-2.3.2.so
lrwxrwxrwx  1 root  wheel       15 Apr  5 02:51 libanl.so.1 ->
libanl-2.3.2.so
lrwxrwxrwx  1 root  wheel       16 Apr  5 02:51 libattr.so.1 ->
libattr.so.1.0.0
-rw-r--r--  1 root  wheel    31255 Aug 14  2002 libattr.so.1.0.0
-rwxr-xr-x  1 root  wheel  1212940 Nov  5  2003 libc-2.3.2.so
lrwxrwxrwx  1 root  wheel       13 Apr  5 02:51 libc.so.6 -> libc-2.3.2.so
-rwxr-xr-x  1 root  wheel    20104 Nov  5  2003 libcrypt-2.3.2.so
lrwxrwxrwx  1 root  wheel       17 Apr  5 02:51 libcrypt.so.1 ->
libcrypt-2.3.2.so
-rwxr-xr-x  1 root  wheel   554458 May 26  2002 libdb-3.1.so
-rwxr-xr-x  1 root  wheel   747259 May 26  2002 libdb-3.2.so
-rwxr-xr-x  1 root  wheel   656208 May 26  2002 libdb-3.3.so
-r-xr-xr-x  1 root  wheel   760175 Aug 27  2002 libdb-4.0.so
lrwxrwxrwx  1 root  wheel       11 Apr  5 02:51 libdb.so.3 -> libdb2.so.3
-rwxr-xr-x  1 root  wheel   278200 May 26  2002 libdb2.so.3
-rwxr-xr-x  1 root  wheel     9184 Nov  5  2003 libdl-2.3.2.so
lrwxrwxrwx  1 root  wheel       14 Apr  5 02:51 libdl.so.2 -> libdl-2.3.2.so
-rwxr-xr-x  1 root  wheel   854160 Sep  3  2002 libgcc_s-3.2-20020903.so.1
lrwxrwxrwx  1 root  wheel       26 Apr  5 02:51 libgcc_s.so.1 ->
libgcc_s-3.2-20020903.so.1
-rwxr-xr-x  1 root  wheel   132596 Nov  5  2003 libm-2.3.2.so
lrwxrwxrwx  1 root  wheel       13 Apr  5 02:51 libm.so.6 -> libm-2.3.2.so
-rwxr-xr-x  1 root  wheel    70348 Nov  5  2003 libnsl-2.3.2.so
lrwxrwxrwx  1 root  wheel       15 Apr  5 02:51 libnsl.so.1 ->
libnsl-2.3.2.so
-rwxr-xr-x  1 root  wheel    26500 Nov  5  2003 libnss1_compat-2.3.2.so
lrwxrwxrwx  1 root  wheel       23 Apr  5 02:51 libnss1_compat.so.1 ->
libnss1_compat-2.3.2.so
-rwxr-xr-x  1 root  wheel    11588 Nov  5  2003 libnss1_dns-2.3.2.so
lrwxrwxrwx  1 root  wheel       20 Apr  5 02:51 libnss1_dns.so.1 ->
libnss1_dns-2.3.2.so
-rwxr-xr-x  1 root  wheel    38492 Nov  5  2003 libnss1_files-2.3.2.so
lrwxrwxrwx  1 root  wheel       22 Apr  5 02:51 libnss1_files.so.1 ->
libnss1_files-2.3.2.so
-rwxr-xr-x  1 root  wheel    31360 Nov  5  2003 libnss1_nis-2.3.2.so
lrwxrwxrwx  1 root  wheel       20 Apr  5 02:51 libnss1_nis.so.1 ->
libnss1_nis-2.3.2.so
-rwxr-xr-x  1 root  wheel    41000 Nov  5  2003 libnss_compat-2.3.2.so
lrwxrwxrwx  1 root  wheel       23 Apr  5 02:51 libnss_compat.so.1 ->
libnss1_compat-2.3.2.so
lrwxrwxrwx  1 root  wheel       22 Apr  5 02:51 libnss_compat.so.2 ->
libnss_compat-2.3.2.so
-rwxr-xr-x  1 root  wheel    13368 Nov  5  2003 libnss_dns-2.3.2.so
lrwxrwxrwx  1 root  wheel       20 Apr  5 02:51 libnss_dns.so.1 ->
libnss1_dns-2.3.2.so
lrwxrwxrwx  1 root  wheel       19 Apr  5 02:51 libnss_dns.so.2 ->
libnss_dns-2.3.2.so
-rwxr-xr-x  1 root  wheel    41324 Nov  5  2003 libnss_files-2.3.2.so
lrwxrwxrwx  1 root  wheel       22 Apr  5 02:51 libnss_files.so.1 ->
libnss1_files-2.3.2.so
lrwxrwxrwx  1 root  wheel       21 Apr  5 02:51 libnss_files.so.2 ->
libnss_files-2.3.2.so
-rwxr-xr-x  1 root  wheel    13900 Nov  5  2003 libnss_hesiod-2.3.2.so
lrwxrwxrwx  1 root  wheel       22 Apr  5 02:51 libnss_hesiod.so.2 ->
libnss_hesiod-2.3.2.so
-rwxr-xr-x  1 root  wheel    31812 Nov  5  2003 libnss_nis-2.3.2.so
lrwxrwxrwx  1 root  wheel       20 Apr  5 02:51 libnss_nis.so.1 ->
libnss1_nis-2.3.2.so
lrwxrwxrwx  1 root  wheel       19 Apr  5 02:51 libnss_nis.so.2 ->
libnss_nis-2.3.2.so
-rwxr-xr-x  1 root  wheel    39852 Nov  5  2003 libnss_nisplus-2.3.2.so
lrwxrwxrwx  1 root  wheel       23 Apr  5 02:51 libnss_nisplus.so.2 ->
libnss_nisplus-2.3.2.so
-rwxr-xr-x  1 root  wheel    70876 Nov  5  2003 libpthread-0.10.so
lrwxrwxrwx  1 root  wheel       18 Apr  5 02:51 libpthread.so.0 ->
libpthread-0.10.so
-rwxr-xr-x  1 root  wheel    60716 Nov  5  2003 libresolv-2.3.2.so
lrwxrwxrwx  1 root  wheel       18 Apr  5 02:51 libresolv.so.2 ->
libresolv-2.3.2.so
-rwxr-xr-x  1 root  wheel    22656 Nov  5  2003 librt-2.3.2.so
lrwxrwxrwx  1 root  wheel       14 Apr  5 02:51 librt.so.1 -> librt-2.3.2.so
lrwxrwxrwx  1 root  wheel       19 Apr  5 02:51 libtermcap.so.2 ->
libtermcap.so.2.0.8
-rwxr-xr-x  1 root  wheel    11696 Jun 23  2002 libtermcap.so.2.0.8
-rwxr-xr-x  1 root  wheel    12580 Nov  5  2003 libthread_db-1.0.so
lrwxrwxrwx  1 root  wheel       19 Apr  5 02:51 libthread_db.so.1 ->
libthread_db-1.0.so
-rwxr-xr-x  1 root  wheel     7780 Nov  5  2003 libutil-2.3.2.so
lrwxrwxrwx  1 root  wheel       16 Apr  5 02:51 libutil.so.1 ->
libutil-2.3.2.so

I noticed that the libnss_winbind.so and the libnss_wins.so aren't in
/usr/compat/linux/lib directory. Should I add them manually? If so, from
where? Or make a link to appropriate FreeBSD libs?

~Doug



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EFADFCBA81EEBC4FA93D573B32AFFE270124A4BE>