From 5dd3d8d080b56d742de3c4b4782cfcde72c3f16f Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sat, 28 Apr 2012 02:21:57 +0200 Subject: Updating the library to the new LDAP schema. --- fripost-searchuser | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fripost-searchuser') diff --git a/fripost-searchuser b/fripost-searchuser index 30df331..549e511 100755 --- a/fripost-searchuser +++ b/fripost-searchuser @@ -17,8 +17,10 @@ B [B<--debug>] [I] B list virtual mailboxes whose username exactly matches I. -Wildcards I<*> can appear in I, to match zero or more characters. +Wildcards I<*> can appear in the login part of I, to match zero or +more characters. If no I is given, B list all existing mailboxes. +If I 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 "--------------------------------" } -- cgit v1.2.3