Category:
Linux
この記事は GU-1000T を CentOS 5.5 で使うに置き換えられました。
# net getdomainsidSID が local machine と domain で異なる場合は、local machine の SID を domain の SID に一致させます。上の例であれば、次のようなコマンドで実現できます:
SID for local machine SMBPDC is: S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-123456789
SID for domain SMBDOMAIN is: S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-987654321
# net setlocalsid S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-987654321これで、二つの SID が同じ値になっていることを確認できます。
# net getdomainsid# Read this article in English.
SID for local machine SMBPDC is: S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-987654321
SID for domain SMBDOMAIN is: S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-987654321
# net getdomainsidIf SIDs are different between the local machine and the domain, change the local machine SID to the domain SID. In the above example, you can accomplish this by:
SID for local machine SMBPDC is: S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-123456789
SID for domain SMBDOMAIN is: S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-987654321
# net setlocalsid S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-987654321Now these two SIDs should have the same value:
# net getdomainsid# Japanese translation of this article is here.
SID for local machine SMBPDC is: S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-987654321
SID for domain SMBDOMAIN is: S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-987654321