[Samba] smbpasswd and username map

Ian Pilcher arequipeno at gmail.com
Wed Aug 10 13:34:00 UTC 2022


When adding a new user (or doing anything else) with smbpasswd, which
user name should I use - the UNIX user name or the Windows user name?

I.e., if I have a user map that contains:

   foo = bar

And I want to add the user to the password database, should I use
'smbpasswd -a foo' or 'smbpasswd -a bar'?

Thanks!

-- 
========================================================================
Google                                      Where SkyNet meets Idiocracy
========================================================================



More information about the samba mailing list