[Samba] Failed to bind to uuid NT_STATUS_LOGON_FAILURE

Omnis ludis - games sergey.gortinsc17 at gmail.com
Wed Jun 5 14:13:04 UTC 2024

I tried to run with this command, but I get an error
./chgtdcpass --configfile=/opt/samba/etc/smb.conf
module samba_dsdb initialization failed : No such object
Unable to load modules for /var/lib/samba/private/sam.ldb:
dsdb_module_search_dn: did not find base dn @ROOTDSE (0 results)
Traceback (most recent call last):
  File "./chgtdcpass", line 56, in <module>
    ldbs = get_ldbs(paths, creds, session, lp)
  File "/usr/lib64/python3.8/site-packages/samba/upgradehelpers.py", line
142, in get_ldbs
    ldbs.sam = SamDB(paths.samdb,
  File "/usr/lib64/python3.8/site-packages/samba/samdb.py", line 90, in
    super(SamDB, self).__init__(url=url, lp=lp, modules_dir=modules_dir,
  File "/usr/lib64/python3.8/site-packages/samba/__init__.py", line 114, in
    self.connect(url, flags, options)
  File "/usr/lib64/python3.8/site-packages/samba/samdb.py", line 106, in
    super(SamDB, self).connect(url=url, flags=flags,
_ldb.LdbError: (32, 'dsdb_module_search_dn: did not find base dn @ROOTDSE
(0 results)')
I specified the location of smb.conf, why does this script follow a
different path to search for internal samba files?

ср, 5 июн. 2024 г. в 17:02, Rowland Penny via samba <samba at lists.samba.org>:

> On Wed, 5 Jun 2024 15:33:49 +0200
> Christian Naumer via samba <samba at lists.samba.org> wrote:
> > May be this will work:
> >
> > /usr/share/samba/scripts/chgtdcpass --help
> > Usage: chgtdcpass [options]
> >
> That should work, but you should take from this:
> A) run more than one DC
> B) never use sssd with Samba, there is absolutely no point.
> Rowland
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list