LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SAMBA Help? (https://www.linuxquestions.org/questions/linux-newbie-8/samba-help-164426/)

mattymatt79 03-31-2004 12:39 AM

SAMBA Help?
 
Well ok,
I know SAMBA is installed, I know webmin works, I know that SAMBA kinda works sometimes, as in sometimes, my windows laptop sometimes find the SAMBA server when I've been on the wired network to the computer. Sometimes it doesn't. Sound odd?
It will connect to it on the internetwork ip address of the server, but it will only connect to the outside address only after I have connected to it via the 192 generic one.

Windows gives me some lame error message that means about zero to me... anything I'm doing wrong or at least places I can start looking to figure out whats going on here?

I was told look at my LMHosts file, but on the windows machine or the OpenBSD one?

Linux newbie slowly finding the way though all this

bosewicht 03-31-2004 12:47 AM

is ur linux?/bsd ? box able to hit the windoze computer?

mattymatt79 03-31-2004 12:54 AM

hrmm as in how?
Im able to open up a tightvnc box on my windows and open my xfree desktop

I really dont know how i'd ping my windows computer from my linux box

mattymatt79 03-31-2004 01:36 AM

its deffeintly a windows problem...
I can access my webserver from a browser,
I can ping the server's ip address

Webmin starts and lets me change whatever I want to change..

only thing I cant do is get windows to open my file share

An error ocurred while reconnecting to
\\serverIPadress\mking

Microsoft Windows Networking: The local device name is already in use.
The connection has not been restored

How is it already in use?
Webmin says there are no connections active right now...

Anyone anyone?


windows says the share

Onemessedupjedi 03-31-2004 01:36 AM

same way you ping in windows.
ping ip
edit: posted at the same time as you. I don't know what your problem is but it is actually probably a linux/SAMBA problem. Samba has options whereas windows kinda does, but you don't use them. With samba you can very easily accidently cut off access to XP machines. See if there are any options in use the could prevent it, and networking with XP does not work with the default samba config if you use sambas sample smb.conf. If you use an easy distros it should.

mattymatt79 03-31-2004 01:43 AM

Quote:

Originally posted by Onemessedupjedi
same way you ping in windows.
ping ip


Well yes, but all windows gives me is the local ip address
the 192.168 address

even with an ipconfig /all

the server is on a hardwired network connection
the laptop is wireless

when i connect to the hard wired connection the 192 addresses
i can then find the server via the actual ip address of it the 68.blah.blah.blah address

mattymatt79 03-31-2004 01:46 AM

Quote:

Originally posted by Onemessedupjedi
same way you ping in windows.
ping ip
edit: posted at the same time as you. I don't know what your problem is but it is actually probably a linux/SAMBA problem. Samba has options whereas windows kinda does, but you don't use them. With samba you can very easily accidently cut off access to XP machines. See if there are any options in use the could prevent it, and networking with XP does not work with the default samba config if you use sambas sample smb.conf. If you use an easy distros it should.

Im using OpenBSD
was simple enough for my linux newbie to get installed with the laptop sitting next to it and reading damn near every website imaginable on getting apache, samba, openbsd, perl, php and mySql installed correctly.. I think i got everything done...
So I need to look in webmin for stuff on the samba.conf? ok

but what am I looking for XP stuff????

I have pretty much the default configured, but im not sure as to what i should be looking at to see if thats the problem

mattymatt79 03-31-2004 02:20 AM

Could it be that Im using XP Home edition on the laptop?

Onemessedupjedi 03-31-2004 04:14 AM

It's not that it's home


here's a smb.conf that should suit you and allow full interaction as long as you write your shares right. Pay attention to the descriptions of what you have to do to get certain attributes out of shares.

[global]

workgroup = yourworkgroup
netbios name = yourname
server string = Samba Server %v
security = domain
encrypt passwords = Yes
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No


everyone says to use share as security but domain seems to be the only one that works for me. You should read up on configuring samba, that's a very bare-bone smb.conf that came from someone's default mandrake.


All times are GMT -5. The time now is 09:38 PM.