Need to access Bea shared folders from Windows

Questions about cabled networking
Forum rules
Before you post please read how to get help
Post Reply
Level 1
Level 1
Posts: 4
Joined: Sun Dec 31, 2006 11:00 pm

Need to access Bea shared folders from Windows

Post by mroseberry » Mon Jan 01, 2007 4:50 am

First I should mention that I am new to Linux and I want to setup Mint for using a system as a jute box as well as a media server whose files would need to be accessed on Windows machines (preferably) through mapped network drives.

I installed Samba as well as NFS and was able to access shared folders on an XP machine from Mint but I was unable to connect to connect to the Linux server (named "Linux-Server").
I installed PuTTY and WinSCP on the XP machine which I read about in a previous post (however it seems that post has been removed, this ... 41b8d4246a is the link I used to get to it).

When trying to connect to Linux-Server from an XP machine, the server would refuse the connection regardless what valid username and password I used.

I had someone helping me who is familiar with Linux (who sent me the above link) and he was unable to find any firewall configuration, raising the question of Linux Mint 2.1 Bea's default firewall settings (if any).
He removed Samba and Linux-Server is no longer on the workgroup, but that's not a big surprise.

Hopefully he will assist me further but any assistance from the community would be greatly appreciated.

Thank you and Happy New Year

Level 8
Level 8
Posts: 2277
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Post by scorp123 » Mon Jan 01, 2007 9:43 am

The stuff you can configure from the "Administration" menu doesn't seem to work properly. I just tried and noticed that it doesn't start up the necessary background processes (smbd and nmbd).

What I did: In the repositories there is a package called gsambad ... It offers far far more configuration wise and it does work. I just tried it.

Don't get scared by the amount of settings gsambad offers ... Most of the stuff doesn't even need to be touched. The only things you really need to configure:

- the hostname of the server
- the IP address(es) of the server
- where the server will announce his presence (usually the broadcast address of your LAN, e.g.
- what usernames should be used by Samba (you would probably put the same username in there you alread use for your Linux desktop)
- there seems to be a bug: the configuration expects the presence of a user with the name smbguest but per default it doesn't create such a user and gives you error messages when you try to activate the configuration. Workaround: add a user smbguest manually, give him a password and an empty home directory (e.g. /home/guest ), then hit "Activate" again.
- Shares: per default the home directories will be shared if you can login via Samba, so you probably don't even need to touch that part.

If you see any option you don't understand it's probably safe to leave it untouched. :wink:

User avatar
Level 2
Level 2
Posts: 56
Joined: Mon Dec 25, 2006 6:42 am


Post by zolly » Mon Jan 01, 2007 7:30 pm

You have to make a user in samba ! ! !
The new username must be the same as in windows.

This is what I have done in an old linux (fedora):
verify in smb.conf file:
- security = user
- valid user = root,yournewuser
- encrypt password = yes
- [homes]
only user=yes
user=@mygroup <---- this is the group name for your users
valid users=@mygroup <---- this is the group name for your users

to add the user in samba:
smbpasswd -a yournewuser

PS: I didn't try with Linux Mint. Use google if you need more information.

Level 1
Level 1
Posts: 4
Joined: Sun Dec 31, 2006 11:00 pm

Post by mroseberry » Tue Jan 02, 2007 2:40 pm

Thanks scorp123. I used gsambad to setup just about everything.

Working great! :D

Long live Linux
(with such a helpful community that's pretty much guaranteed)

User avatar
Level 1
Level 1
Posts: 18
Joined: Fri Apr 06, 2007 3:27 am
Location: North Vancouver, BC, Canada

Argh!! Why does gsambad hate me?

Post by kody » Fri Apr 06, 2007 3:57 am

It's probably just getting too late for me, but I'm quite overwhelmed with all the information out there for Samba. There's too much for someone who simply wants to know how to add a user. I've read all 29 forum posts here and people either solve the problem but don't say how or they successfully used gsambad to add their users.

gsambad however just gives me nothing but migraine headaches. It can't add users for me. It can't save a single modification I make to any of its fields actually.

Is gsambad even needed though? Yes, Bianca lets you connect out-of-the-box to your windows box and you can see the shared directories and vice versa, but the files aren't accessible. I gather that this is due to me not having set up a user in samba. Does Bianca come with its own samba configurator? I can't find anything in Administration/Networking or /Network Tools.

Mint's been really easy for this newbie so far thanks to programs like Envy, synaptic, and Automatix. But now it's been getting tough with setting up Samba, Beryl, and my sound card for some reason.

Sleepy time. Must be my problem. If any kind soul has any links for how I can easily set up samba users,

Post Reply

Return to “Ethernet”