Creates new Net::LDAP::Entry object for a posixGroup entry
移至檔案
Zane C. B-H 0befb6803d fix typo in your in change log 2023-12-08 03:18:34 -06:00
lib/Net/LDAP add a space 2023-12-08 03:13:18 -06:00
t initial import of old code 2023-12-05 09:56:30 -06:00
.gitignore Initial commit 2023-12-05 09:22:13 -06:00
Changes fix typo in your in change log 2023-12-08 03:18:34 -06:00
MANIFEST initial import of old code 2023-12-05 09:56:30 -06:00
Makefile.PL update and ready for release... lots of various cleanups 2023-12-08 03:12:43 -06:00
README.md minor tweak to the readme 2023-12-08 03:16:43 -06:00

README.md

Net-LDAP-posixGroup

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

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;