The new SUA (ex-SFU) in 2003R2 has the capibility to give us uidNumber (oid 220.127.116.11.18.104.22.168) and gidNumber (oid 22.214.171.124.126.96.36.199). 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 ***