We help IT Professionals succeed at work.

Suse Linux File Server Shared folder ?

Axis52401 used Ask the Experts™
I have to use a Linux server as a file server and don't know much about it. I got the OS loaded and it on the network. My google reading says for this version of linux I have to use an app called Samba to create and manage file shares. I have a few hopefully simple question for some Linux expert.

My first problem I I have somehow created a file share that I can see by accessing my Windows PC and using \\Servername

But when I right click on the folder and hit Map Network drive it gives me a username and password box. I don't know what to use. I only created one user on the Linux server and it's not taking that login info.

An providing I can get that working I have What in Windows I would call partitions but here I don't know but a 20G one and a 386G one. I'd like to share out a folder on the 386G one but in the Samba create share section the browse section doesn't seem to allow me to do that.

As you can probably tell I'm not a Linux expert any suggestion will be helpful.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Here are some good links how to create Samba share on Suse:

Thee instructions should be enough to create what you need. If you have any questions regarding steps described in links above, don't hesitate to ask.

Axis52401Security Analyst


I found the below entry on the first link you sent me. But it doesn't tell me how to alter any of these whether I create some sort of password file, How to use Ldap to read the Windows Domain accounts, etc

he other Advanced Settings tab, User Authentication Sources, is simply a way for you to define where Samba finds the resource file to authenticate users. There are four different types:

    smbpasswd File
    TDB Database
    MySQL Database

Obviously, this configuration will depend completely on your network setup. The default option is smbpasswd File. If you press the Edit button (with that option highlighted), you can then enter the location of the password file used.
To use LDAP your Suse server should be part of Windows domain.

To use smbpasswd file as authentication method do the following as root:

suse$ smbpasswd -a <username>

Axis52401Security Analyst


I added the Linux server to the Windows domain, How to I set up the LDAP to enable the use of the Windows accounts to be used to access the shared folders.
Here are some good links how to do it:

Unfortunately I don't have AD to test it. But if you follow the steps and compare your current setup against setup on those links, you should be able to find what is missing in your configuration.