Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Networking > SAMBA or LISA?

Forgot Password?
 Linux Networking   Hardware/Software related, Modems, Internet connection sharing, IPTables etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 09-09-2003   #1 (permalink)
Just Joined!
 
Join Date: Aug 2003
Location: Cowpens, SC
Posts: 96
Send a message via ICQ to XavierSAO
SAMBA or LISA?

I've got a small LAN, with a mix of Linux and Win PC's, 4 units total. Static IP's, Very limited file sharing, and printer sharing needed.
XavierSAO is offline  



Reply With Quote
Old 09-09-2003   #2 (permalink)
Just Joined!
 
Join Date: Jul 2003
Location: Kalispell, Montana
Posts: 11
Hi there X !

I did just about like you have done with small LAN. If printer is Windows printer you can just configure Linux boxes to share it. Also I did setup Samba on a Linux macine and after a little configuration confusion got it working. Give it a try.

Steve
pettee is offline   Reply With Quote
Old 09-09-2003   #3 (permalink)
Content Team
 
sarumont's Avatar
 
Join Date: Apr 2003
Location: /dev/urandom
Posts: 3,682
Samba and LISA are pretty different. Samba is the protocol/daemon for sharing files with windows boxen and lisa is a LAN Information Server (LISa). It basically gathers the info about the LAN (IPs, etc.) and makes them browseable, showing samba shares as well as any ftp/http servers, etc.
__________________
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
sarumont is offline   Reply With Quote
Old 09-13-2003   #4 (permalink)
Just Joined!
 
Join Date: Aug 2003
Location: Cowpens, SC
Posts: 96
Send a message via ICQ to XavierSAO
Thanks for the info on the diffs. I think it helps me in the general understanding.

I've done the SAMBA thingy a few times. I'm running mandrake 9.1, which comes with a SAMBA wiz. I thought this may make things a little simpler, but evidently not simple enough
At the end of the wiz, it told me I needed to set a SAMBA password, using smbpasswd command. It told me the user didn't exist, and exited

I've also tried to use SWAT, KOMBA, and GNOMBA to assist, as well as a completely manual set up or 5. I've done the reg hacks on my Win9x boxes, and use the same username/password combo to log on to all, to limit confusion over setting up seperate users for each PC (That confusion will come later!)

I know the network itself is working, because I can share WWW from my main box under win to the rest of the network. I don't get any listings for the linux boxes in either of the win boxes, or any network shares at all in either of the Lin boxes

I've printed out several walkthrus, and followed them step by step without any luck

This is really starting to eat on me. I took some classes for networking(OSI, CIDR, etc...), but in a win NT enviroment. I have a decent understanding of what has to happen, but can't seem to get the boxes to cooperate.
XavierSAO is offline   Reply With Quote
Old 09-14-2003   #5 (permalink)
Just Joined!
 
Join Date: May 2003
Posts: 43
Send a message via ICQ to Cisien Send a message via MSN to Cisien
here is my smb.conf file located in /etc/samba/smb.conf

Code:
#======================= Global Settings =====================================
[global]
	log file = /var/log/samba/%m.log
	guest account = root
	smb passwd file = /etc/samba/smbpasswd
	load printers = yes
	passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	obey pam restrictions = yes
	guest ok = yes
	passwd program = /usr/bin/passwd %u
	dns proxy = no
	netbios name = Srv01
	netbios aliases = Srv01
	server string = File Server
	printing = cups
	default = var
	unix password sync = Yes
	workgroup = home
	os level = 20
	auto services = global
	printcap name = /etc/printcap
	security = share
	max log size = 0
	pam password change = yes

[homes]
	comment = Home Directories
	browseable = no
	writeable = yes
	valid users = %S
	create mode = 0664
	directory mode = 0775


[printers]
	comment = All Printers
	path = /var/spool/samba
	browseable = no
# Set public = yes to allow user 'guest account' to print
	printable = yes

[fat32]
	comment = InuYasha
	path = /fat32
	guest ok = yes

[var]
	path = /var
	writeable = yes
	guest ok = yes
[root]
	path = /
	writeable = no
	guest ok = yes
[RootHome]
	path = /root
	writeable = yes
	guest ok = yes
See if this helps ya

if you have any questions I might be able to answer them for you

This file works for all of my file shares.. I sue them quite often with no problems.

also, I didnt have to do any reg-hacks to get this working... Windows XP Pro machinges here.
Cisien is offline   Reply With Quote
Old 09-14-2003   #6 (permalink)
Content Team
 
sarumont's Avatar
 
Join Date: Apr 2003
Location: /dev/urandom
Posts: 3,682
Use: smbpasswd -a *username* to add a user to samba. This must be an actual valid user on the machine.
__________________
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
sarumont is offline   Reply With Quote
Old 09-19-2003   #7 (permalink)
Just Joined!
 
Join Date: Aug 2003
Location: Cowpens, SC
Posts: 96
Send a message via ICQ to XavierSAO
Thanks guys. I should have known the username option for smbpasswd

I copied and pasted the samba.conf to a floppy, and will sneakernet it to the lin side of this box later ( I know, I shouldn't have to. Power supply probs, so I can't let both drives run at the same time, or the video gets weird)
XavierSAO is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 04:39 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1