LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-21-2008, 10:39 AM   #1
Criller
LQ Newbie
 
Registered: Jul 2007
Posts: 11

Rep: Reputation: 0
winbind breaks samba share resulting in no access.


I have samba share up and running which can be accessed by users from their Windows client PC’s. These users have local Linux accounts on the Samba server.

To control access I have a Linux security group called ‘accounts’ and permissions on the Samba directory called ‘shared’ are set as below:-

drwxrws--- 2 root accounts 4096 Feb 21 12:14 shared

I have now implemented windbind to give me Windows AD authentication and the above Samba share is no longer accessible. When I type \\samba server in Windows explorer the shared directory is displayed but when you try to go in to the directory I get an error saying the folder is not accessible and that I do not permission to use the network resource. If I set the Linux permissions to 777 I do not have an issue. I’ve tried adding ‘write list =domain name’ into smb.conf. I’ve also tried net groupmap my AD ‘accounts’ group to my Linux ‘accounts’ group. But all have failed. When I look in the samba logs I see the following:-

[2008/02/21 16:21:50, 0] smbd/service.c:set_current_service(184)
chdir (/u01/samba) failed

If I login via SSH using my AD domain account I can cd to /u01/shared without any issues.

If I disable winbind the share becomes accessible.

My smb.conf looks like:-
[global]
workgroup = EXAMPLE
realm = EXAMPLE.XXX.COM
server string = Production Server
security = ADS
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
printcap name = /etc/printcap
dns proxy = No
remote announce = xxx.xx.6.255 xxx.xx.3.255
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template homedir = /xxxx/xxx/home/%U
template shell = /bin/bash
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = Yes
hosts allow = xxx.xx., 127.
cups options = raw

[homes]
comment = Accounts
path = /u01/shared
write list = EXAMPLE.xx.COM\user
read only = No
create mask = 0774
browseable = No

can anybody suggest how I resolve this as I’m pulling my hair out trying to find a resolution even after lots of googling.

Thanks
 
  


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
samba share cannot access muhammednavas Linux - Software 2 06-14-2007 04:49 AM
Access denied when attempting access samba share warlockvix Linux - Software 1 05-11-2007 02:36 PM
searching samba share breaks connection to share Elomis Linux - Server 1 05-11-2007 12:28 AM
Winbind Samba - Access Denied Shares Wylz Linux - Software 3 10-06-2004 04:30 AM
SAMBA access based on NT Domain groups [using winbind] tisource Linux - Networking 1 11-24-2003 12:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:29 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