Public bug reported:

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/smbldap-useradd -a -m -u 1099 test
Use of qw(...) as parentheses is deprecated at 
/usr/share/perl5/smbldap_tools.pm line 1423, <DATA> line 522.
Undefined subroutine &main::user_by_uid called at /usr/sbin/smbldap-useradd 
line 218.
----  end ----

There is a FreeBSD bug report with more detail here:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=161967

A simple one line patch already exists upstream here:
    
http://svn.gna.org/viewcvs/smbldap-tools/trunk/smbldap_tools.pl?r1=123&r2=124

The deprecated parentheses is non-fatal and fixed by the previous patch:
    
http://svn.gna.org/viewcvs/smbldap-tools/trunk/smbldap_tools.pl?r1=121&r2=123

The package in Debian unstable probably also has the same problems.

** Affects: smbldap-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/984810

Title:
  -u options fails with "Undefined subroutine &main::user_by_uid"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/smbldap-tools/+bug/984810/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to