diff options
author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-04-28 02:21:57 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-04-28 02:22:06 +0200 |
commit | 5dd3d8d080b56d742de3c4b4782cfcde72c3f16f (patch) | |
tree | f00d73e31e2ea5a004155fa9b5000d407f690587 /fripost-searchuser | |
parent | e65b146c79825f9b7f5660ebce284b4b66c13966 (diff) |
Updating the library to the new LDAP schema.
Diffstat (limited to 'fripost-searchuser')
-rwxr-xr-x | fripost-searchuser | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fripost-searchuser b/fripost-searchuser index 30df331..549e511 100755 --- a/fripost-searchuser +++ b/fripost-searchuser @@ -17,8 +17,10 @@ B<fripost-searchuser> [B<--debug>] [I<username>] B<fripost-searchuser> list virtual mailboxes whose username exactly matches I<username>. -Wildcards I<*> can appear in I<username>, to match zero or more characters. +Wildcards I<*> can appear in the login part of I<username>, to match zero or +more characters. If no I<username> is given, B<fripost-searchuser> list all existing mailboxes. +If I<username> has no domain part, lists matching users for any domains. =head1 OPTIONS @@ -116,7 +118,6 @@ $user{username} = $ARGV[0] if defined $ARGV[0]; foreach my $user ($ldap->user->search( \%user )->entries) { say "User: " . $user->{username}; - say "Maildir: " . $user->{maildir}; say "IsActive: " . $user->{isActive}; say "--------------------------------" } |