<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>35394</bug_id>
          
          <creation_ts>2018-09-14 13:10:46 +0300</creation_ts>
          <short_desc>бинарник /usr/bin/net не запускается (отсутствуют необходимые библиотеки)</short_desc>
          <delta_ts>2018-09-18 11:34:54 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>samba-common-tools</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Sheplyakov">asheplyakov</reporter>
          <assigned_to name="Evgeny Sinelnikov">sin</assigned_to>
          <cc>iv</cc>
    
    <cc>sin</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>174120</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2018-09-14 13:10:46 +0300</bug_when>
    <thetext># net ads join -U administrator%t0psecret
net: error while loading shared libraries: libwbclient.so.0: cannot open shared object file: No such file or directory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174121</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2018-09-14 13:29:03 +0300</bug_when>
    <thetext>Не воспроизводится в хешере на последнем Сизифе:

$ hsh --initroot
$ hsh-install /usr/bin/net
$ hsh-shell --rooter
[...]
[root@localhost .in]# net ads join -U administrator%t0psecret
Can&apos;t load /etc/samba/smb.conf - run testparm to debug it
[root@localhost .in]# mkdir /etc/samba
[root@localhost .in]# touch /etc/samba/smb.conf
[root@localhost .in]# net ads join -U administrator%t0psecret
mkdir failed on directory /var/lib/samba/private/msg.sock: No such file or directory
Failed to init messaging context
[root@localhost .in]# mkdir -p /var/lib/samba/private
[root@localhost .in]# net ads join -U administrator%t0psecret
Host is not configured as a member server.
Invalid configuration.  Exiting....
Failed to join domain: This operation is only allowed for the PDC of the domain.
[root@localhost .in]#

Что собственно и ожидалось.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174122</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2018-09-14 13:31:59 +0300</bug_when>
    <thetext>libwbclient.so.0 -- это клиент winbind. Покажите ваш /etc/nsswitch.conf, пожалуйста.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174208</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2018-09-17 18:36:31 +0300</bug_when>
    <thetext>&gt; libwbclient.so.0 -- это клиент winbind.

Спасибо, я в курсе.

&gt; Покажите ваш /etc/nsswitch.conf, пожалуйста.

Мне не жалко, но зачем?

# grep -v -E &quot;^#&quot; /etc/nsswitch.conf

passwd:     files
shadow:     tcb files
group:      files
gshadow:    files

hosts:      files dns myhostname


ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files


bootparams: nisplus [NOTFOUND=return] files

netgroup:   nisplus

publickey:  nisplus

automount:  files</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174210</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2018-09-17 18:45:25 +0300</bug_when>
    <thetext># ldd /usr/bin/net | grep &apos;not found&apos; |sort -u
        libnsl.so.2 =&gt; not found
        libwbclient.so.0 =&gt; not found

Вот в чем причина. А как это получилось, описано здесь: https://bugzilla.altlinux.org/show_bug.cgi?id=35405</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174242</commentid>
    <comment_count>5</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2018-09-18 11:34:54 +0300</bug_when>
    <thetext>(In reply to comment #4)
&gt; # ldd /usr/bin/net | grep &apos;not found&apos; |sort -u
&gt;         libnsl.so.2 =&gt; not found
&gt;         libwbclient.so.0 =&gt; not found
&gt; 
&gt; Вот в чем причина. А как это получилось, описано здесь:
&gt; https://bugzilla.altlinux.org/show_bug.cgi?id=35405

Ну что ж, это проблема явно не в samba, и должна быть исправлена не в этом пакете.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>