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?
 
moduloConnect With a Mentor Commented:
PAQed with points refunded (250)

modulo
Community Support Moderator
0
 
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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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
 
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
All Courses

From novice to tech pro — start learning today.