[olug] Samba config question
Brian Roberson
brian at bstc.net
Fri Nov 10 20:31:45 UTC 2000
With redhat, or any other PAM based authentication *nix machie, there is
usually a crack-lib that the password is checked against, and will fail if
it is a "weak" password. The way I've always got around this was use a
homegrown password changing scipt using "chpasswd" on Linux, checkout `man
chpasswd` Some thing like this:
SMB.CONF:
passwd program = /usr/local/bin/smb-passwordchanger $u $n
passwd chat = *ok*
xxxxx
/usr/local/bin/smb-passwordchanger
#########################
#!/bin/sh
/usr/sbin/chpasswd $1:$2
rc="$?"
if [ $rc = "0" ] ; then
echo "ok"
exit $rc
fi
exit $rc
#########################
----- Original Message -----
From: "Williams, John W." <John.WWilliams at GD-WTS.com>
To: <olug at bstc.net>
Sent: Friday, November 10, 2000 8:23 AM
Subject: [olug] Samba config question
> In the process of bringing a linux server onto our NT domain I have run
into
> a small snag with my samba config. Has anyone ever gotten the "unix
> password sync" option to work properly? If so, did you have any problems
> with resolutions that may be of help to me. I appreciate any help.
Thanks
>
> John Williams
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: olug-unsubscribe at bstc.net
> For additional commands, e-mail: olug-help at bstc.net
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net
More information about the OLUG
mailing list