LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-22-2002, 11:34 AM   #1
Kaiser_Sose
Member
 
Registered: Jan 2002
Posts: 53

Rep: Reputation: 15
Samba Server


I want to easily transfer files from the windows machines to my RH 7.2 boot machine.

My sytem is setup like this. I have a Netgear RT 311 router, Netgear Fast switch and a cable modem. All the machines have static IP's

I have successfuly set up full file and printer sharing to all the windows computers. The HP lAser is connected to the win 98 machine but can be used on all the other windows machine which happe to be XP.

On one of the XP machines I dula bott RH 7.2 When I am in linux I want to be able to access its files and folders through Network Neighborhood on my win 98 machine. Win 98 Is my main machine

Also I want to be able to acces the Win 98 and XP macine when I am in RH 7.2 as well as use the printer

Is Samba the only way I can to this. I read and looks hard to setup. I found some RPMS for it. http://rpmfind.net//linux/RPM/redhat...1a-4.i386.html - do thes look like the ones I need

Any help is appreciate
 
Old 01-22-2002, 11:49 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
samba is extremely easy to set up, no need to be worried at all. and if yuo're only using it to get access to otehr things, you don't configure anything, the configuring side of samba is only for serving, not for a client.

to look at a server's shares:

smbclient -L //servername

to mount a windows share:

mount -t smbfs //servername/sharename /mountpoint

that's it really... you can insert a similar line to our /etc/fstab file, to do it all on boot.
 
Old 01-22-2002, 05:01 PM   #3
Kaiser_Sose
Member
 
Registered: Jan 2002
Posts: 53

Original Poster
Rep: Reputation: 15
I just installed samba, samba-common and samba-client and samba-swat
I have not edited the conf files though. Thats the tough part for me

[root@localhost root]# service smb start
Starting SMB services: [ OK ]
Starting NMB services: [ OK ]
[root@localhost root]#

I can goto Network Neighborhod > Entire Network > MyGroup > LocalHost but at LocalHost it says
Code:
/LocalHost is not accessible
No permission to access resource

[root@localhost root]# smbclient -L //LocalHost
added interface ip=192.168.0.40 bcast=192.168.0.255 nmask=255.255.255.0
Password:
session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.)
[root@localhost root]#


I know, I know I have to edit the conf UGH

Last edited by Kaiser_Sose; 01-22-2002 at 05:04 PM.
 
Old 01-22-2002, 06:03 PM   #4
Kaiser_Sose
Member
 
Registered: Jan 2002
Posts: 53

Original Poster
Rep: Reputation: 15
I just want to update

Code:
[root@localhost root]# cd /usr/bin
[root@localhost bin]# smbpasswd -a root
New SMB password:
Retype new SMB password:
[root@localhost bin]# service smb restart
Shutting down SMB services:                                [  OK  ]
Shutting down NMB services:                                [  OK  ]
Starting SMB services:                                     [  OK  ]
Starting NMB services:                                     [  OK  ]
[root@localhost bin]#
I also went into Win 98 and added a new user (first one actually) as root and gave it the same password at root on the linux computer and I still cant connect

The reasom I just want to leave everything at root (or one user) is because I am the only user on all computers
 
Old 01-22-2002, 06:03 PM   #5
Kaiser_Sose
Member
 
Registered: Jan 2002
Posts: 53

Original Poster
Rep: Reputation: 15
[root@localhost bin]# smbclient -L //LocalHost
added interface ip=192.168.0.40 bcast=192.168.0.255 nmask=255.255.255.0
Password:
Domain=[MYGROUP] OS=[Unix] Server=[Samba 2.2.1a]

Sharename Type Comment
--------- ---- -------
homes Disk Home Directories
IPC$ IPC IPC Service (Samba Server)
ADMIN$ Disk IPC Service (Samba Server)
root Disk Home Directories

Server Comment
--------- -------
LOCALHOST Samba Server

Workgroup Master
--------- -------
MYGROUP LOCALHOST
WORKGROUP SEAN


Now, How can U view this in Network Heighborhood

Last edited by Kaiser_Sose; 01-22-2002 at 06:20 PM.
 
Old 01-22-2002, 07:19 PM   #6
Kaiser_Sose
Member
 
Registered: Jan 2002
Posts: 53

Original Poster
Rep: Reputation: 15
Hers my Problem

In my attempt to install samba, set it up on the linux machine ...............

I have a problem HELP


I added a user in win 98 as root and the gave it the password as the same as root on the linux machine (root is the only user) as I am the only user on all machines

I rebooted and I see a screen on Win98 that says root and to put in the password. When I click CANCEL I am hoping to get back to my normal desktop. The desktop was there but all my passwords have disappeared. e - mail, web site password. etc

Also in Network Neighborhood it sais UNABLE TO BROWSE THE NETWORK. I can access the net but the other computers on my LAN I cant

When I do enter root's account by puting in the password I can access Network Neighborhood and the linux box (samba)

But I want my old settings back on the win 98 before I added "root" to it, HOW DO I DO THIS

If I delete the root account while I am in the other will this help

Last edited by Kaiser_Sose; 01-22-2002 at 08:12 PM.
 
Old 01-23-2002, 09:07 AM   #7
Kaiser_Sose
Member
 
Registered: Jan 2002
Posts: 53

Original Poster
Rep: Reputation: 15
up
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 - Networking

All times are GMT -5. The time now is 04:49 AM.

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