Error messages and how they are presented to the common sysadmin

miguel medalha medalist at sapo.pt
Mon Jul 29 14:40:24 UTC 2024


INFO : Operation unavailable without authentication

Or even:

INFO : Operation unavailable without authentication
LDAP error 1 LDAP_OPERATIONS_ERROR

The rest?

  File
"/usr/local/samba/lib64/python3.9/site-packages/samba/netcmd/__init__.py",
line 285, in _run
    return self.run(*args, **kwargs)
  File "/usr/local/samba/lib64/python3.9/site-packages/samba/netcmd/dns.py",
line 1375, in run
    remove_dc.remove_dns_references(samdb, logger, dnshostname,
  File "/usr/local/samba/lib64/python3.9/site-packages/samba/remove_dc.py",
line 101, in remove_dns_references
    zones = samdb.search(base="", scope=ldb.SCOPE_SUBTREE,

As much as I appreciate it, why would I care at this moment? I'm too busy,
and sometimes even afraid, to look at that now.

Maybe different levels of messages, activating on build through a switch.
People who need the second part can build Samba to their specification. The
others would plunge in their world of silence, or the music after a while
created from the patterns that are forming from the beatings of the" noises"
from of all those fans and disks...

Or is this already available and am I the one here not seeing it?

Regards


-----Original Message-----
From: miguel medalha [mailto:medalist at sapo.pt] 
Sent: 29 de julho de 2024 15:21
To: samba-technical at lists.samba.org
Subject: Error messages and how they are presented to the common sysadmin

I thought that I could bring some contribute here about the usability of
Samba.

While using 'samba-tool dns', I received the following message:

ERROR(ldb): uncaught exception - LDAP error 1 LDAP_OPERATIONS_ERROR -
<00002020: Operation unavailable without authentication> <>
  File
"/usr/local/samba/lib64/python3.9/site-packages/samba/netcmd/__init__.py",
line 285, in _run
    return self.run(*args, **kwargs)
  File "/usr/local/samba/lib64/python3.9/site-packages/samba/netcmd/dns.py",
line 1375, in run
    remove_dc.remove_dns_references(samdb, logger, dnshostname,
  File "/usr/local/samba/lib64/python3.9/site-packages/samba/remove_dc.py",
line 101, in remove_dns_references
    zones = samdb.search(base="", scope=ldb.SCOPE_SUBTREE,

This message contains a lot of information that is useful only to coders.
The common systems administrator will embark on too long a journey through
all that haystack in search of the needle he desperately needs:

ERROR : Operation unavailable without authentication

Or even:

INFO : Operation unavailable without authentication

Is there currently some manner of building Samba in such a way that the
common, non-developer, sysadmin, can uncomplicate his already complicated
life?

That would be a marvelous gift.

Thank you and good work!

I love Samba





More information about the samba-technical mailing list