Creating a dynamic group to mirror a netgroup?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Always the way - the LDAP enabled app/hardware falls one inch short of doing what you need ...
 
In this case a Juniper VPN box which I need to check LDAP netgroup membership for access control  but it doesn't quite understand netgroups. The
 
nisnetgrouptriple=(,username,)
 
format is the stumbling block as I need just the username. I was looking at creating a dynamic group on the LDAP server itself to contain the same usernames as in the netgroup but in a simple format the VPN box could query. Anybody have an idea how to do this with dynamic groups? Essentially, I need a query to turn this:
 
cn=netgroup1
nisnetgrouptriple=(,user1,)
nisnetgrouptriple=(,user2,)
 
into something like this:
 
cn=dynamic-group1
uniquemember=user1
uniquemember=user2
 
PK
 
--
Philip Kime
NOPS Systems Architect
310 401 0407
 
--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux