Displaying 20 results from an estimated 37 matches for "chgtdcpass".
2024 Jun 06
1
Failed to bind to uuid NT_STATUS_LOGON_FAILURE
...th import system_session
from samba import param
from samba.provision import find_provision_key_parameters
from samba.upgradehelpers import (get_paths,
get_ldbs,
update_machine_account_password)
parser = optparse.OptionParser("chgtdcpass [options]")
sambaopts = options.SambaOptions(parser)
parser.add_option_group(sambaopts)
parser.add_option_group(options.VersionOptions(parser))
credopts = options.CredentialsOptions(parser)
parser.add_option_group(credopts)
opts = parser.parse_args()[0]
lp = sambaopts.get_loadparm()
smbconf...
2024 Jun 05
1
Failed to bind to uuid NT_STATUS_LOGON_FAILURE
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...
2024 Jun 06
1
Failed to bind to uuid NT_STATUS_LOGON_FAILURE
...samba import param
> from samba.provision import find_provision_key_parameters
> from samba.upgradehelpers import (get_paths,
> get_ldbs,
> update_machine_account_password)
>
> parser = optparse.OptionParser("chgtdcpass [options]")
> sambaopts = options.SambaOptions(parser)
> parser.add_option_group(sambaopts)
> parser.add_option_group(options.VersionOptions(parser))
> credopts = options.CredentialsOptions(parser)
> parser.add_option_group(credopts)
>
> opts = parser.parse_args()[0]
>...
2017 Jun 20
2
DRS stopped working after upgrade from debian Jessie to Stretch
Can you do this against the secrets.keytab in Samba's private/ dir?
> You can reset the Samba machine account pw with
> ./source4/scripting/devel/chgtdcpass, but:
> - it wont be packaged so you will have to build Samba and tell it to
> operate against the right paths
> - it shouldn't be needed, upgrades shouldn't break this, and
> understanding the root cause would be better
>
>
Hello Andrew,
May I ask a few questions in...
2024 Jun 06
1
Failed to bind to uuid NT_STATUS_LOGON_FAILURE
...from samba.provision import find_provision_key_parameters
> > from samba.upgradehelpers import (get_paths,
> > get_ldbs,
> > update_machine_account_password)
> >
> > parser = optparse.OptionParser("chgtdcpass [options]")
> > sambaopts = options.SambaOptions(parser)
> > parser.add_option_group(sambaopts)
> > parser.add_option_group(options.VersionOptions(parser))
> > credopts = options.CredentialsOptions(parser)
> > parser.add_option_group(credopts)
> >
> >...
2024 Jun 06
1
Failed to bind to uuid NT_STATUS_LOGON_FAILURE
...import find_provision_key_parameters
>> > from samba.upgradehelpers import (get_paths,
>> > get_ldbs,
>> > update_machine_account_password)
>> >
>> > parser = optparse.OptionParser("chgtdcpass [options]")
>> > sambaopts = options.SambaOptions(parser)
>> > parser.add_option_group(sambaopts)
>> > parser.add_option_group(options.VersionOptions(parser))
>> > credopts = options.CredentialsOptions(parser)
>> > parser.add_option_group(credopts)...
2015 Jul 14
2
krbtgt user not showing aes types
I have found source4/scripting/devel/chgtdcpass for adding the aes types
to machines. I know you have to change the password of normal users.
How do you fix this for krbtgt? Can you just change the password? Is
there a recommended method?
Thank you for any help,
Trever
-------------- next part --------------
A non-text attachment was scrubbed...
2017 Jun 20
0
DRS stopped working after upgrade from debian Jessie to Stretch
On Tue, 2017-06-20 at 23:35 +0200, Achim Gottinger via samba wrote:
> Can you do this against the secrets.keytab in Samba's private/ dir?
> > You can reset the Samba machine account pw with
> > ./source4/scripting/devel/chgtdcpass, but:
> > - it wont be packaged so you will have to build Samba and tell it
> > to
> > operate against the right paths
> > - it shouldn't be needed, upgrades shouldn't break this, and
> > understanding the root cause would be better
> >
> >
&g...
2017 Jun 24
0
Demoting and remoting a DC with same hostname.
...upgrade from Debian Jessie to Debian Stretch all my three
DCs have lost their machine password. Or something is corrupted in the
machine password database. So the DRS stopped working.
To try to repair safely the issue I have virtualised the three
machines. Here what I have tried :
-> the "chgtdcpass" script works well on the DC with all the FSMO
rôles. The "samba-tools" commands using machine password works.
-> the "chgtdcpass" script work on one DC (it reconnect the DRS) but
not on the other... I don't know why. All the kerberos command works
or fail depending...
2015 Apr 29
6
Classicupgrade succeded with Sernet-samba-4.2.1 AD, but Kinit not wokring
...been trying to upgrade from samba 3 to samba 4.2.1 on Ubuntu 14.4
using the sernet-samba package.
the upgrade seems to work fine and the samba4 comes up correctlly,
I have also run the following script to get rid of bug
https://git.samba.org/?p=samba.git;a=blob_plain;f=source4/scripting/devel/chgtdcpass;h=4f5ea15a80c2862daf170a5657658a8163174f8a;hb=HEAD
I am able to resolve some basic dns entry using the host command, and
that's good, however any kinit does not work and return
kinit mariopio at CCDC.LAN
kinit: Cannot contact any KDC for realm 'CCDC.LAN' while getting initial
cred...
2019 Nov 03
2
DC with outdated secrets
Dear list,
by mistake some script (msktutil) has updated machine password and keytab
for one of my DCs (samba-4.10.10). While I could restore the keytab
(/var/lib/samba/private/secrets.keytab) using samba-tool domain
exportkeytab, I fail to come up with a way to update the secrets file
(/var/lib/samba/private/secrets.ldb) with a new machine password.
Can you please help me with an idea how to fix
2020 Jun 13
2
Samba not providing the right encryption in Kerberos
Hi,
I have a domain with 3 DCs running 4.11.8. The database itself dates back to Samba3 and has been gradually updates over the years.
When I check out a ticket I get the following results from klist -e
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: user at OLDDOMAIN
Valid starting Expires Service principal
06/12/2020 23:25:04 06/13/2020 09:25:04 krbtgt/ OLDDOMAIN at
2015 Jun 23
2
Migrating from Samba3.6(ldap) to Samba4.2.2
Hi i'm actually trying to migrate my samba 3.6 PDC NT-4 domain with openldap as backend to samba4 AD type domain witch bind_dlz
so i followed the documentation https://wiki.samba.org/index.php/Samba_Classic_Upgrade_%28NT4-style_domain_to_AD%29
the command :
samba-tool domain classicupgrade --dbdir=/root/sambe/ --use-xattrs=yes --realm=mydom.local --dns-backend=BIND9_DLZ
2015 Apr 29
1
Classicupgrade succeded with Sernet-samba-4.2.1 AD, but Kinit not wokring
...to samba 4.2.1 on Ubuntu 14.4
> using the sernet-samba package.
>
> the upgrade seems to work fine and the samba4 comes up correctlly,
>
> I have also run the following script to get rid of bug
>
>
>
https://git.samba.org/?p=samba.git;a=blob_plain;f=source4/scripting/devel/chgtdcpass;h=4f5ea15a80c2862daf170a5657658a8163174f8a;hb=HEAD
>
>
>
> I am able to resolve some basic dns entry using the host command, and
> that's good, however any kinit does not work and return
>
> kinit mariopio at CCDC.LAN
> kinit: Cannot contact any KDC for realm 'CCD...
2017 Jun 21
4
DRS stopped working after upgrade from debian Jessie to Stretch
...21.06.2017 um 00:50 schrieb Andrew Bartlett:
> On Tue, 2017-06-20 at 23:35 +0200, Achim Gottinger via samba wrote:
>> Can you do this against the secrets.keytab in Samba's private/ dir?
>>> You can reset the Samba machine account pw with
>>> ./source4/scripting/devel/chgtdcpass, but:
>>> - it wont be packaged so you will have to build Samba and tell it
>>> to
>>> operate against the right paths
>>> - it shouldn't be needed, upgrades shouldn't break this, and
>>> understanding the root cause would be better
>>...
2019 Nov 03
2
DC with outdated secrets
On Sun, 2019-11-03 at 16:24 +0100, Johannes Engel via samba wrote:
> 2 hours and I am a little further:
> Helped myself with Andrew's script in source4/scripts/devel/chgtdcpass
> which updated the machine password as well as the keytab.
> After a restart samba keeps complaining now that the (outdated) KVNO 6 is
> no longer part of the secrets.keytab:
> [2019/11/03 16:22:12.319958, 1]
> ../../source4/auth/gensec/gensec_gssapi.c:793(gensec_gssapi_update_inte...
2015 Apr 21
5
sernet = dead?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The packages are online :-)
Am 21.04.15 um 16:53 schrieb L.P.H. van Belle:
> thats still the case with the packages but.. 4.2.1 wil build on
> jessie fine. ( from source ) Did that today.
>
>
> Gr,
>
> Louis
>
>
>> -----Oorspronkelijk bericht----- Van: rowlandpenny at googlemail.com
>>
2017 Jun 19
7
DRS stopped working after upgrade from debian Jessie to Stretch
Hello Samba team !
I'am in a very delicate situation. After an upgrade to debian Stretch
my DRS stopped working.
I have three DCs (fichdc, fichds01, fichds02), all Debian Stretch, all
with the same problem. Everything seems to be fine except DRS.
-> File shares works
-> DNS (with bind9 DLZ) works
-> "kinit administrator" works
-> "kinit -k FICHDC$" works
->
2017 Jun 20
3
DRS stopped working after upgrade from debian Jessie to Stretch
On Tue, 20 Jun 2017 17:54:09 +0200
Prunk Dump via samba <samba at lists.samba.org> wrote:
> Hello thanks again for the help !
>
> I have analysed samba logs more closely. I'am very worried. I have
> three DC (fichdc, fichds01, fichds02) but here I talk just about
> fichdc's logs.
>
How did you upgrade 'jessie' to 'stretch' and why ?
Did all the
2015 Apr 29
0
Classicupgrade succeded with Sernet-samba-4.2.1 AD, but Kinit not wokring
...to samba 4.2.1 on Ubuntu 14.4
> using the sernet-samba package.
>
> the upgrade seems to work fine and the samba4 comes up correctlly,
>
> I have also run the following script to get rid of bug
>
>
> https://git.samba.org/?p=samba.git;a=blob_plain;f=source4/scripting/devel/chgtdcpass;h=4f5ea15a80c2862daf170a5657658a8163174f8a;hb=HEAD
>
>
>
> I am able to resolve some basic dns entry using the host command, and
> that's good, however any kinit does not work and return
>
> kinit mariopio at CCDC.LAN
> kinit: Cannot contact any KDC for realm 'CCDC...