[Samba] Access to s3 shares when userPrincipalName differs from the sAMAccountName

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Feb 22 11:10:49 MST 2011


On Mon, Feb 21, 2011 at 12:49:15PM -0800, Gerald Carter wrote:
> Just based on experience....
> 
> My suggestion would to use the DOMAIN\sAMAccountName version
> as the canonical representation but allow the UPN in a "getent
> passwd <upn>" as an alias.  For example,
> 
> $ getent passwd ad\\gcarter
> AD\gcarter:x:181931072:181928449:Gerald Carter:/home/gcarter:/bin/sh
> 
> $ getent passwd gerald.carter at ad
> AD\gcarter:x:181931072:181928449:Gerald Carter:/home/gcarter:/bin/sh
> 
> $ getent passwd 181931072
> AD\gcarter:x:181931072:181928449:Gerald Carter:/home/gcarter:/bin/sh

Thanks! That sounds very reasonable.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen


More information about the samba-technical mailing list