LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-03-2005, 02:22 AM   #1
ayrus
LQ Newbie
 
Registered: Mar 2005
Location: India
Distribution: RedHat Enterprise GNU/Linux
Posts: 24

Rep: Reputation: 15
Angry Samba Server


I tried it umpteen number of times but I was never successful in configuring Samba Server ..

Having dual boot of Windows 2000 and RedHat Enterprise GNU/Linux .. Other machines acrosss the network are also running Windows 2000 .. I tried so many tutorials but none of them cud give me stepwise solution as to how to do that ..

Everyone will say, configure samba.conf or smb.conf .. Bur for God sake what to and how to configure .. Sometimes they will talk about smb-client ..

I wish to know what all I require (package wise) on GNU/Linux Machine and what I require on Windows PC ..

Will someone help me out please ..

Thanks and regards ..

ayrus ........................
 
Old 03-03-2005, 02:33 AM   #2
krishvij
Member
 
Registered: Feb 2005
Location: India
Distribution: RHEL 3
Posts: 108

Rep: Reputation: 15
Hi Ayrus,

r u trying to access Linux from Windows or the other way round?
 
Old 03-03-2005, 02:40 AM   #3
ayrus
LQ Newbie
 
Registered: Mar 2005
Location: India
Distribution: RedHat Enterprise GNU/Linux
Posts: 24

Original Poster
Rep: Reputation: 15
Kris, I m trying to view GNU/Linux files from Windows 2000 .. But even vice-a-versa option is also quite attractive ..
 
Old 03-03-2005, 02:44 AM   #4
ayrus
LQ Newbie
 
Registered: Mar 2005
Location: India
Distribution: RedHat Enterprise GNU/Linux
Posts: 24

Original Poster
Rep: Reputation: 15
Let me mention again - I m having a heterogeneous network with Windows 2000 PC and RedHat Enterprise GNU/Linux Machine .. I want to all of them to share files, so that any user on any PC/Machine can access any of the shared files stored anywhere on the network ..

I hope I have been clear enough to explain my problem ..

ayrus ........
 
Old 03-03-2005, 02:46 AM   #5
krishvij
Member
 
Registered: Feb 2005
Location: India
Distribution: RHEL 3
Posts: 108

Rep: Reputation: 15
ok. I have made a small .sxw file with some screen shots. I tried to email u thru the email button available here but couldn't do so. so, what i am doing is that I am copying and pasting my notes here w/o the screen shots. for the screens, just check ur monitor. u may substitute ur IP and user and the home directory. Hope this helps.
-------------------------------------------------------
Configuring Linux as a Samba Server
-------------------------------------------------------
1.In this scenario, we have a RHEL 3 on IP 192.168.10.99 . This contains a user called arvind whose home directory is /home/arvind. We want that this home directory of arvind should be accessible from any windows computer for everyone.

Step 1 :- Select Main Menu -> System Settings -> Server Settings -> Samba (or)
on the terminal run redhat-config-samba. You will get the following
Screen


Step 2 :- Click on Add button. You will get the following screen

Step 3 :- In the Directory box, type /home/arvind. You may also give a description
for this share. In the Basic Permissions group area, select Read-only if
you do not want the contents of this share to be changed. Read / Write
allows the contents of the share to be changed or deleted.

Step 4 :- Click on OK button to close the window

Step 5 :- From the terminal, start the samba service using the command
service smb start

Step 6 :- From any windows computer, select Start -> Run and then type
\\192.168.10.99 . A window will open showing the folder arvind. You
may double click on this icon and then start working on it as though it was
a windows share.

2.In this scenario, we have a RHEL 3 on IP 192.168.10.99 . This contains a user called arvind whose home directory is /home/arvind. We want that this home directory of arvind should be accessible from any windows computer for only the user Arvind.

The first 3 steps are the same as that of the previous scenario

Step 4 :- Click on the Access tab. You will get the following screen



Step 5 :- Click on Add User button. You will get the following screen


Step 6 :- Here, you would need to map your existing users to samba users. In the
Unix Username drop down box, select the user arvind. In the Windows
Username box, type the name with which you want this user to access the
share. Let us type arv in this case. In the Samba Password and Confirm
Samba Password boxes, type the desired password (This password may
be different than the original Linux password for this user).

Step 7 :- Follow steps 4 & 5 from the previous scenario.

Step 8 :- From any windows computer, select Start -> Run and then type
\\192.168.10.99 . You will be asked for username and password. Provide the user name and password. A window will open showing the folder arvind. You may double click on this icon and then start working on it as though it was a windows share. Note that if you give some other username and
password, the share will not be accessible
 
