Solved

Setting up Samba Problem

Posted on 2004-10-20
5
198 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Reaching outside NTP servers from within a domain? 12 109
linux / python expert needed 3 98
LDAP setup? 9 87
App holding yum lock unable to update my rpm package 1 73
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

820 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