How to obtain these values?

Dear community. I hope you doing well.

I am trying to find a way to obtain these values:

Default-First-Site-Name → Replace with your actual Active Directory Site name if you renamed it
DsaGUID, DomainGUID → Replace with actual values found in your domain controller DNS server configuration

How to get the current Default-First-Site-Name, DsaGUID and DomainGUID from NS8?

I finally find DsaGUID information using the runagent with bash -l and running samba-tool. But I am still unable to discovery my DomainGUID. Anyone could help me?

runagent -m samba1 podman exec -ti samba-dc samba-tool drs showrepl

Thank you for reply me back.

The DomainGUID is not available for me using this command. Only Dsa GUID is present on it.

Sorry. I searched for DsaGUID instead of Domain GUID.

One way to find Domain GUID could be:

runagent -m samba1 podman exec -ti samba-dc net getdomainsid

It returns the SID. The domain GUID is what follows after S-1-5-21- of the SID.

It also should be possible to find it by other means (ldapsearch, smbclient, etc.)

1 Like

Thank you so much!