@k2zs
Don’t worry about missing stuff when compared to Kububtu. There are a zillion unnecessary things that the Debian Devs (who fit Samba to Kubuntu) put in there essentially for ppl to read, most of it is comment, skipped by the operating system.
You said that you made a share, this seems to be it:
[k2zs]
path = /home/k2zs
read only = No
inherit acls = Yes
That is you trying to share your home directories. You don’t need to do that because they’re already shared in this structure:
[homes]
comment = Home Directories
path = /home/%U
valid users = %S, %D%w%S
read only = No
inherit acls = Yes
I suggest a series of steps.
- Backup your current smb.conf file with this command:
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.backup
- Open smb.conf for editing with this command:
kdesu kwrite /etc/samba/smb.conf
Select/hignhlight all the text inside of it and paste the following text over the top to change it completely (to the following):
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: 2009-10-27
[global]
workgroup = RDXA
netbios name = newsushi
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
preferred master = yes
os level = 65
usershare allow guests = Yes
usershare max shares = 100
usershare owner only = False
[homes]
comment = Home Directories
path = /home/%U
valid users = %S, %D%w%S
read only = No
inherit acls = Yes
Share disabled by YaST
[profiles]
comment = Network Profiles Service
path = %H
read only = No
create mask = 0600
directory mask = 0700
store dos attributes = Yes
Share disabled by YaST
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
Share disabled by YaST
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
Share disabled by YaST
[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No
Share disabled by YaST
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775
Share disabled by YaST
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
write list = root
-
change the netbios name to somethibng better if you prefer, I just put in the default (newsushi).
-
save the document
-
You have not opened the firewall properly for Samba. I notice that the “holes” for “netbios server” and for “samba client” have not been made, just the hole for “samba server” has been made. To open the other two do this:
Open Yast → Security and Users → Firewall. Select Allowed Services from the list in the left column. Make sure the panel is set to “External Zone” in the drop-down list in the top portion.
Now look at the drop-down list under the heading “Service to Allow”. Select “Samba Server”. Click the Add button and it will appear in the panel below the heading Service to Allow. Repeat the procedure to insert “Netbios Server” as a service in the panel. Repeat the procedure once again and insert “Samba Client” in the panel
The quote is from here: link to method. Ypu’ll find that “Samba Server” has already been done.
- now add the user k2zs to the samba user database with this command:
sudo smbpasswd -a k2zs
answer the question and give a password when asked.
- check that you’ve enabled the Samba daemons with these two commands:
sudo /etc/init.d/smb status
and
sudo /etc/init.d/nmb status
- reboot the computer, pause, then reboot the windows computer/s, pause, reboot your modem and router and any network switches.
You should now be able to see the share labelled “k2zs” from the windows computers and log onto see all your files and directories by using the username k2zs and the password you just generated for the Samba user database.
The Kubuntu machine probably will have difficulty reading openSUSE but that’s fairly easy to fix, ask if necessary, that’s if it’s still active.