Solved

Setting up Samba Problem

Posted on 2004-10-20
5
190 Views
Last Modified: 2010-03-18
I am trying to setup samba 3 from SUSE 9.1. I am able to see the folders from my XP machine but I have no permissions to change anything and the user name and PW from my XP machine match one that I have created on the linux system. All help appreaciated.
0
Comment
Question by:georgopanos
  • 2
  • 2
5 Comments
 
LVL 2

Expert Comment

by:mmartha
ID: 12362993
Check the permissions of the linux files/folders with "ls -al", the user you are using must have permissions (or be the owner).

If you want to set the owner of the files/folders to your USERNAME do: chown USERNAME FILENAME (or folder name). You can add the -R flag to the command to change the owner recursively on the child folders: chown -R USERNAME FOLDER
0
 
LVL 2

Expert Comment

by:mmartha
ID: 12370206
it didn't help?
0
 
LVL 19

Accepted Solution

by:
Gabriel Orozco earned 500 total points
ID: 12373219
when you create a share, you must give permission to it. like here:

[shrdata]
        path = /home/shrdata
        read only = No
        guest only = No
        guest ok = No
        force group = nogroup
        force create mode = 760
        force directory mode = 770

all the group users will be able to create and delete, also the user.
of course, directory ownership should be nogroup in this case:

chown root:nogroup /home/shrdata

and it will work
0
 
LVL 5

Expert Comment

by:paranoidcookie
ID: 12378627
When you say the username password match the one on the linux machine do you mean you created a linux user?
You need to create a samba passwd for that user with

smbpasswd -a username

You may have already done this but its worth a check.
0
 
LVL 5

Expert Comment

by:paranoidcookie
ID: 12378629
Also what messages are you getting in your logs?
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question