Zane C. Bowers-Hadley

NAME

Net::LDAP::posixGroup - Creates new Net::LDAP::Entry objects for a posixGroup entry.

VERSION

Version 0.0.2

SYNOPSIS

    use Net::LDAP::posixGroup;

    my $foo = Net::LDAP::posixGroup->new({baseDN=>'ou=group,dc=foo'});
    
    #creates a new entry with the minimum requirements
    my $entry = $foo->create({name=>'vvelox', gid=>'404'}, ['user1', 'user2']);

FUNCTIONS

new

create

Creates a new Net::LDAP::Entry object. The first value is a hash. See the below for avialble values. The second is a array with the group members.

name

The group name. This is required.

gid

The numeric GID of a group. This is required.

description

A optional LDAP desciption. This is optional.

primary

The accepted values are 'cn' and 'gidNumber'.

errorBlank

A internal function user for clearing an error.

Error Codes

0

Missing baseDN.

1

No group name specified.

2

No GID specified.

3

The primary is a invalid value.

AUTHOR

Zane C. Bowers, <vvelox at vvelox.net>

BUGS

Please report any bugs or feature requests to bug-net-ldap-posixgroup at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-LDAP-posixGroup. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Net::LDAP::posixGroup

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2008 Zane C. Bowers, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.