|Main Archive Page > Month Archives > samba-users archives|
On 27 July 2010 10:29, Danilo Godec <email@example.com> wrote:
> While my situation is a bit different (no AD server, Samba is PDC for
> the domain, using OpenLDAP for users, groups, ...), I tried running your
> Perl script in 'Wizard' mode, but it fails (using perl 5.8.3):
> # ./UID2SID.pl
> syntax error at ./UID2SID.pl line 204, near "= ;"
> syntax error at ./UID2SID.pl line 239, near "= ;"
> syntax error at ./UID2SID.pl line 380, near "= ;"
> syntax error at ./UID2SID.pl line 404, near "= ) "
> syntax error at ./UID2SID.pl line 410, near "}"
> Execution of ./UID2SID.pl aborted due to compilation errors.
It seems something was lost in translation :)
These errors appear to be because all instances of "<RES>" have been
stripped from the script you tried to run. Perhaps your browser got
rid of them somehow.
Anyway, the first one should be:
my( @lines ) = <RES>;
where you seem to have:
my( @lines ) = ;
The other ones I checked are similar.
Hope that helps.
-- Michael Wood <firstname.lastname@example.org> -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba