Bluehost.com Web Hosting $6.95

[Samba] How to map an AD group to an existing unix group/gid

This is a discussion on [Samba] How to map an AD group to an existing unix group/gid within the Samba forums, part of the Networking and Network Related category; I have a unix group that owns some files on a share, and I'd like to set up a ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-13-2008
Eric Diven
 
Posts: n/a
Default [Samba] How to map an AD group to an existing unix group/gid

I have a unix group that owns some files on a share, and I'd like to set
up a group mapping so that an Active directory group (with an exising
mapping in winbind from earlier use) gets access to these files via a
mapping.

I've been fooling around with net groupmap add, and haven't been able to
get this set up.

The group Domain Users has an existing mapping to gid 10004, which
winbind allocated at some point in the past

I have a group testgroup, with gid=134

I've tried the following:

net groupmap add sid=S-...-513 unixgroup=testgroup
ntgroup="DOMAIN+Domain Users"
which gives the following for a net groupmap list:
DOMAIN+Domain Users (S-...-513) -> testgroup

and

net groupmap add sid=S-...-513 unixgroup=134
which gives this when I do a net groupmap list:
134 (S-...-513) -> DOMAIN+domain users

For both of these, when I view the properties of a file owned by
testgroup, the group owner shows up as Domain Users, with both read and
write permissions.

For both of these, wbinfo shows the following:

wbinfo --group-info="DOMAIN+domain users"
DOMAIN+domain users:x:134

So far, so good, right?

However, for both of these, when I try to access a file owned by
testgroup, I'm denied access. If I create a file in a directory when
logged in as a domain user, it gets created with gid 10004, that's fine.

nscd is disabled, nsswitch.conf contains group: files winbind, OS is
Solaris 10 update 4, samba is 3.0.25a, as shipped with S10u4.

Any ideas on this?

Thanks,

~Eric
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:47 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0