LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-22-2010, 11:08 AM   #1
digitolx
Member
 
Registered: Nov 2004
Posts: 96

Rep: Reputation: 15
group mapping samba / ldap


Hello,

I'm trying to set specific permissions for a group I have created in samba. There is no standard windows group to map to so I am lost as to how to set permissions or security access to these samba groups so they will pertain to windows.


I have samba PDC with ldap backend.. I use am using thin clients to log into a terminal server and want to assign specific access rights as an example to use MSword.


I would appriciate any direction to be pointed.. I've read up on net groupmap but have yet to see how this will pertain to newly created groups..
 
Old 07-26-2010, 07:28 AM   #2
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Samba is a service that runs on a Linux machine.

To control access to the Linux box, you need set access rights to a Linux user or group account.

To control access to a Samba user or group, you need to link (map) the Samba account or group to a Linux account or group.

The process is as follows:
  1. Create a Linux group
  2. Create a Samba group and map it to the Linux group.
  3. Set the access controls on the Linux group. They will be applied to the Samba group to which it is mapped.


I am not sure how you create your groups in Samba. If you are using the smbldap-tools, the Linux groups will be created in ldap when you create the samba groups.

If you look at your group record in ldap, you should see Posix (Linux) group information as well as Windows (Samba) group information.

In other words, the single ldap entry should create the Linux group and the Samba group.

That should take care of steps 1 and 2.

You should now just have to do step 3.

Last edited by jamrock; 07-26-2010 at 07:30 AM.
 
  


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
nss ldap mapping shadowAccount problem neia Linux - Enterprise 4 06-11-2010 10:29 AM
Samba Domain Admins and Group Mapping Lee_Ball Linux - Server 4 10-26-2009 10:49 AM
phpldapadmin group mapping and user home directory niraj.kumar Linux - Server 5 05-11-2009 04:06 PM
Samba + LDAP server issues with group memberships havok1977 Linux - Server 2 05-06-2009 05:59 AM
NFS group mapping to linux joel112 *BSD 1 02-07-2005 06:09 PM

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

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