[Samba] 'username map' --> password(s)

Tony Earnshaw tonye at billy.demon.nl
Fri Apr 1 22:00:33 GMT 2005

webster at lexmark.com:

> One of the advertised uses of the 'username map' smb.conf parameter
> is:
> 'to map multiple users to a single username so that they can more
> easily share files.'
> This sounds great, & is what I've wanted to do more than once.
> However, there is the issue of the username mapping taking place
> before the authentication. This requires the individual users to give
> a different password than the one that goes with their ID (& that
> they are already supplying). For the stated purpose, this operation
> appears to make little sense.


Why not put the users in a group? Or (I just learned how to today on
my Red Hat RHAS3 test server), far better, get ACLs working. Then
you can point-'n-click a file, directory, whatever, and give or take
away rights to/from single users or groups as you wish. And if it's
a directory, you can have smb.conf inherit ACLs for a share,
presumably (I haven't tried it yet) for all the files in that
directory. I think ACLs are going to make Samba far more powerful
than it was for me.


mail: tonye at billy.demon.nl

More information about the samba mailing list