Solved

Setting up Samba Problem

Posted on 2004-10-20
5
206 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Suggested Courses

751 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