scripts called by program not working under tng, but they work under 207

dobos_s at dobos_s at
Mon Nov 20 17:47:18 GMT 2000


There are bash scripts dealing with dns update and passwd change. They work
under samba 207, but dont work under tng cvs.
There is for example a line:

echo [$(date)] >> logfile

Under 207 it writes the current time, but under tng there are only the
brakets, and nothing more.



    workgroup = mydomain
    netbios name = pdc
    netbios aliases = sv-itgroup sv-webteam sv-office sv-salesteam
    server string = Samba NT emulation %v

    passwd program = /usr/local/samba-tng/bin/pwchanger %u
    passwd chat = password: %n\n *OK*
    unix password sync = yes
    encrypt passwords = yes
    update encrypted = yes
    smb passwd file = /usr/local/samba-tng/private/smbpasswd
    min password length = 1

    message command = /usr/bin/logger -is -p kern.err Message from %f on
%m; /usr/bin/logger -is -p kern.err -f %s; rm %s &
    load printers = no
    max log size = 5000
    log level = 10
    debug timestamp = no
    debug pid = yes
    debug uid = yes
    name resolve order = wins lmhosts host bcast
    preserve case = yes
    short preserve case = yes
    guest account = nobody
    unix realname = yes
    map hidden = no
    map system = no
    map archive = no

    os level = 65
    local master = yes
    domain master = yes
    preferred master = yes
    time server = yes
    wins support = yes
    wins hook = /usr/local/samba-tng/bin/dns_update
    security = user

    domain logons = yes
    logon script = scripts/%U.bat
    logon path = \\pdc\profiles\%U
    logon drive = X:
    logon home = \\pdc\%U
    browseable = no

    domain group map = /usr/local/samba-tng/private/
    domain user map = /usr/local/samba-tng/private/
    local group map = /usr/local/samba-tng/private/

    include = /usr/local/samba-tng/lib/smb.conf.%L

More information about the samba mailing list