Winbind and Gecos field ...
leet at leenx.co.za
Tue Oct 14 12:10:47 GMT 2003
Luke Howard wrote:
>> Line 149 and 252 of winbindd_ads.c has
>> gecos = ads_pull_string(ads, mem_ctx, msg, "name");
>> Which would let me believe that the LDAP field name would be getting
>>put into gecos field, so I check my Win2K3 system, and find that field
>>name is the same as sAMAccountType, but, it filled. Which got me
>The "name" attribute contains the value of an entry's relative
>distinguished name (RDN). In the case of a user this is the value of
>the "cn", or common name, attribute.
>sAMAccountType has syntax INTEGER, and sAMAccountName is the downlevel
>name (it need not be the same as the common name).
Okay, I think getting what you are saying, but what I am saying, is
that the gecos field should not be filled in with name or cn, but with
something more detailed like Display Name or the like ...
More information about the samba-technical