Displaying 1 result from an estimated 1 matches for "print_us".
Did you mean:
print_ns
2007 May 25
0
[new script] smbldap-userlist
...ap_master=connect_ldap_master();
$dn=$config{masterDN};
if (!is_user_valid($user, $dn, $pass)) {
print "Authentication failure\n";
exit (10);
}
}
} else {
# root user
$ldap_master=connect_ldap_master();
# test existence of user in LDAP
my $dn_line;
}
sub print_user {
my ($entry, %Options) = @_;
printf "%4s ", $entry->get_value('uidNumber') ;
printf "%-20s ", $entry->get_value('uid');
printf "%-10s ", $entry->get_value('gecos') if ($Options{'g'});
printf "%-12s &...