An open API service indexing awesome lists of open source software.

https://github.com/vvelox/net-ldap-posixgroup

Creates new Net::LDAP::Entry object for a posixGroup entry
https://github.com/vvelox/net-ldap-posixgroup

Last synced: 16 days ago
JSON representation

Creates new Net::LDAP::Entry object for a posixGroup entry

Awesome Lists containing this project

README

        

# Net-LDAP-posixGroup

Creates new Net::LDAP::Entry object for a posixGroup entry

```perl
use Net::LDAP::posixGroup;

my $foo = Net::LDAP::posixGroup->new(baseDN=>'ou=group,dc=foo');

#creates a new for the group newGroup with a GID of 404 and members of user1 and user2.
my $entry = $foo->create(
name => 'newGroup',
gid => 404,
members => ['user1', 'user2']
);

print $entry->ldif;
```