[PATCH] Supplement nss info gecos from displayName
Rowland Penny
repenny241155 at gmail.com
Mon Jul 27 17:30:51 UTC 2015
On 27/07/15 18:12, Ralph Böhme wrote:
> Hi!
>
> Attached is a small patchset that tries to address a shortcoming in
> winbind pulling gecos information from AD.
>
> Either winbind nss info sfu, sfu20 and rfc2307 will end up querying
> the gecos attribute, which will be empty in most cases, as neither
> Samba AD nor Windows with IDMU assigns a value to it by default.
>
> As a result Samba servers pulling nss info via winbind will show empty
> gecos fields. Wouldn't it make sense to pull the gecos info from
> another attribute like displayName in case gecos is empty?
>
> Review&comments appreciated. Thanks!
>
> -Ralph
>
er, you do realise that if you create a user with samba-tool 'samba-tool
user create username' , you do not get a displayName attribute either,
so what are your plans to fall back to ?
Or to put it another way, you cannot presume the displayName attribute
will be populated either, so why bother ?
Rowland
More information about the samba-technical
mailing list