Overclockers Australia Forums
OCAU News - Wiki - QuickLinks - Pix - Sponsors  

Go Back   Overclockers Australia Forums > Software Topics > Other Operating Systems

Notices


Sign up for a free OCAU account and this ad will go away!
Search our forums with Google:
Reply
 
Thread Tools
Old 17th August 2002, 12:15 PM   #1
Imitation Thread Starter
Member
 
Join Date: Jun 2001
Posts: 2,838
Default Samba problems

Okay I've got RedHat 7.3 going and I wanted to get Samba running to share the printer.

Anyway so this book I've got tells me something about Swat. I try that and it doesn't work. So I go back to the book. First of all it tells me to check that there is an entry for swat in /etc/services and there is so that's good. Then it tells me to look in the /etc/xinetd.d/swat file to make sure disable=no but this frigging file doesn't even exist. I also tried reinstalling Samba but that didn't do anything

I then thought stuff this I'll look for something else. So I had a bit of a browse and found Webmin. Is cool.. I've seen it before. So I download and install.

I login and start looking around. Find the Samba interface and do what I guess should work like turning on the Guest account. But to tell the truth this thing starts to confuse the hell out of me. I dunno wtf I did now... the Redhat box does appear in My Network Places but I can't browse it and after some fiddling I managed to make it so that I don't even have rights to browse the Workgroup anymore :/. I also get an error saying that //Localhost already exists and that I can't access the box (this is from windows). So I turned off Master Broswer on the Redhat box to see if that would fix it but no.. didn't do stuff all that I could see - I was thinking cause it was controlling things it was adding all this security crap to it :/.

Sorry if this is a little vague but I mean basically I just want the thing to work.. Any help anyone can give would be much appreciated. I have no idea wtf I'm doing..
Imitation is offline   Reply With Quote

Join OCAU to remove this ad!
Old 17th August 2002, 12:34 PM   #2
Quadbox
Member
 
Quadbox's Avatar
 
Join Date: Jun 2001
Location: Brisbane 4065
Posts: 5,088
Default

Can you print out your smb.conf file, and tell us exactly what you're trying to do with samba please?
Quadbox is offline   Reply With Quote
Old 17th August 2002, 12:49 PM   #3
Imitation Thread Starter
Member
 
Join Date: Jun 2001
Posts: 2,838
Default

smb.conf

I want to share the printer on my Redhat box with my windows printers... share files too I guess and just generally want it to work and not stuff up.

EDIT: I know I am probably making things overly complicated and there is some simple wimple way of making this work but I wouldn't have a clue. If Swat worked that'd be good because that's nice and smiple (last time I used it) but I dunno how the hell to start it

Last edited by Imitation; 17th August 2002 at 1:09 PM.
Imitation is offline   Reply With Quote
Old 17th August 2002, 4:21 PM   #4
Bangers
Member
 
Bangers's Avatar
 
Join Date: Dec 2001
Location: Silicon Valley
Posts: 7,281
Default

on Windows > net view
Should print a list of Network computers.

if it comes up > net view \\<name>

If neither of this work, change;
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

in your smb.conf to;
socket options = TCP_NODELAY IPTOS_LOWDELAY

If your curious, this is what my [global] section looks like.
Code:
        smb passwd file = /etc/samba/smbpasswd
        passwd program = /usr/bin/passwd %u
        pam password change = yes
        printing = lprng
        dns proxy = no
        encrypt passwords = yes
        socket options = TCP_NODELAY IPTOS_LOWDELAY
        wins support = true
        printcap name = /etc/printcap
        obey pam restrictions = yes
        max connections = 5
        unix password sync = Yes
        server string = "Samba %v"
        workgroup = WORKGROUP
        log file = /var/log/samba/%m.log
        netbios name = Bangz
        load printers = no
        public = yes
        hosts allow = 192.168.0. localhost
        interfaces = 192.168.0.1/255.255.255.0
        bind interfaces only = yes
        guest ok = no
Have you created samba accounts for users on the box?

EDIT: Have a look here. You should forget about printing for the time being and get file sharing set up accross the network. Then, adding printing is simple.
__________________
There's a story about a golfer who sinks a 30-meter putt and someone says: 'Gee, that was lucky' and the golfer says, 'Yes, amazing how lucky you get when you practice 8 hours a day for 20 years'.

Last edited by Bangers; 17th August 2002 at 4:24 PM.
Bangers is offline   Reply With Quote
Reply

Bookmarks

Sign up for a free OCAU account and this ad will go away!

Thread Tools

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

Forum Jump


All times are GMT +10. The time now is 9:09 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. -
OCAU is not responsible for the content of individual messages posted by others.
Other content copyright Overclockers Australia.
OCAU is hosted by Internode!