I see there is “net setdomainsid” to define the domains SID. I am rather puzzled with this command. There isn’t some kind of algorithm that define a SID?
I try to setup a new test environment with Samba and LDAP on CentOS 7 but I
could not get my domain SID:
[root@ ~]# net getdomainsid SID for local machine LDAP-TEST is: S-1-5-21-1044143993-
Could not fetch domain SID
What I do wrong or forget to do?