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 05-06-2008, 07:11 AM   #16
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985

well there are certainly attributes not listed there. an example i got through google reads:

nss_base_passwd cn=Users,?sub
nss_base_shadow cn=Users,?sub
nss_map_objectclass posixAccount User
nss_map_objectclass shadowAccount User
nss_map_attribute uid sAMAccountName
# nss_map_attribute userPassword msSFUPassword
nss_map_attribute homeDirectory msSFUHomeDirectory
nss_map_objectclass posixGroup Group
nss_map_attribute uniqueMember member
nss_map_attribute cn sAMAccountName
pam_login_attribute sAMAccountName
pam_filter objectclass=user
pam_password ad

so you're not going to be getting that posixGroup mapping at present.

There is actually a logical separation between doing a "getent group" and knowing a user is in a certain group, as it's the user query which says which groups the user is in, as opposed to the whole list of groups being sought. In general that seldom happens. Within the system there you should also be able to do an "id username" to do call the info that the group memberships are going to be used in a comparison
 
Old 05-06-2008, 07:21 AM   #17
zerocool22
Member
 
Registered: Feb 2008
Posts: 95

Original Poster
Rep: Reputation: 15
THX so much!!

nss_map_objectclass posixGroup Group this was the line to make it work.
Now when i do a getent group, i can see the group. I will test denying groups to folders right now.
 
Old 05-06-2008, 07:24 AM   #18
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
and you thought i'd given up on you ... ;-)
 
Old 05-06-2008, 08:16 AM   #19
zerocool22
Member
 
Registered: Feb 2008
Posts: 95

Original Poster
Rep: Reputation: 15
lol groupname works too!
 
  


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
Server 2003 and Services for Unix 3.5.... grim*nix General 1 07-14-2007 08:21 AM
Changing file attributes automatically on update to a server madtinkerer Programming 3 11-16-2006 06:13 PM
Bad homedirectory attributes when mounting from SFU NFS Server OgeeN Linux - Software 0 07-31-2006 05:41 AM
unix file attributes - windows exploder k1mgy Linux - Networking 1 01-13-2005 02:29 PM

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

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