Discussion:
[Samba] FSMO / ldbsearch
Jonathan Hunter
2016-06-23 14:47:13 UTC
Permalink
Hi,

After a couple of unfortunate hardware failures and some not insignificant
amount of work to rebuild two of my DCs, I am trying to check that things
are now working correctly.

Looking at the wiki page on FSMO ownership, one suggestion is to run the
following ldbsearch command.. but this doesn't work for me.

***@dc2:~# ldbsearch --cross-ncs -H /var/lib/samba/private/sam.ldb -b
"CN=Infrastructure,DC=DomainDnsZones,DC=mydomain,dc=org,dc=uk" -s base
fsmoroleowner
search failed - Unsupported critical extension 1.2.840.113556.1.4.1340
***@dc2:~# samba -V
Version 4.4.4

Has something changed since the wiki page was created? Or is something
broken at my end? :) I can't say I have run this command before, so I don't
know if it worked previously.

Cheers,

Jonathan
--
"If we knew what it was we were doing, it would not be called research,
would it?"
- Albert Einstein
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Jason Waters
2016-06-23 15:00:52 UTC
Permalink
I just tried running it on Ubuntu 14.04 and that command works for me(with
my details). It sounds like and issue with your ldbsearch. Not sure if
you want to but if you send the sam.ldb I can try running it on my machine
as well. But might have some sensitive things in there.
Post by Jonathan Hunter
Hi,
After a couple of unfortunate hardware failures and some not insignificant
amount of work to rebuild two of my DCs, I am trying to check that things
are now working correctly.
Looking at the wiki page on FSMO ownership, one suggestion is to run the
following ldbsearch command.. but this doesn't work for me.
"CN=Infrastructure,DC=DomainDnsZones,DC=mydomain,dc=org,dc=uk" -s base
fsmoroleowner
search failed - Unsupported critical extension 1.2.840.113556.1.4.1340
Version 4.4.4
Has something changed since the wiki page was created? Or is something
broken at my end? :) I can't say I have run this command before, so I don't
know if it worked previously.
Cheers,
Jonathan
--
"If we knew what it was we were doing, it would not be called research,
would it?"
- Albert Einstein
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Jason Waters
2016-06-23 15:05:05 UTC
Permalink
Also, I'm assuming you did samba-tool fsmo show, correct?
Post by Jason Waters
I just tried running it on Ubuntu 14.04 and that command works for me(with
my details). It sounds like and issue with your ldbsearch. Not sure if
you want to but if you send the sam.ldb I can try running it on my machine
as well. But might have some sensitive things in there.
Post by Jonathan Hunter
Hi,
After a couple of unfortunate hardware failures and some not insignificant
amount of work to rebuild two of my DCs, I am trying to check that things
are now working correctly.
Looking at the wiki page on FSMO ownership, one suggestion is to run the
following ldbsearch command.. but this doesn't work for me.
"CN=Infrastructure,DC=DomainDnsZones,DC=mydomain,dc=org,dc=uk" -s base
fsmoroleowner
search failed - Unsupported critical extension 1.2.840.113556.1.4.1340
Version 4.4.4
Has something changed since the wiki page was created? Or is something
broken at my end? :) I can't say I have run this command before, so I don't
know if it worked previously.
Cheers,
Jonathan
--
"If we knew what it was we were doing, it would not be called research,
would it?"
- Albert Einstein
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Loading...