[Samba] smbldap-tools, setting password on command line?

Jérôme Tournier jerome.tournier at idealx.com
Mon Jul 12 08:22:48 GMT 2004


Le Sun, Jul 11, 2004 at 10:33:58PM +0200, malte.mueller at ewetel.net a ecrit:
> script around these tools. I tried 
> smbldap-passwd.pl testuser1 < pass 
> where pass contains on two lines the passwort, but thats a solution I'm not
> proud of, especially since I get this warning/error:
> fileserver:~ # /opt/samba3/sbin/smbldap-passwd.pl testuser2 < testpasses

You can use (with 0.8.5 or you'll have error messages with older version,
altought it should work)
echo -e 'password\npassword' | smbldap-passwd testuser2
-- 
Jérôme


More information about the samba mailing list