[Samba] People

Frank Matthieß fm+samba at Microdata-POS.de
Tue Oct 29 16:00:52 GMT 2002

On Tue, Oct 29, 2002 at 10:04:06AM -0500, Rend, Jon (Jon) % wrote:
> Is there a way to map NT names to UNIX names when they are not the same. 95%
> of our are which is great but we have a few that are different. For example,
> we have NT user "bigboy" who's Unix account is "smallboy", how can I make an
> association, oh learned 1's.

[my answer yesterday]
man smb.conf:
       username map (G)
              This option allows you to specify a file containing
              a  mapping  of  usernames  from  the clients to the
              server. This can be used for several purposes.  The
              most  common  is to map usernames that users use on
              DOS or Windows machines to those that the UNIX  box
              uses.  The other is to map multiple users to a sin­
              gle username so that they  can  more  easily  share

This will solve your problem.
[my answer yesterday]

[John's answer yesterday]
	From: John H Terpstra <jht at samba.org>
	To: SALOME Alexandre <alexandre.salome at comau.com.br>
	Cc: "Samba at Lists. Samba. Org (E-mail)" <samba at lists.samba.org>
	Subject: Re: [Samba] ENC: utilizing smbpasswd with two user #######URGENT#######

	On Mon, 28 Oct 2002, SALOME Alexandre wrote:
	> > Hi,
	> >
	> > I have a  user in Windows (user_windows = eng.calculo).
	> > I would like that this user_windows acess the unix (solairs2.6) as a valid
	> > user unix (user_unix=cs02929)
	> > (this problem is because the admintool only create user with  8
	> > caractheres.
	> > How I can resolve this problem ?

	In your smb.conf [globals] add:
		username map = /etc/smbusers

	In your /etc/smbusers put:
		cs02929 = eng.calculo

	- John T.

	John H Terpstra
	Email: jht at samba.org

[John's answer yesterday]

Frank Matthieß                                    fm+samba at Microdata-pos.de

More information about the samba mailing list