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
- Host: GitHub
- URL: https://github.com/vvelox/net-ldap-posixgroup
- Owner: VVelox
- Created: 2023-12-05T15:22:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-08T09:18:42.000Z (over 1 year ago)
- Last Synced: 2025-02-17T01:42:30.732Z (3 months ago)
- Language: Perl
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
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;
```