[Samba] smbldap-tools Perl error (FreeBSD)

Per olof Ljungmark peo at intersonic.se
Wed Apr 27 21:41:47 GMT 2005


Jerome Tournier wrote:
> Le Wed, Apr 27, 2005 at 01:05:05PM +0200, Per olof Ljungmark a ecrit:
> 
>>Bareword "print_banner" not allowed while "strict subs" in use at 
>>/usr/local/sbin/smbldap-useradd line 43.
>>Execution of /usr/local/sbin/smbldap-useradd aborted due to compilation 
>>errors.
> 
> at the beginning of smbldap_tools.pm, do you have the print_banner function
> declared ? Like this :
> @EXPORT = qw(
>                          get_user_dn
>                          get_group_dn
>                          ...
>                          print_banner
>                          %config
>                         );
Yes, it's there.
smbldap-tools are installed from the FreeBSD ports system
If I remove "user_strict;" the commands will at least show the options 
but not complete tasks.

How do the scripts locate smbldap_tools.pm?


More information about the samba mailing list