Sync issue with encrypted passwords

Karl Dane karl at rince.net
Mon Sep 27 12:29:25 GMT 1999


Hi guys,

    I get the following error when I run testparm against my smb.conf
file:

"ERROR: the 'passwd chat' script [*old*password* %o\n *new*password*
%n\n *new*password* %n\n *changed*] expects to use the old plaintext
password via the %o substitution. With encrypted passwords this is not
possible."

I assume that this will cause problems when it comes to NT4w users
trying to change their passwords.

How do I resolve this? Am I forced to use plaintext passwords when
syncing passwords with unix accounts? Or is the whole issue moot if I
were to use an LDAP backend?

Any help is much appreciated.

Thanks,

--
Karl Dane
Systems Administrator, Bibliotech

Steinbach's Guideline for Systems Programming:
        Never test for an error condition you don't know how to
handle.

p.s. I attach my smb.conf for the sake of clarity.

# Global parameters
        workgroup = <snip>
        netbios name = <snip>
        server string = <snip>
        interfaces = <snip>
        encrypt passwords = Yes
        log level = 1
        log file = /var/log/samba/log.%m
        max log size = 200
        time server = Yes
        socket options = TCP_NODELAY
        printcap name = /etc/printcap
        domain logons = Yes
        os level = 65
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        printing = bsd
        print command = lpr -r -P%p %s
        lpq command = lpq -P%p
        lprm command = lprm -P%p %j
        passwd program = /usr/bin/passwd
        unix password sync = True
        domain admin users = rince gwen atomix terence olly
        domain admin group = rince gwen atomix terence olly

[netlogon]
        locking = no
        public = no
        browseable = yes


-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba-ntdom mailing list