-u options fails with "Undefined subroutine &main::user_by_uid"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
smbldap-tools (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Adding a user with the -u options for a specified UID fails because the user_by_uid function is not exported by the smbldap_tools.pm (or smbldap_tools.pl in original source code) library:
Example:
---- start ----
$ sudo /usr/sbin/
Use of qw(...) as parentheses is deprecated at /usr/share/
Undefined subroutine &main::user_by_uid called at /usr/sbin/
---- end ----
There is a FreeBSD bug report with more detail here:
http://
A simple one line patch already exists upstream here:
http://
The deprecated parentheses is non-fatal and fixed by the previous patch:
http://
The package in Debian unstable probably also has the same problems.
Marking as confirmed since it has also been reported on #ubuntu
<nicolegnu> I have ubuntu server 4.12 and the following error Use of qw (...) as parentheses is deprecated at / usr/share/ perl5/smbldap_ tools.pm line 1423, line 522 <DATA>
(Spanish native; actually means Ubuntu Server 12.04)