https://github.com/vvelox/net-ldap-posixaccount
Creates new Net::LDAP::Entry objects for a posixAccount entry
https://github.com/vvelox/net-ldap-posixaccount
Last synced: 19 days ago
JSON representation
Creates new Net::LDAP::Entry objects for a posixAccount entry
- Host: GitHub
- URL: https://github.com/vvelox/net-ldap-posixaccount
- Owner: VVelox
- Created: 2023-12-04T08:09:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-05T15:17:05.000Z (over 1 year ago)
- Last Synced: 2025-02-17T01:42:32.469Z (4 months ago)
- Language: Perl
- Size: 9.77 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-posixAccount
Creates new Net::LDAP::Entry objects for a posixAccount entry
```
# Initiates the module with a base DN of 'ou=users,dc=foo'.
my $foo = Net::LDAP::posixAccount->new(baseDN=>'ou=user,dc=foo');# create the user vvelox with a gid of 404 and a uid of 404
# see the POD for Net::LDAP::Entry for additional args supported
my $entry = $foo->create(name=>'vvelox', gid=>'404', uid=>'404');# add it using $ldap, a previously created Net::LDAP object
$entry->update($ldap);
```