Situatie
Pentru a verifica rolurile FSMO se pot urma pasii de mai jos:
Solutie
Pasi de urmat
Pe un domain Controller se ruleaza comanda de mai jos :
samba-tool fsmo show
InfrastructureMasterRole owner: CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=subdomeniu,DC=domeniu,DC=com RidAllocationMasterRole owner: CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=subdomeniu,DC=domeniu,DC=com PdcEmulationMasterRole owner: CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=subdomeniu,DC=domeniu,DC=com DomainNamingMasterRole owner: CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=subdomeniu,DC=domeniu,DC=com SchemaMasterRole owner: CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=subdomeniu,DC=domeniu,DC=com
Comanda de mai sus este din pacate valabila doar de la versiunea de Samba 4.3.0 in sus. Pentru versiunile mai vechi de 4.3.0 se poate rula:
ldbsearch --cross-ncs -H /usr/local/samba/private/sam.ldb '(fsmoroleowner=*)' |\ grep 'dn:' | sed 's|dn: ||'
CN=Schema,CN=Configuration,DC=subdomeniu,DC=domeniu,DC=com CN=Partitions,CN=Configuration,DC=subdomeniu,DC=domeniu,DC=com CN=Infrastructure,DC=DomainDnsZones,DC=subdomeniu,DC=domeniu,DC=com CN=Infrastructure,DC=ForestDnsZones,DC=subdomeniu,DC=domeniu,DC=com DC=samdom,DC=example,DC=com CN=RID Manager$,CN=System,DC=subdomeniu,DC=domeniu,DC=com CN=Infrastructure,DC=subdomeniu,DC=domeniu,DC=com
Leave A Comment?