* [Comm] resolving via wins
@ 2005-01-12 6:48 Boris Muradov
2005-01-12 7:33 ` Boris Muradov
0 siblings, 1 reply; 2+ messages in thread
From: Boris Muradov @ 2005-01-12 6:48 UTC (permalink / raw)
To: community
Привет всем,
ALM2.4,samba-3.0.5-alt3.M24
хотел настроить subj:
/etc/nsswitch.conf:
hosts: files dns wins
потом,
/sbin/update_chrooted conf
/etc/samba/smb.conf: параметр 'wins server' прописан
на всякий случай запустил:
/sbin/ldconfig
/sbin/update_chrooted lib
результат - не работает:
[root@noir74l etc]# strace ping maxim
...
open("/lib/libnss_wins.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
...
write(2, "ping: unknown host maxim\n", 25ping: unknown host maxim ) =
25
[root@noir74l etc]# ls -l /lib/libnss_wins.so*
-rwxr-xr-x 1 root root 734252 Nov 16 18:21 /lib/libnss_wins.so
lrwxrwxrwx 1 root root 14 Dec 30 10:12 /lib/libnss_wins.so.2 ->
libnss_wins.so
[root@noir74l etc]# ldconfig -p | grep wins
libnss_wins.so.2 (libc6) => /lib/libnss_wins.so.2
libnss_wins.so (libc6) => /lib/libnss_wins.so
что здесь неправильно ?
nmblookup работает нормально.
Спасибо,
Борис
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] resolving via wins
2005-01-12 6:48 [Comm] resolving via wins Boris Muradov
@ 2005-01-12 7:33 ` Boris Muradov
0 siblings, 0 replies; 2+ messages in thread
From: Boris Muradov @ 2005-01-12 7:33 UTC (permalink / raw)
To: community
sorry, проблема решена
через strace обнаружилось. что ping делает chroot("/var/resolv"),
пришлось добавить в /var/resolv/lib следующие библиотеки из /lib:
libnss_wins.so.2
libldap.so.2
liblber.so.2
libgssapi_krb5.so.2
libkrb5.so.3
libk5crypto.so.3
libcom_err.so.2
libdl.so.2
libsasl2.so.2
libssl.so.4
libcrypto.so.4
непонятно, правда, для чего же тогда есть '/sbin/update_chrooted' или
он не для этого ?
честно говоря, не хочется копаться в этом скрипте, может,
разработчики посмотрят...
-----Original Message-----
From: Boris Muradov <boris.muradov@mail.ru>
To: community@altlinux.ru
Date: Wed, 12 Jan 2005 09:48:21 +0300
Subject: [Comm] resolving via wins
>
> Привет всем,
>
> ALM2.4,samba-3.0.5-alt3.M24
>
> хотел настроить subj:
>
> /etc/nsswitch.conf:
> hosts: files dns wins
>
> потом,
> /sbin/update_chrooted conf
>
> /etc/samba/smb.conf: параметр 'wins server' прописан
>
> на всякий случай запустил:
> /sbin/ldconfig
> /sbin/update_chrooted lib
>
> результат - не работает:
>
> [root@noir74l etc]# strace ping maxim
> ...
> open("/lib/libnss_wins.so.2", O_RDONLY) = -1 ENOENT (No such file
or
> directory)
> ...
> write(2, "ping: unknown host maxim\n", 25ping: unknown host maxim )
=
> 25
>
> [root@noir74l etc]# ls -l /lib/libnss_wins.so*
> -rwxr-xr-x 1 root root 734252 Nov 16 18:21 /lib/libnss_wins.so
> lrwxrwxrwx 1 root root 14 Dec 30 10:12 /lib/libnss_wins.so.2
->
> libnss_wins.so
>
>
> [root@noir74l etc]# ldconfig -p | grep wins
> libnss_wins.so.2 (libc6) => /lib/libnss_wins.so.2
> libnss_wins.so (libc6) => /lib/libnss_wins.so
>
>
> что здесь неправильно ?
> nmblookup работает нормально.
>
> Спасибо,
> Борис
>
>
>
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> https://lists.altlinux.ru/mailman/listinfo/community
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-12 7:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-12 6:48 [Comm] resolving via wins Boris Muradov
2005-01-12 7:33 ` Boris Muradov
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git