Sync passwords for NT/Linux/SMB

Edoardo Costa ecosta at wamnet.com
Fri Dec 1 12:13:50 GMT 2000


Hmmm... You can tel it's Friday :\

The box is part of the Domain.  I'll add the contence of my smb.conf file just in case you see something really stupid ;)

I removed the "%u" in "/usr/bin/passwd" for test reasons and the "passwd chat" is also in "test phase".

thx

[global]
        workgroup = EOC
        netbios name = K2
        announce version = 4.0
        server string = Test File/Print Server
        security = DOMAIN
        encrypt passwords = Yes
        password server = 172.31.1.254, 172.31.1.253
        unix password sync = yes
        passwd program = /usr/bin/passwd
        smb passwd file = /etc/smbpasswd
        passwd chat = "*current*UNIX*password*" %o\n "*New*UNIX*password*" %n\n "*Retype*new*UNIX*password*" %n\n "*passwd*all*authentication*tokens*updated*successfully*"
        passwd chat debug = True
        password level = 3
        username level = 3
        local master = No
        wins server = 172.31.1.254
        allow trusted domains = no
        debug level = 2
        printing = bsd
        printcap name = /etc/printcap
        load printers = yes
        printer driver file = /home/samba/print/printers.def
[homes]
        comment = %U's home directory
        browsable = no
        writable = yes
        valid users = %S
        guest ok = no
        create mask = 0600
        directory mask = 0700
[test]
        comment = For testing only, please
        path = /home/samba/test
        read only = No
        guest ok = Yes
        force create mode = 0775
        force directory mode = 0775
        force group = users
[printer$]
        comment = Printer drivers
        path = /home/samba/print
        read only = yes
        browsable = no
        guest ok = yes
[PRN3046]
        comment = TS HP8000 (172.31.1.7)
        path = /var/spool/lpd/3046
        print ok = Yes
        printable = yes
        printer name = PRN3046
#       valid users = eco
        print ok = yes
        guest ok = yes
        printer driver = HP LaserJet 8000 Series PS
        printer driver location = \\%L\printer$

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
It was quiet... too quiet.
Then it was loud... too loud.
Quiet again... too quiet.
And once more, loud... way too loud.
"Damn snooze button," I mumbled to
myself as I got out of bed and
checked the time:  
late... too late.
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba-ntdom mailing list