Results 1 to 7 of 7
Hi.
I'm having issues with Samba. I have read AlexK's Samba FAQ, great but I'm still having problems. Samba starts and I can see the server from XP but no ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-08-2007 #1Just Joined!
- Join Date
- Apr 2007
- Location
- Derbyshire UK
- Posts
- 4
Samba Issue, can see server but not shares from Wintel
Hi.
I'm having issues with Samba. I have read AlexK's Samba FAQ, great but I'm still having problems. Samba starts and I can see the server from XP but no shares.
O/S CentOS 4.4
Samba Version = Version 3.0.10-1.4E.11 (found using smbd -V)
I have set up users what I am seeing is:
On Witel share attempt:
\\Jupiter\imagebank can not be found.
When browsing on XP in the treeview Jupiter shows with a (+) but when I expand the view there is nothing:
smbclient -L localhost returns:
tree connect failed: Call returned zero bytes (EOF)
I guess this is the heart of the issue but what is the answer?
In nmbd.log
[2007/04/08 19:40:20, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(283)
standard_fail_register: Failed to register/refresh name MSHOME<00> on subnet U
NICAST_SUBNET
[2007/04/08 19:40:20, 0] nmbd/nmbd_nameregister.c:register_name_response(130)
register_name_response: WINS server at IP 127.0.0.1 rejected our name registra
tion of MSHOME<1e> IP 10.0.0.234 with error code 5.
[2007/04/08 19:40:20, 0] nmbd/nmbd_workgroupdb.c:fail_register(22
fail_register: Failed to register name MSHOME<1e> on subnet UNICAST_SUBNET.
[2007/04/08 19:40:20, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(283)
standard_fail_register: Failed to register/refresh name MSHOME<1e> on subnet U
NICAST_SUBNET
My smb.conf look like this:
# Global Parameters
[global]
netbios name = Jupiter
server string = Jupiter Samba Server
workgroup = MSHOME
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
log file = /var/log/samba/%m.log
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins support = yes
hostname lookups = yes
hosts equiv = /etc/hosts
hosts allow = 10.0.0.10/255.255.255.0 localhost
hosts deny = All
interfaces = lo eth0
bind interfaces only = yes
guest ok = yes
browse list = yes
printcap name = cups
printing = cups
load printers = yes
[imagebank]
path = /image_bank
comment = Photographic Archives
guest ok = yes
create mode = 0766
browsable = yes
public = yes
read only = no
Any ideas or suggestions welcome.
Rob.
- 04-08-2007 #2Just Joined!
- Join Date
- Apr 2007
- Location
- Derbyshire UK
- Posts
- 4
I have been trying to sort this out by editing my smb.conf to look like this:
# Global Parameters
[global]
netbios name = Jupiter
server string = Jupiter Samba Server
workgroup = MSHOME
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
log file = /var/log/samba/%m.log
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
#wins support = yes
hostname lookups = yes
hosts equiv = /etc/hosts
#hosts allow = 10.0.0.10/255.255.255.0 localhost
#hosts deny = All
interfaces = lo eth0
bind interfaces only = yes
guest ok = yes
browse list = yes
#printcap name = cups
#printing = cups
#load printers = yes
[imagebank]
path = /image_bank
comment = Photographic Archives
guest ok = yes
create mode = 0766
browsable = yes
public = yes
read only = no
I have been able to get smbclient -L localhost to respond but still no folders in XP.
Example:
smbclient -L localhost
Password:
Domain=[JUPITER] OS=[Unix] Server=[Samba 3.0.10-1.4E.11]
Sharename Type Comment
--------- ---- -------
imagebank Disk Photographic Archives
IPC$ IPC IPC Service (Jupiter Samba Server)
ADMIN$ IPC IPC Service (Jupiter Samba Server)
Domain=[JUPITER] OS=[Unix] Server=[Samba 3.0.10-1.4E.11]
Server Comment
--------- -------
Workgroup Master
--------- -------
MSHOME
- 04-09-2007 #3
did you create the users on the sever?
useradd sameuseraswindows
passwd sameuseraswindows
new password >
again>
smbpasswd -a sameuseraswindows
ON the SERVER?Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
- 04-10-2007 #4Just Joined!
- Join Date
- Apr 2007
- Location
- Derbyshire UK
- Posts
- 4
Yes, but as this is a home network, my PC's don't logon with a password. I intend to enter a share specific user and password via the map network drive dialogue.
Originally Posted by adrenaline
XP is stating it cant find the server in the network, but surely if they both have 10.0.0.xxx addresses with a netmask of 255.255.255.0 they are on the same network. All the XP boxes have a host entry for Jupiter (the server) and can ping it by name as well ass address.
Rob.
- 04-10-2007 #5
for this to work you are going to have to have passwords. You are going to have to create logins.
You have to at least have some kind of security even on a home network if you are going to share on your network.
That I am sure is what your issue is.
If you are going to share stuff with no passwords you will be sharing it to everybody on the net.
you also need to uncomment this line
#hosts allow = 10.0.0.10/255.255.255.0 localhostSome people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
- 04-10-2007 #6Just Joined!
- Join Date
- Apr 2007
- Location
- Derbyshire UK
- Posts
- 4
I could understand that if it was not allowing me to log in, but I can't even see any shares, and XP states the server is "not found on the network".
Originally Posted by adrenaline
I do not intend to share by wintel username, but have the share logged into via a generic login called FRED for istance, via the logon as a different user dialogue.
This is how I intend it to work, if It can't work like that then perhaps I will nhave to look at some other solution, although I don't know what.
- 04-10-2007 #7
Is it too much of a problem to create user accounts and make it available when that user logs in?
I don't think you are going to be able to share anything without suid ie useraccounts. Meaning username/password. Unless there is something I don't know.
Also you have host.allow and host.deny commented out it will not work that way either.Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds


Reply With Quote
