Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-11-01
10
Medium Priority
?
603 Views
Last Modified: 2013-12-21
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
0
Comment
Question by:ericdamphousse
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 38

Expert Comment

by:wesly_chen
ID: 12463727
Hi,

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

Wesly
0
 

Author Comment

by:ericdamphousse
ID: 12464128
This looks like a solution, but the only issue I would have with this is security, or I am mistaken?

eric
0
 
LVL 38

Expert Comment

by:wesly_chen
ID: 12465083
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 2

Expert Comment

by:Troxalias
ID: 12470407
Under windowsXP Man Network Drives of Solaris box using different credentials (using solaris_user1 and solaris_user2).
0
 

Author Comment

by:ericdamphousse
ID: 12472086
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
 

Author Comment

by:ericdamphousse
ID: 12482302
As of now, nothing seems to work! Will keep on researching.
0
 
LVL 3

Expert Comment

by:yokel
ID: 12493231
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
 

Author Comment

by:ericdamphousse
ID: 12503278
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
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12848328
PAQed with points refunded (250)

modulo
Community Support Moderator
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question