[Samba] username aliases?

D Parker drp at iest.hampshire.edu
Thu Dec 18 20:29:13 GMT 2008


On Thu, Dec 18, 2008 at 11:58:49AM -0800, wes wrote:

> Is it possible to specify aliases for the username, so that a user can
> choose any 1 of several names to log in with?
> 
> Like let's say we have my name as a username, "Wesley". But what I if I want
> to be very lazy and only sign in with "wes"? And I would like to have the
> option of using either. And if I change any attribute of one alias, it's all
> stored in the same place, so it should take effect for the other aliases.
> So, if I log in as "wesley" and change my password, I should be able to log
> out and log back in as "wes" with the new password I set for "wesley".

Hi Wes,

Check out the "username map" parameter in the smb.conf man page -- it
should allow you to do exactly what you describe.

Dan


More information about the samba mailing list