Samba4 patch for importing posix attrs on classicupgrade

Andrew Bartlett abartlet at
Fri Jul 20 17:05:17 MDT 2012

On Fri, 2012-07-20 at 00:07 +0200, Gémes Géza wrote:
> Hi,
> Please review the attached patch. It enables importing the home, 
> loginshell and primary gidnumber attributes of the users, if:
> 1) We are upgrading from ldapsam
> or
> 2) The system is able to resolve the users via getpwnam
> At the same time it enables the management of the imported posix 
> attributes via ADUC

Do we absolutely have to set the msSFS30 attributes on each user for
this to work?  They seem rather ugly.

Otherwise, I've only test it myself using 'make test' (which can't use
LDAP), but this looks great!

Andrew Bartlett

Andrew Bartlett                      
Authentication Developer, Samba Team 

More information about the samba-technical mailing list