Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to get posixGroups from LDAP working again?

I can't tell if this is just broken in ML, or if I'm just missing it.


I have an LDAP server running OpenLDAP and RFC2307. I have a couple groups defined with standard syntax, that is:


dn: cn=netadmin,ou=Group,dc=example,dc=net cn: netadmin description: Network Administrators gidnumber: 20002 memberuid: pjfasano memberuid: fasano objectclass: posixGroup objectclass: top


I used to be able to use the dseditgroup command to add this group to the local "admin group, thereby giving all of the users in "netadmin" the right to sudo, install updates, etc. I seem to be able to use the same command, and add it to the local group, but users can't do anything administrative.


Here's where it gets funky -- here's the output from dseditgroup netadmin:


pjfasano@iMac:~$ dseditgroup -o read netadmin dsAttrTypeStandard:RecordName - netadmin dsAttrTypeStandard:AppleMetaNodeLocation - /LDAPv3/server.example.net dsAttrTypeStandard:AppleMetaRecordName - cn=netadmin,ou=Group,dc=example,dc=net dsAttrTypeStandard:PrimaryGroupID - 20002 dsAttrTypeStandard:RecordType - dsRecTypeStandard:Groups dsAttrTypeStandard:Member - pjfasano fasano dsAttrTypeStandard:GroupMembership - pjfasano fasano


It all looks okay. But when I run dseditgroup -o checkmember:


pjfasano@iMac:~$ dseditgroup -v -o checkmember netadmin dseditgroup verbose mode Options selected by user: Checking membership selected Username determined to be Groupname provided as no pjfasano is NOT a member of netadmin


it says I'm not a member! Even though it just listed me as a member. Any ideas?


Message was edited by: pjfasano (formatting changes)

OS X Mountain Lion

Posted on Aug 7, 2012 8:51 PM

Reply
1 reply

How to get posixGroups from LDAP working again?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.