Old 03-03-2005, 02:48 AM   #6
krishvij
Member
 
Registered: Feb 2005
Location: India
Distribution: RHEL 3
Posts: 108

Rep: Reputation: 15
i havent practically tried Linux to windows connectivity. I only know that u need to start the winbind service to access a windows share from a linux client. the notes i gave u was accessing a linux share from a windows network.
 
Old 03-03-2005, 03:07 AM   #7
ayrus
LQ Newbie
 
Registered: Mar 2005
Location: India
Distribution: RedHat Enterprise GNU/Linux
Posts: 24

Original Poster
Rep: Reputation: 15
Kris that was really nice of u .. I appreciate it .. I have one query .. Suppose I dnt have Samba on my machine .. From where I can download it and moreover what I want to know is that what all different packages I need to install .. As I wrote earlier also, once I was having Samba but it said "Some problem with smb-client" .. Do I have to install some "server" and "client" separately ..

thanks and regards ..
 
Old 03-03-2005, 03:16 AM   #8
krishvij
Member
 
Registered: Feb 2005
Location: India
Distribution: RHEL 3
Posts: 108

Rep: Reputation: 15
Hi Ayrus,

Packages (totally 4) and description required are as here under. u should definitely have them in ur Installation CDs.

samba-* Basic Samba Server Package
samba-client-* Samba Client Package
redhat-config-samba-* GUI Samba server utility
samba-common-* Common samba config files
 
Old 03-03-2005, 03:28 AM   #9
ayrus
LQ Newbie
 
Registered: Mar 2005
Location: India
Distribution: RedHat Enterprise GNU/Linux
Posts: 24

Original Poster
Rep: Reputation: 15
Kris

I think, at present my problem is due to the absence of this smb-client package .. So first of all I will check whether I have everything in place or not .. That has been really informative .. Anyway, where u from, there is no location in ur profile ..

ayrus .............
 
Old 03-03-2005, 03:30 AM   #10
krishvij
Member
 
Registered: Feb 2005
Location: India
Distribution: RHEL 3
Posts: 108

Rep: Reputation: 15
Am from Chennai, Tamil Nadu, India. My name is Vijay Krishnan. I see from ur profile that u r also from India. Which part are u from. further, once u have sorted out ur samba problem, I have a few issues in Linux too. I have posted 2 problems of mine on RAID 1 & RAID 5. Please see if u can help on those areas.
 
Old 03-03-2005, 03:45 AM   #11
ayrus
LQ Newbie
 
Registered: Mar 2005
Location: India
Distribution: RedHat Enterprise GNU/Linux
Posts: 24

Original Poster
Rep: Reputation: 15
Hi Vijay

I am from North (50 KMS from Delhi) .. I saw the threads, u posted .. But I m afraid, I won't be of much help .. No idea abt RAID .. I hope that someone will reply soon abt ur thread ..

Good Luck ..

ayrus .........
 
Old 03-03-2005, 04:00 AM   #12
krishvij
Member
 
Registered: Feb 2005
Location: India
Distribution: RHEL 3
Posts: 108

Rep: Reputation: 15
Hi Ayrus,

No Probs. By the way, exactly where r u located? I used to be in Faridabad a few years back.
 
Old 03-03-2005, 04:16 AM   #13
ayrus
LQ Newbie
 
Registered: Mar 2005
Location: India
Distribution: RedHat Enterprise GNU/Linux
Posts: 24

Original Poster
Rep: Reputation: 15
Thanx .. Faridabad !!! Thats too close .. From Delhi, there is national highway 8 to Dehradun .. On that highway, after 50 KM from delhi, there is a city by the name Meerut .. Thats my place .. Good Luck with ur Thread

ayrus .........
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Server with Samba, Windows PC's cant access server! elliotfuller Linux - Networking 1 09-10-2005 06:40 AM
samba client freezes when samba server goes down timcharper Linux - Networking 1 08-22-2005 10:29 PM
hosting and ping samba server name as well as mail server name simultaneously cbekannan Linux - General 2 01-11-2005 12:11 AM
SAMBA says 'Samba Server is not accebile, you might have no permissions' Ahmad Gurchani Linux - General 1 01-01-2005 10:34 AM
Is samba required to connect to a Windows Advanced server from RedHat 8.0 server? NemesisStar Linux - Hardware 1 10-20-2003 12:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration