[Samba] Hash

Nathan Vidican nvidican at wmptl.com
Wed Aug 31 14:53:31 GMT 2005


On Wednesday 31 August 2005 10:39, Sérgio A P Ferreira wrote:

Your problem is not with samba, nor even ldap in this case. It appears either 
you need to re-install smbldap-passwd, or something is not right with your 
installation of Perl. By the error you are getting, one would assume either 
keyboard input is not being taken properly, or quite possibly the 
telnet/ssh/terminal emulation mode you are using is not being read properly. 
Try the following simple Perl script:

#!/usr/bin/perl -w

use strict;
print "Enter your test name here: ";
my $name = <STDIN>;
print "You entered: '$name' ";

# (END)

Copy those lines into a new file, chmod 755 the file, and run it... you should 
get an output something like this:

Enter your test name here: Test123 With Spaces Before Pressing Enter
You Entered: 'Test123 With Spaces Before Pressing Enter'


If you don't get this output, or something doesn't work at all, you might take 
a look at re-installing/compiling your Perl distribution.

--
Nathan Vidican
nvidican at wmptl.com
Windsor Match Plate & Tool Ltd.
http://www.wmptl.com/

> Hi,
>
> Anyone knows how to fix It?
>
> smbldap-passwd testuser
> Changing password for testuser
> New password : XXXX
> Retype new password :XXXX
>
> Use of uninitialized value in concatenation (.) or string at
> /usr/sbin/smbldap-passwd line 263, <STDIN> line 2.
> I cannot generate the proper hash!
>
> I tried without a "mangling type" parameter, but doesn´t cause any
> different efect.
>
> Thanks,
>
>
>
> Sergio


More information about the samba mailing list