Setting up Samba on a Solaris 5.8 where Win usernames are different form those under Solaris

Good morning experts,

I have Samba 3.0.2 running on a Solaris/Sparc box and currently having problems connecting to it from my Win boxes.

// Fictitious scenario...
On the Solaris side I have a user named solaris_user1
On the Solaris side I have a user named solaris_user2
On a Win XP Pro side I have a user named winxppro_user
On a Win XP Home side I have a user named winxphome_user

All are running as Workgroup (because of the XP Home edition)
The solaris_user1 and  solaris_user2 have been added to the smbpassword.

This issue here is that the Win usernames do not match those under Solaris. Is there any way around this or do they have to absolutly match?

Eric
ericdamphousseAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

wesly_chenCommented:
Hi,

   Use the winbind provided by samba:
http://asia.cnet.com/enterprise/netadmin/0,39035505,39050042-2,00.htm

Wesly
0
ericdamphousseAuthor Commented:
This looks like a solution, but the only issue I would have with this is security, or I am mistaken?

eric
0
wesly_chenCommented:
Yes, there may be some security concern.
Check the following URL for details:
http://us3.samba.org/samba/docs/using_samba/ch09.html

Wesly
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

TroxaliasCommented:
Under windowsXP Man Network Drives of Solaris box using different credentials (using solaris_user1 and solaris_user2).
0
ericdamphousseAuthor Commented:
Troxalias, sounds like a good idea!... by that you mean for the explorer right... right clicking on the MyComputer then selecting Map Network Drive and from there, Connect using a different user name

eric
0
ericdamphousseAuthor Commented:
As of now, nothing seems to work! Will keep on researching.
0
yokelCommented:
Don't know if I'm missing something in the question but here goes.

In the file smb.conf you can make an entry like this;

username map = /etc/samba/smbusers

If you then create the file /etc/samba/smbusers and create the following lines.

solaris_user1 = winxppro_user
solaris_user2 =  winxphome_user

I used to do this at my last job, but we were using Windows NT 4 domains, so not sure if it works with workgroups.
I thought this was well know though, so you may have already tried it or you are talking about something else!
Cheers
Steve
0
ericdamphousseAuthor Commented:
Thanks to everyone who answered. I was able to resolve the problem. I set my Samba server as a WINS server, in the sambpasswd added all my users, their name being set to their unix counterpart, all passwords matching their windozes boxes. Added to all windozes boxes the WINS server previously defined. Problem solved.
0
moduloCommented:
PAQed with points refunded (250)

modulo
Community Support Moderator
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.