I have a folder “SHARE” set for sharing on my (fresh install) openSUSE 12.1 Laptop.
On my WinXP Desktop I have an account to allow access name & password.
When I had Linux Mint 10 on this same laptop, the File Sharing Wizard just had me put in the name-password to access my WinXP and that was that. No problem.
I can get connection to my openSUSE laptop from WinXP Network, but Windoz keeps asking me for a user & password. This did NOT happen with Mint.
Its the minor details that kills you. Perhaps you will find out what it is after reading through my links. I use Samba between several PC’s and most are openSUSE and a couple are Windows. So, Samba works with openSUSE just fine, but perhaps a detail I set is not being set for you automatically.
On 07/15/2012 10:06 AM, tecknode wrote:
>
> I have a folder “SHARE” set for sharing on my (-fresh install-)
> openSUSE 12.1 Laptop.
>
> On my WinXP Desktop I have an account to allow access name &
> password.
>
> When I had Linux Mint 10 on this same laptop, the File Sharing
> Wizard just had me put in the name-password to access my WinXP and that
> was that. No problem.
>
> I can get connection to my openSUSE laptop from WinXP Network, but
> Windoz keeps asking me for a user & password. This did NOT happen with
> Mint.
>
> What I’m I missing:?
>
>
If you used the Right-click GUI to make the sharing of the folder SHARE,
then the underlying config that is created is different if you did it in
Gnome or in KDE. And if you used a text editor it is different again.
There are many different issues that might cause your problem. So I
would ask you to answer the following very relevant questions:
are you using Gnome or KDE
how did you make the share called “SHARE”
maybe you left the [homes] shares on so please run this command and
report back:
cat /etc/samba/smb.conf
maybe you enabled or created usershares so please run this command and
report back:
sudo ls -l /var/lib/samba/usershares
maybe you did or didn’t add authorised Samba users so please run this
command and report back:
sudo pdbedit -L
maybe you did or didn’t add make passage through the firewall so
please run this command and report back:
You clicked in yast to disable the share called “netlogin” when you went to the GUI configurator at Yast –> Network services –> samba server
That click creates the following lines in the file smb.conf:
The ldap stuff in the [global] stanza of smb.conf was created by clicking in the GUI configurator located at Yast → Network services → Ldap stuff
The reason you are being asked for a username/password when you go to the openSUSE icon in Network Neighbourhood in win XP is that you have [stanzas] in smb.conf that create secure shares, secure in the sense that only authorized users may access them, i.e. must authorize with usernames and passwords. I can see four secure shares listed in smb.conf including the secure share [Share Folder]
This is all pretty easy to fix. But I don’t know what you’re trying to do/achieve. Are you trying to share the folder /home/tecknomage/Documents/SHARE to guest access from win XP? (i.e. with no need for passwords). If that’s a “yes” I’ll show you how. Otherwise, tell me what u want.
And a small PS: I’m assuming that you want a standard windows-style workgroup setup, like for a small office / home office, with no LDAP & no wins server stuff, correct me if I’m wrong
Thanks, but this is NOT helpful because I cannot find what you are talking about :?
When you say “GUI configurator at YaST” where is that in openSUSE? Do you mean “Configure a SAMBA Server?” IF this is what you meant, I don’t see an option to ‘disable’ share netlogin.
I sorry, but I got my laptop just to get familiar with Linux, and SUSE is my latest try (tried Ubuntu & Linux Mint), so bear with me :embarrassed:
BTW - I think I said in the past, WinXP Network does see my SUSE share, but it keeps asking for a password.
Of course, @!##@! Windoze does not make it clear whose password it wants, my win-password or my SUSE-password. Regardless, I tried both and nothing worked.
Let’s just cancel all the above and fix the Samba workgroup config on your openSUSE. Forget about all the fancy config tools in Yast and simply edit the one file, smb.conf, located at /etc/samba/smb.conf. That controls pretty-much everything. Open a console window and enter this command, it will make a backup copy of the existing file smb.conf:
Now enter this command to open the file for editing:
kdesu kwrite /etc/samba/smb.conf
Then delete everything in the file, removing all text and copy all the text below and paste it into the empty file and save the file (smb.conf) and exit.
The reboot openSUSE wait till it’s finished, then reboot winxp wait till it’s finished, then reboot openSUSE wait till it’s finished, then reboot win xp wait till it’s finished. That makes them talk to each other well, get to know each other. You shouldn’t need passwords after that.
Here’s the text to use, do a copy/paste of the following:
# This is a preferred master browser config file for openSUSE 12.x
# courtesy of swerdna http://opensuse.swerdna.org/suselanprimer.html
[global]
workgroup = HOME
netbios name = openSUSE121
name resolve order = bcast host lmhosts wins
server string = ""
pasdb backend = tdbsam
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
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0700
browseable = No
guest ok = Yes
[openSUSEshare]
openSUE Share Folder
path = /home/tecknomage/Documents/SHARE
read only = No
guest ok = yes
force user = tecknomage