[Samba] authenticate to samba using email address

Marco Gaiarin gaio at sv.lnf.it
Thu Oct 29 13:19:03 UTC 2020


Mandi! Rowland penny via samba
  In chel di` si favelave...

> You are authenticating to AD, so you need to use information that AD
> understands, its dns domain (not an email domain) and the users name, or the
> Netbios domain\username.

But UPN is written 'domainful', eg 'username at ad.domain.name':

	root at vdcsv1:~# ldbsearch -H /var/lib/samba/private/sam.ldb -b "DC=ad,DC=fvg,DC=lnf,DC=it" "sAMAccountName=gaio" userPrincipalName | grep ^userPrincipalName:
	userPrincipalName: gaio at ad.fvg.lnf.it

but because is domainful, can be a generic (rather obviously, unique)
email?

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the samba mailing list