LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-22-2009, 11:53 PM   #1
noir911
Member
 
Registered: Apr 2004
Posts: 682

Rep: Reputation: Disabled
samba v.3.0 permission issues


I have strange permission issues with samba and AD.

When I try to write to my samba directory from XP, it says: access denied.

The directory /mkt/ has 775 permission and is owned by user mkt and group mkt (I added the group and user on linux). In /etc/group I have added the active directory user to the mkt group. If I change the permission to 777, I can write/ delete from XP without any issues.

Also, the file I create from XP is owned by the AD user but with a different group called "domain users" - this is my gid on my AD account. My question is why samba is getting gid from AD and not from unix and what's the best way to fix this issue? - from unix or from Windows end? and how?

I can see the shares using smbclient -L server -U <AD_USER_NAME>

Here is my smb.conf. Thanks.

Code:
[global]
       workgroup = AD
       security = ADS
       realm = AD.COMPANY.COM
       encrypt passwords = yes
       preferred master = no
       log level = 3
       auth methods = winbind
       winbind enum users = yes
       winbind enum groups = yes
       winbind use default domain = yes
       idmap uid = 100000-200000
       idmap gid = 100000-200000
       netbios name = test
       password server = 192.168.25.25
       template homedir = /home/%D/%U
       template shell = /bin/bash
       winbind enum groups = Yes
       winbind enum users = Yes

[mkt]
       path = /mkt/
       comment = mkt Data Share
       directory mask = 0770
       create mask = 0777
       read only = no
       available = yes
       browseable = yes
       writable = yes
       guest ok = no
       public = no
       printable = no
       share modes = no
       locking = no


Thanks for any help.
 
  


Reply



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
Permission issues Zeno McDohl Linux - Newbie 1 01-15-2008 02:17 AM
Samba - dont have permission to browse samba share. Scrag Linux - Software 4 11-28-2006 01:42 AM
permission issues CiscoGeek Linux - Newbie 4 07-30-2006 08:27 AM
Permission Issues turbo_acura Linux - Software 3 02-20-2006 04:24 PM
Samba Share Write permission Issues Colossus610 Linux - Software 4 08-12-2004 05:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:28 AM.

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