Click to See Complete Forum and Search --> : Samba (Windows can't find my linux box)


Elijah
11-22-2003, 11:03 PM
I have 2 pc's (1st box using Debian other uses WinME). I want to be able to share my linux shares to my Network Neighborhood in WinME and vice versa, but after configuring using swat, I tried to logon using windows and it gives me the "No domain server was available ..." error message...

In WinME I could see my Debian shares but when I click on it, it asks for a password for "Resource: \\VALHALLA\IPC$" I typed my user password and it denied me access.

Luckily from my linux box I could see both my windows shares & linux shares using the smbclient -L command.

Here's my smb.conf # Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2003/11/23 18:02:27

# Global parameters
[global]
workgroup = HOME
server string = Samba Server
encrypt passwords = No
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = No
ldap ssl = no
hosts allow = 192.168., 10.106., 127.

[homes]
comment = Home Directories
path = /home
read only = No
guest ok = Yes

[/share]
comment = Linux Shares
path = /share
guest ok = Yes

[Canon]
path = /tmp
printable = Yes

I could ping both boxes and it pings back fine... I'm using firestarter as my firewall.

Can anyone please help me out on this? I have very little networking know-how :confused:

edit: I forgot to mention I'm currently using Samba-3.0

Dutch Mafia-boy.
11-23-2003, 09:29 AM
I have 2 pc's (1st box using Debian other uses WinME). I want to be able to share my linux shares to my Network Neighborhood in WinME and vice versa, but after configuring using swat, I tried to logon using windows and it gives me the "No domain server was available ..." error message...

OK - I'm a little confused when you said you are trying to "logon" - do you want your Linux box to be a PDC - I doubt it.....

Have you created Samba users??

Elijah
11-23-2003, 09:49 AM
Thanks for the reply,

Erm, I don't even know what PDC can do (Primary Domain Controller?) .. I simply want to access my linux shares using windows for now...
Yes I've created 2 accounts using swat, my username + my root account.

so far my problem now is that in "My Network Places" I click on my linux shares, it asks my password and it gives me an error. "The password wasn't recognized...."

Hayl
11-23-2003, 10:24 AM
1. turn on encrypted passwords
2. double-check or re-do the password(s) on the linux box using smbpasswd.

Elijah
11-23-2003, 11:09 AM
Excellent! it's working!

It seems that creating users via swat is giving me problems, smbpasswd -a username fixed it =) now I can browse =) though I can't logon WinME in my linux box but that's ok.

Thanks for the input =)

Daedrus
11-23-2003, 11:11 AM
Try and make sure that the password for the user account on the linux box and the samba user are the same. I am not familiar with swat, I use webmin to configure samba. Under Webmin there is an option to synchronize samba passwords.