Sharepoint AD üzerindeki Pasif olmayan user'ları getirmek

       Sharepoint user profile service ile AD senkronizasyonu sırasında kural tanımlaması yapılabilmekte. çeşitli kurallar dahilinde istenilen user/user group lar getirilmekte. bu kuralların decimal ve binary karşılıkları aşağıdaki tabloda bulabilirsiniz.



Flag value (binary)(decimal)
0000000000000000000000000000000x Reserved, the value must always be 0
00000000000000000000000000000010 UF_ACCOUNT_DISABLE
00000000000000000000000000000x00  Reserved, the value must always be 0
00000000000000000000000000001000 UF_HOMEDIR_REQUIRED
0000000000000000000000000001000016  UF_LOCKOUT
0000000000000000000000000010000032  UF_PASSWD_NOTREQD
0000000000000000000000000100000064  UF_PASSWD_CANT_CHANGE
00000000000000000000000010000000128  UF_ENCRYPTED_TEXT_PASSWORD_ALLOWED
00000000000000000000000x00000000256  Reserved, the value must always be 0
00000000000000000000001000000000512  UF_NORMAL_ACCOUNT
000000000000000000000x00000000001024  Reserved, the value must always be 0
000000000000000000001000000000002048  UF_INTERDOMAIN_TRUST_ACCOUNT
000000000000000000010000000000004096  UF_WORKSTATION_TRUST_ACCOUNT
000000000000000000100000000000008192 UF_SERVER_TRUST_ACCOUNT
00000000000000000x0000000000000016384  Reserved, the value must always be 0
0000000000000000x00000000000000032768  Reserved, the value must always be 0
0000000000000001000000000000000065536  UF_DONT_EXPIRE_PASSWD
00000000000000100000000000000000131072  UF_MNS_LOGON_ACCOUNT
00000000000001000000000000000000262144  UF_SMARTCARD_REQUIRED
00000000000010000000000000000000524288  UF_TRUSTED_FOR_DELEGATION
000000000001000000000000000000001048576  UF_NOT_DELEGATED
000000000010000000000000000000002097152  UF_USE_DES_KEY_ONLY
000000000100000000000000000000004194304  UF_DONT_REQUIRE_PREAUTH
000000001000000000000000000000008388608  UF_PASSWORD_EXPIRED
0000000100000000000000000000000016777216  UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION
0000001000000000000000000000000033554432  UF_NO_AUTH_DATA_REQUIRED
0000010000000000000000000000000067108864  UF_PARTIAL_SECRETS_ACCOUNT
0000x000000000000000000000000000134217728  Reserved, the value must always be 0
000x0000000000000000000000000000268435456  Reserved, the value must always be 0
00x00000000000000000000000000000536870912  Reserved, the value must always be 0
0x0000000000000000000000000000001073741824  Reserved, the value must always be 0
x00000000000000000000000000000002147483648  Reserved, the value must always be 0



Bir iki örnek için aşağıdan incelemeleri bulabilirsiniz.

Normal User Account
00000000000000000000001000000000512  UF_NORMAL_ACCOUNT
Total 512 
Disabled User
00000000000000000000000000000010 UF_ACCOUNT_DISABLE
00000000000000000000001000000000512  UF_NORMAL_ACCOUNT
Total 514 
User whose password never expires
00000000000000000000001000000000512  UF_NORMAL_ACCOUNT
0000000000000001000000000000000065536 UF_DONT_EXPIRE_PASSWD
Total 66048 



Bunları filter olarak eklerseniz. AD'den gelen kayıtlar  bunlara göre filitrelenip gelecektir.


Anonymous

Unknown

Some say he’s half man half fish, others say he’s more of a seventy/thirty split. Either way he’s a fishy bastard.

0 yorum: