[Samba] Failed to bind to uuid NT_STATUS_LOGON_FAILURE
Andrew Bartlett
abartlet at samba.org
Wed Jun 5 20:04:06 UTC 2024
Add a 'private dir' to your smb.conf matching where your Samba packages
are putting 'private'.
Andrew Bartlett
On Wed, 2024-06-05 at 17:13 +0300, Omnis ludis - games via samba wrote:
> I tried to run with this command, but I get an error./chgtdcpass --
> configfile=/opt/samba/etc/smb.confmodule samba_dsdb initialization
> failed : No such objectUnable 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", line142, in get_ldbs ldbs.sam =
> SamDB(paths.samdb, File "/usr/lib64/python3.8/site-
> packages/samba/samdb.py", line 90, in__init__ 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__init__ self.connect(url, flags, options) File
> "/usr/lib64/python3.8/site-packages/samba/samdb.py", line 106,
> inconnect 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 adifferent 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 +0200Christian Naumer via samba <
> > samba at lists.samba.org> wrote:
> > > May be this will work:
> > > /usr/share/samba/scripts/chgtdcpass --helpUsage: chgtdcpass
> > > [options]
> >
> > That should work, but you should take from this:
> > A) run more than one DCB) never use sssd with Samba, there is
> > absolutely no point.
> > Rowland
> > --To unsubscribe from this list go to the following URL and read
> > theinstructions: https://lists.samba.org/mailman/options/samba
> >
--
Andrew Bartlett (he/him) https://samba.org/~abartlet/Samba Team Member (since 2001) https://samba.orgSamba Team Lead https://catalyst.net.nz/services/sambaCatalyst.Net Ltd
Proudly developing Samba for Catalyst.Net Ltd - a Catalyst IT group
company
Samba Development and Support: https://catalyst.net.nz/services/samba
Catalyst IT - Expert Open Source Solutions
More information about the samba
mailing list