I have Asus Wl-500gp router with Samba 2 built in the firmware. This Samba was working well. The installation of Samba 3.6 was without problems and smbd and nmbd are automatically started after reboot:
151 admin 1976 S /opt/sbin/nmbd -D
153 admin 3600 S /opt/sbin/smbd -D
165 admin 3480 S /opt/sbin/smbd -D
Here is also the log from log.nmbd file after rebooting the router:
[2013/06/01 13:23:09, 0] nmbd/nmbd.c:861(main)
nmbd version 3.6.15 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
[2013/06/01 13:23:09, 1] param/loadparm.c:9670(lp_load_ex)
WARNING: The security=share option is deprecated
[2013/06/01 13:23:09, 1] param/loadparm.c:9670(lp_load_ex)
WARNING: The security=share option is deprecated
and log.smbd file:
[2013/06/01 13:23:10, 0] smbd/server.c:1072(main)
smbd version 3.6.15 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
[2013/06/01 13:23:10, 1] param/loadparm.c:9670(lp_load_ex)
WARNING: The security=share option is deprecated
[2013/06/01 13:23:10.290456, 1] param/loadparm.c:9670(lp_load_ex)
WARNING: The security=share option is deprecated
I also tried the option
security = user
to suppress the warning message but the result was the same - in Windows XP or 7 no connection to Samba share is established. The same connection which was working with Samba 2.
Here is my smb.conf file:
[global]
workgroup = WORKGROUP
guest account = admin
security = share
map to guest = Bad User
browseable = yes
guest ok = yes
guest only = yes
log level = 1
max log size = 100
encrypt passwords = no
preserve case = yes
short preserve case = yes
dns proxy = no
netbios name = ASUS_SAMBA
server string = Asus WL-500W
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_SNDBUF=8192
bind interfaces only = yes
interfaces = 192.168.1.2/24
hosts allow = 192.168.1.2/255.255.255.0
printcap name = /dev/null
load printers = no
printing = bsd
[z]
path = /tmp/mnt/disc1_3
writeable = yes
browseable = yes
force user = admin
Would you have an idea why it is not working? What can I try or check? I have no more ideas.
Well seems like a few Global values are out of place or require more info. Also be aware that issues with Samba have come up from Time to Time with paste versions of Samba. I did not see what openSUSE version that you use or if you are fully up-to-date. For instance on your Global settings, for “host allow” to work, a “host deny = ALL” should be set. “browseable = yes” does not belong in the global section. I have a bash script blog I request that you read through and even includes a default smb.conf file it can setup for you.
On 6/1/2013 6:46 AM, duvik wrote:
> I have Asus Wl-500gp router with Samba 2 built in the firmware. This
> Samba was working well. The installation of Samba 3.6 was without
> problems and smbd and nmbd are automatically started after reboot:
duvik;
Did you install Samba 3.6.? on your router or on openSUSE? If openSUSE what version?
P.V.
“We’re all in this together, I’m pulling for you” Red Green
Thank you for the reply. I tried removing “browsable = yes” from the global section and added “host deny = ALL” but it did not help.
I am actually not using openSUSE. I found interesting discussions about SAMBA on this forum and assuming that SAMBA is quite independent of Linux distribution I wrote my topic there.
Your bash script looks very straightforward - would it also work on other Linux distributions please?
Well Samba is pretty much the same, but firewall settings may not work the same as used in openSUSE, meaning the auto-config setting in SACT may only work with openSUSE. The editor portion assumes you use KDE or GNOME as your desktop. It is worth a try to see if SACT might help, but obviously, your best bet is to get help in a forum for your Linux distribution or switch to using openSUSE instead.