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". Can this be done? thanks, -wes
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
On Thu, Dec 18, 2008 at 2:08 PM, Charles Marcus <CMarcus@media-brokers.com>wrote:> On 12/18/2008, wes (samba@the-wes.com) wrote: > > Thanks for the tip. I have entered username map=/etc/samba/users.map into > > smb.conf, and this is the contents of users.map: > > > > wesley=wes > > > > but, I am unable to log in with "wes" - it gives me the authentication > > failed message. I have checked the logs, and it gives the same error as > if I > > had entered an incorrect username. > > Did you try the other way? > > wes=wesley > > ? > > -- > > Best regards, > > Charles >Thank you for your reply. Yes, I did try both ways, and restarted samba between each attempt with /etc/init.d/samba restart. I am running on Ubuntu 8.04, Samba Version 3.0.28a. -wes