Hi, I think this patch could fix the problem.
Greetings Julian Gürtler
--- a/smbldap-userinfo 2010-09-09 12:56:22.243164485 +0200 +++ b/smbldap-userinfo 2010-09-09 12:56:52.738177064 +0200 @@ -320,6 +320,7 @@ my $givenName = join(' ',@tmp); $entry->replace( 'gecos' => $gecos ); $entry->replace( 'cn' => $new{'name'} ); +$entry->replace( 'displayName' => $new{'name'} ); if ( exist_in_tab( [$entry->get_value('objectClass')],'inetOrgPerson') ) { if ( $sn ) {