Create Password

Mathew McKernan mathewmckernan at
Thu Apr 24 10:05:10 GMT 2003

Hi Tilo,

You may come across some issues with licencing etc.

You are better off using a perl module, (forgotten its name) that makes NTLM
passwords then using popen and reading the password from a perl script.

I am currently doing this in production for storing passwords in an SQL
database, managing them using PHP and Samba authenticates using the
pdb_mysql module.



----- Original Message -----
From: "Tilo Lutz" <TiloLutz at>
To: <samba-technical at>
Sent: Thursday, April 24, 2003 7:16 PM
Subject: Create Password

> Hi
> I'm developing a php-frontend for managing samba- and linux-accounts in
> ldap.
> Does anybody know where I can get a function in php which creates the
> encrypted samba-passwords?
> In samba-source I'Ve found the programm mkntpwd. Unfortunatly my C is very
> bad
> so I'm not able to port the code to php.
> Is there a step-by-step manual to create the encrypted passwords?
> Maybe I can develop the code on my own.
> Thanks for your help,
> Tilo Luz
> --
> +++ GMX - Mail, Messaging & more +++
> Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!

More information about the samba-technical mailing list