search for: time2str

Displaying 1 result from an estimated 1 matches for "time2str".

2007 May 25
0
[new script] smbldap-userlist
...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 ", time2str("%D %H:%m", $entry->get_value('sambaPwdLastSet')) if ($Options{'d'}); print "\n"; } my $filter; if ($Options{'m'}) { $filter = "(&(objectclass=posixAccount)(sambaAcctFlags=[W ]))"; } elsif ($Options{'u'}) { $...