So after I fixed my video issue, now I can’t seem to get into my server box running Windows 7 Ultimate! I know it works because I access it all the time from the Windows partition I have on this same computer that I am running SUSE 12.2 x64 on! So far I have encountered this issue with several distros, and it is driving me nuts! Why the hell hasn’t this been fixed yet? Even Windows 95 can browse network shares without being stupid! When I try to go into “Browse Network” and try and go into my Server, it says “Failed to retrieve share list from server”. Tried different solutions like adding “name resolve order = bcast host” in the smb.conf file, but still have the same issue. Now if I remove that line, I can see my other computers on the network, but when I click the computer, the error pops up! But, I can do this under location “smb://192.168.1.150” etc to access the network shares just fine. So WTF? I mean, after so many years of this same problem, and still no one can get this right? How does one go about fixing this, even thou it should freaking work!
Don’t use windows myself
Is this any help: http://forums.opensuse.org/content/112-swat-samba-web-administration-tool-setup-creation-script-1-03.html
Looks like you didn’t configure samba
- Please paste here the contents of smb.conf
- and paste here the response to this command:
cat /etc/sysconfig/SuSEfirewall2 | egrep "FW_CONFIGURATIONS_EXT=|FW_DEV_EXT="
- and the response to this command:
su -c "service smb status | grep Active; service smb status | grep Active"
- and tell us are you running Gnome or KDE or another Desktop Environment
That should help us diagnose where you’re at
On 09/16/2012 04:56 PM, swerdna wrote:
> su -c “service smb status | grep Active; service smb status | grep Active”
correction that line should be as follows:
> su -c “service smb status | grep Active; service nmb status | grep Active”
i.e. the second smb should be nmb
–
Regards
swerdna
My contents of smb.conf:
smb.conf is the main Samba configuration file. You find a full commented
version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
samba-doc package is installed.
Date: 2012-08-08
[global]
workgroup = WORKGROUP
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \%L\profiles.msprofile
logon home = \%L%U.9xprofile
logon drive = P:
usershare allow guests = No
idmap gid = 10000-20000
idmap uid = 10000-20000
security = domain
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
Then the command: cat /etc/sysconfig/SuSEfirewall2 | egrep "FW_CONFIGURATIONS_EXT=|FW_DEV_EXT="
FW_DEV_EXT=“eth0”
FW_CONFIGURATIONS_EXT=""
Then this command: su -c "service smb status | grep Active; service nmb status | grep Active"
Active: inactive (dead)
Active: inactive (dead)
I am running the stock Gnome that comes with SUSE 12.2 x64! GNOME version 3.4.2
Thankyou for getting that info. Here are the problems:
1: the samba daemons have not been activated (samba is turned off)
2: the openSUSE firewall is configured to block Samba
3: smb.conf is configured to make the Linux box a Domain Server (but you
are in a workgroup scenario)
1: Turn the Samba daemons on: go to Yast → System → services
runlevels and locate nmb and turn it on and locate smb and turn it on
2: Open the firewall: Go to Yast → security and users → firewall →
allowed services and add into the section “services to allow” these
three: netbios server, samba client, samba server
3: change the [global] stanza in smb.conf to look like this:
[global]
workgroup = WORKGROUP
netbios name = openSUSE122
name resolve order = bcast host lmhosts wins
server string =
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
use client driver = yes
map to guest = Bad User
local master = yes
os level = 33
usershare allow guests = Yes
usershare max shares = 100
usershare owner only = False
After the changes, reboot openSUSE & let it settle for 1 minute, then
reboot windows 7 and let it settle for 1 minute then reboot opensuse
[that makes them look for each other]
Regards
swerdna