Solved

Setting up Samba Problem

Posted on 2004-10-20
5
184 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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now