Samba4 patch for importing posix attrs on classicupgrade

Luke Howard lukeh at
Fri Jul 20 17:48:58 MDT 2012

Haven't followed thread, but you should probably use the RFC2307 variant MS shipped in W2K3R2. unixHomeDirectory et al (this came from Vintela).

Sent from my iPhone

On 21/07/2012, at 9:05, Andrew Bartlett <abartlet at> wrote:

> 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