Click to See Complete Forum and Search --> : XP, Samba server cannot see samba share
mbachman
11-29-2004, 12:42 PM
I am running RH9, I have got my Samba service running, but no clients can see sshare. Here's what I get with smbclient -NL sambaserver:[root@nc6v9b marcbachman]# smbclient -NL nc6v9b
Can't find include file /etc/samba/smb.conf.<weird name I put in somewhere I need to change>-nc6v9b
added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
session setup failed: Call timed out: server did not respond after 20000 milliseconds
Sometimes I get "Anonymous logon successful" and it show s the names of the share. However when I try to browse the share from the samba server, I can see the server Icon, but cannot browse the share.
[root@nc6v9b marcbachman]# smbclient -NL nc6v9b
Can't find include file /etc/samba/smb.conf.DATAWIZA-nc6v9b
added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
session setup failed: Call timed out: server did not respond after 20000 milliseconds
Attached should be my smb.conf (for chuckles).
jerbear
11-29-2004, 12:56 PM
Did you add any users to the samba service? I'm not particularly experienced with samba (or linux in general), but I managed to get it to work on my system. You have to add users to the .smbpasswd file if I remember correctly. I believe there is a program called smbadduser or something like that. That's my first guess anyway.
JB
mbachman
11-29-2004, 04:14 PM
O. K I reinstalled samba configuration and got NFS for free. I added an NFS share which I can now see in Nautilis browser on the samba server. I just ran diagnostic :
smbclient -NL myservername and verified that the shares are available. Also now got the Red Hat samba server config utility working and checked the users and shares. Windows Network NeighborHood sees the samba server but no shares under the icon. I get error " Network not found " when trying to map a drive to the \\server\share. I can see all the Windows machines in my Nautilis browser, and can log into the Windows machines and see the directory folders and desktop folders. I would really like to be able to browse server shares from Windows. I'm trying every thing I can find with Google, so far no good.
TIA
mbachman,
Please paste the contents of your smb.conf file directly in the body of your post.
Some browsers cannot natively display text files attached to posts here, and the text file you attached looks like holy hell when opened in something like Windows Notepad; it's absolutely unreadable due to its lack of formatting.
Answers to your problem may lie in the smb.conf file, so putting it out in the open for all of us to easily review would help a lot.
Thanks :)
mbachman
12-01-2004, 12:21 AM
To clarify, I am using W2K Domain Controller as WINS server and password server, I have a bogus ( as in no DNS server ) domain, my DSL NAT router is DHCP server, I have added a static IP into WINS server for my samba server, two XP workstation clients, ( SP1) , no software firewall anywhere. Here is my smb.conf, names changed:
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = BOGUSDOMAIN
server string = Samba Server
hosts allow = 192.168.0. 192.168.2. #127.
printcap name = /etc/printcap
load printers = yes
printing = cups
; guest account = pcguest
log file = /var/log/samba/%m.log
max log size = 1024
security = domain
password server = BOGUSDOMAIN-7puw38
password level = 8
username level = 8
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*success
fully*
pam password change = yes
include = /etc/samba/smb.conf.%m
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
remote announce = 192.168.0.2
local master = no
os level = 33
domain master = no
wins server = BOGUSDOMAIN-7puw38
; wins proxy = yes
dns proxy = no
case sensitive = no
[SYMLINKSHARE]
comment = SHARE
path = /home/marcbachman/symlinkshare/
guest ok = yes
writeable = yes
printable = no
create mode = 0664
directory mode = 0775
create mask = 0765
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
int
printable = yes
#######################
I have also edited /etc/rc.d/rc.local to include these lines:
touch /var/lock/subsys/local
echo "Badministrator:Starting SAMBA server."
smbd -D; nmbd -D
I have noticed that now the icon for samba server is *not*
appearing in Network Neighborhood on Windows machines.
This is the list of users in /etc/samba/smbusers:
# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest
marcbachman = marcbachman
administrator = administrator
TIA
justlinux.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved.