ok, in freeradius 2 i've used in post-auth if (LDAP-Group == "blabla") { ... } and all works fine but in freeradius 3??
The credentials are ok, can you tell me what mean "try using the global catalog server, instead of a local AD server" ??
ldapsearch -h 10.0.0.19 -b "dc=intra,dc=ismaa,dc=it" -D "cn=squid,dc=intra,dc=ismaa,dc=it" -w "XXXXXXXX" '(&(objectCategory=person)(objectClass=user)(sAMAccountName=critest))'
# extended LDIF
#
# LDAPv3
# base <dc=intra,dc=ismaa,dc=it> with scope subtree
# filter: (&(objectCategory=person)(objectClass=user)(sAMAccountName=critest))
# requesting: ALL
#
dn: CN=critest test,OU=UO_Test2,OU=Computers_SUS,DC=intra,DC=ismaa,DC=it
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn: critest test
sn: test
givenName: critest
distinguishedName: CN=critest test,OU=UO_Test2,OU=Computers_SUS,DC=intra,DC=is
maa,DC=it
instanceType: 4
whenCreated: 20130314153458.0Z
whenChanged: 20131022132244.0Z
displayName: critest test
uSNCreated: 107373282
memberOf: CN=radius_cri,OU=RADIUS,OU=FEM,DC=intra,DC=ismaa,DC=it
memberOf: CN=dipendenti,OU=Internet,DC=intra,DC=ismaa,DC=it
memberOf: CN=K_Internet_Dipendenti,OU=Internet,DC=intra,DC=ismaa,DC=it
uSNChanged: 358179580
name: critest test
objectGUID:: JJ+bzzA9tEGdjQtyd8J8Kw==
userAccountControl: 512
badPwdCount: 1
codePage: 0
countryCode: 0
homeDirectory: \\IASMA003\utenti\critest
homeDrive: M:
badPasswordTime: 130269164412391214
lastLogoff: 0
lastLogon: 130269081333443991
scriptPath: mainbatch.bat
pwdLastSet: 130269217648210862
primaryGroupID: 513
objectSid:: AQUAAAAAAAUVAAAAiqcyP6M80yZDFwoyPjAAAA==
accountExpires: 0
logonCount: 95
sAMAccountName: critest
division: 0da9ce1da208fc1751dcd52e479c6384869949f4
sAMAccountType: 805306368
lockoutTime: 0
objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=intra,DC=ismaa,DC=it
dSCorePropagationData: 20130411130311.0Z
dSCorePropagationData: 20130411130311.0Z
dSCorePropagationData: 20130411130311.0Z
dSCorePropagationData: 16010108151056.0Z
# search reference
DC=it
# search reference
DC=it
# search reference
# search result
search: 2
result: 0 Success
# numResponses: 5
# numEntries: 1
# numReferences: 3
surely the fault is mine, but I do not understand where it is...