LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-24-2007, 10:45 AM   #1
k0r54
LQ Newbie
 
Registered: Nov 2007
Posts: 15

Rep: Reputation: 0
debian joined AD fine, want a samba share with windows permissions


Hi,

I followed this tut to join my debian to my windows domain and will be using it as a webserver

http://blog.timc3.com/2006/07/27/joining-debian-to-ad/

All is done fine.

However..

I have installed apache and changed the location to /home/apache/ and i want the client on the network to map a drive to the share websites on the webserver. I added this to smb.conf

[websites]
comment = Websites
path = /home/apache/
valid users = xx\aa
read only = no
browseable = yes
admin users = xx\aa

and change chmod 777 /home/apache/ (not sure if i should have done that).

What i want is for the user "aa" on domain "xx" to have full permission but for everyone else to have read only.

Ideally i would like to have an ad security group called webdev and every ad user in that group could access the share with full permissions.

Is this possible?

Thanks
k0r54
 
Old 12-27-2007, 08:14 AM   #2
k0r54
LQ Newbie
 
Registered: Nov 2007
Posts: 15

Original Poster
Rep: Reputation: 0
I have been playing and still no luck?

Is this possible?

Thanks
k0r54
 
Old 12-27-2007, 02:33 PM   #3
k0r54
LQ Newbie
 
Registered: Nov 2007
Posts: 15

Original Poster
Rep: Reputation: 0
hey,

I can write to the root folder but not to any sub directories. I have just changed it to writeable = yes and browseable = yes for the moment.

How can i get it to apply to the sub directory?

Thanks
k0r54
 
Old 12-28-2007, 03:44 AM   #4
k0r54
LQ Newbie
 
Registered: Nov 2007
Posts: 15

Original Poster
Rep: Reputation: 0
ok,

I have just found out then if i create a new folder in the website share i can add and remove as i want on the sub folders. However this did not apply to the ones there were already in there so i right clicked in windows and took the check out of read only and applied to all sub folders. This has fixed it.

My current config is as follows: -


[websites]
comment = Websites
path = /home/apache/
browseable = yes
public = yes
writable = yes
create mask = 0700
directory mask = 0700
directory security mask = 0700
admin users = adam administrator

Any thing now is how do i give everyone read permision but write permision to the ad group webdev?

Thanks
k0r54
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a Windows XP client to set permissions on a Samba share Wendellz Linux - Software 2 02-09-2007 08:01 AM
Samba 3.x file permissions on Windows share lefty.crupps Linux - Software 0 09-07-2006 10:08 AM
Samba share permissions anorman Linux - Software 1 10-22-2005 02:49 AM
samba share permissions? psychomaniac Linux - Software 4 04-29-2004 02:22 PM
Samba Share Permissions stever Linux - Newbie 4 05-17-2003 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration