Error messages and how they are presented to the common sysadmin

miguel medalha medalist at sapo.pt
Mon Jul 29 14:21:20 UTC 2024


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