The new SUA (ex-SFU) in 2003R2 has the capibility to give us uidNumber (oid 126.96.36.199.188.8.131.52) and gidNumber (oid 184.108.40.206.220.127.116.11). But samba does not recognize them. Modifiyng idmap_ad should resolve the problem (template sfu does not work too)?.
Nevertheless it should be nice to have the mapping "whereis_gid_number" and "whereis_uid_number" as parameter in smb.conf (it could be file://; ldap://, script://, ...) and let the admin decide how the mapping is done ?
In that case the ldap:// could be the AD itself, an openldap database, or even an ADAM instance.
Many thanks in advance for all your great work.
*** This bug has been marked as a duplicate of 3345 ***