[Samba] smbpasswd and username map
arequipeno at gmail.com
Wed Aug 10 15:06:13 UTC 2022
On 8/10/22 08:41, Rowland Penny via samba wrote:
> On Wed, 2022-08-10 at 08:34 -0500, Ian Pilcher via samba wrote:
>> 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 think we need more info here, if Samba is setup correctly, the Unix
> user and the Windows user will be the same user, no map required.
Imagine a person named "Franklin Q. Smith". His Windows user name is
"Frank Smith", and his UNIX user name is "fsmith".
The username map contains:
fsmith = "Frank Smith"
Should I use 'smbpasswd -a fsmith' or 'smbpasswd -a "Frank Smith"' to
add him to the database? (security = user, BTW)
Google Where SkyNet meets Idiocracy
More information about the samba