I found « username map [script] » directive in smb.conf man page. I've tested P1234=jdoe and it's works. Next is to make a one line script to make this dynamic ^^ Another solution was to make a proxy LDAP instead of a replica.
Thanks for the help ! If anyone have another idea, i'm open :) 2012/5/24 Sylvain <debian.r...@gmail.com> > Unfortunaly, I cannot do this since the two attributes are different > meaning and are used in another applications so maybe with a local LDAP > replica and use of your tricks will works. I will try if there are no > "Samba" solutions. > > Thanks :) > > 2012/5/24 <miguelmeda...@sapo.pt> > > >> I am not sure if you can act on the samba side. Maybe you should think >> the other way around. You can map one attribute to another inside the LDAP >> server. >> >> You would use the "map attribute" directive to map >> "eduPersonPrincipalName" to "uid". Both logins would then authenticate >> against "uid". >> >> > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba