unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Streit <simon@netpanic.org>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: 52976@debbugs.gnu.org
Subject: bug#52976: Some tools in Samba fail to find modules, and a missing dependency
Date: Mon, 17 Jan 2022 14:10:52 +0100	[thread overview]
Message-ID: <ygumtjumrs3.fsf@netpanic.org> (raw)
In-Reply-To: <8735lrxa2g.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 13 Jan 2022 22:36:39 -0500")


Hello Maxim,

thanks for having look at my patch. 

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> We shouldn't hard code Python versions in the paths as it'd be too prone
> to break.  You could probably make good use of the recently introduced
> search-input-directory procedure here :-).

I tried your suggestion, but unfortunately my attempt with modifying
the lines to as such:
--8<---------------cut here---------------start------------->8---
(talloc (string-append
          (search-input-directory inputs
                                  "/lib/python3.9/site-packages")))
(tdb (string-append
       (search-input-directory inputs
                               "/lib/python3.9/site-packages")))
(python-dnspython (string-append
                    (search-input-directory inputs
                                            "/lib/python3.9/site-packages")))
--8<---------------cut here---------------end--------------->8---
compiles to a package.  But ‘samba-tools’ fails again.

It is not quite clear to me now why this method is better?  Is hard
coding being avoid now?  Should I avoid the ‘3.9’ in the search path?
Sorry that I have to ask for an explanation.

And while we are at it.  I noticed that you have already replaced
heimdal with mit-krb5, which I had done personally already without
proposing it yet.  Thanks for that.

Point is that I was trying to pull up an AD DC, which is why I run these
problems.

And then, can I ask you to add avahi to inputs?  Since some time Samba
has disabled SMBv1, which means host discovery with NetBIOS doesn’t work
any more.  Now it is best to have Avahi running alongside Samba hosts,
so that Samba can publish it’s service over multicast.  No extra
configuration is needed for this. 

This doesn’t help much for Windows hosts though.  I’ve already packaged
wsdd [1], and have prepared a service, which I haven’t made public
either yet.  I haven’t completed the documentation for info so far.
Should really finish it now.

I will open another issue for this later, and will not hijack this
thread for it.


Kind regards
Simon


[1] https://github.com/christgau/wsdd




  reply	other threads:[~2022-01-17 14:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-03 13:07 bug#52976: Some tools in Samba fail to find modules, and a missing dependency Simon Streit
2022-01-14  3:36 ` Maxim Cournoyer
2022-01-17 13:10   ` Simon Streit [this message]
2022-01-17 15:53     ` Simon Streit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ygumtjumrs3.fsf@netpanic.org \
    --to=simon@netpanic.org \
    --cc=52976@debbugs.gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).