Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-21-2005, 01:52 AM   #1
LQ Newbie
Registered: Dec 2004
Distribution: Mandrake 9.0 Dolphin Release 2.4.19-16mdk
Posts: 24

Rep: Reputation: 15
Question samba

I was running mandrake 9.0 with samba 2.2

everything worked just fine.

i am now running mandrake 10.0 with samba 3.0.2a and i have also tried to run the older version of samba 2.2,

my unix can't mount any other machine nor can any other machine see my linux box, why?

I set everything up exactly they way i had it and it doesn't work.

here's my smb.conf i have used for years witk mandrake 9.0 and samba 2.2

#======================= Global Settings ========================
log file = /var/log/samba/log.%m
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain master = yes
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
allow hosts = 192.168.1. 127.
dns proxy = no
netbios name = mynetwork
local master = yes
workgroup = myworkgroup
os level = 165
security = share
max log size = 50
log level = 3

comment = main serv
path = /home/main_serv
valid users = john bob sue peggy
public = no
writable = yes
create mask = 0765

Last edited by lukeleia3; 02-21-2005 at 02:10 AM.
Old 02-21-2005, 02:42 AM   #2
LQ Newbie
Registered: Dec 2004
Distribution: Mandrake 9.0 Dolphin Release 2.4.19-16mdk
Posts: 24

Original Poster
Rep: Reputation: 15
if i cant get an answer on this i will have to go back to all window machines due of lack of software support of mandrake and samba, let them die out
Old 02-21-2005, 05:03 AM   #3
Senior Member
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
There's a networking forum where a lot of samba questions are answered over here.
Old 02-21-2005, 05:56 AM   #4
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Rep: Reputation: 30
try deleating the line where it says

allow hosts = 192.168.1. 127.

or change the ip from 192.168.1. to the one your network uses

also has you network got any domain controllers or windows servers running? if it has change the following lines

domain master = yes

change where it says yes to no, and your os level from 165 to some thing like 45

os level = 165

once you have done that save your smb.conf and then restart samba bey typing

"smbd stop"

and then

"smbd start"

into your console

and then try it. also if it still doesnt work make sure your network is working and iptables isnt blocking you samba port

to check if your network is working go to you console and type

"ping -c 4 HOSTNAMEorIP"

replace where it says HOSTNAMEorIP with the hostname or ip address whith the hosname or ip address of another computer on your network

if you get a reply with 0% packet loss your network is working if not either IPtables is stoping network access or you network card isnt configured and activated yet

hope this has helped and works



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
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 02:33 AM
I need the content from rtg2001 Linux - Networking 1 08-05-2004 06:54 PM
Samba share - network name no longer available when browsing samba from win2k dorango Linux - Software 0 03-02-2004 02:02 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 02:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:24 PM.

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