Date: Mon, 24 Oct 2011 15:45:28 +0300 From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/161967: ports/net/smbldap-tools 0.9.7 user_by_uid() is not exported Message-ID: <20111024124527.GA1623@pm513-1.comsys.ntu-kpi.kiev.ua> Resent-Message-ID: <201110241400.p9OE0A6p090125@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 161967 >Category: ports >Synopsis: ports/net/smbldap-tools 0.9.7 user_by_uid() is not exported >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 24 14:00:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Andrey Simonenko >Release: FreeBSD 9.0-RC1 amd64 >Organization: >Environment: >Description: Subroutine user_by_uid() is not exported in smbldap_tools.pl and as a result smbldap-useradd.pl failed when called this function. >How-To-Repeat: Run smbldap-useradd with the specified UID number: smbldap-useradd failed: "M1 from main: daemon PID is 1155 M1 from main: user cache_transformation succeeded Undefined subroutine &main::user_by_uid called at /usr/local/sbin/smbldap-useradd line 218." >Fix: Apply this change to smbldap-tools sources or as a patch for the smbldap-tools port: --- smbldap_tools.pl.orig 2011-09-06 12:24:37.000000000 +0300 +++ smbldap_tools.pl 2011-10-24 15:33:04.000000000 +0300 @@ -106,6 +106,7 @@ list_union list_minus account_by_sid + user_by_uid user_next_uid user_next_rid group_next_uid >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111024124527.GA1623>