Samba Error: ads_set_machine_password: Message stream modified - Networking

This is a discussion on Samba Error: ads_set_machine_password: Message stream modified - Networking ; Hi, I am having a problem with SAMBA 3.0.10-1.4E. I have googled and tried to debug with source code but still cannot find the reason. I have set up more than 10 systems but only 2 of them have this ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Samba Error: ads_set_machine_password: Message stream modified

  1. Samba Error: ads_set_machine_password: Message stream modified

    Hi,

    I am having a problem with SAMBA 3.0.10-1.4E. I have googled and tried
    to debug with source code but still cannot find the reason. I have set
    up more than 10 systems but only 2 of them have this problem. On
    problem servers when I tried to join the server into ADS, it comes out
    with the following error messages:

    [root@node12242 ~]# net ads join -U administrator
    administrator's password:
    [2008/01/14 11:53:10, 0] libads/ldap.c:ads_add_machine_acct(1368)
    ads_add_machine_acct: Host account for node12242 already exists -
    modifying old account
    ads_set_machine_password: Message stream modified

    Believe me, I did have tried modifiying /etc/krb5.conf, /etc/
    nsswitch.conf, /etc/samba/smb.conf but couldn't help. The problem
    server could not build a correct /etc/samba/secrets.tdb file. If I do
    a "tdbdump secrets.tdb", it is empty.

    Thank you very much if you can give me some advice on this issue.

    Best Regards,
    Nelson


    Here is my config files:

    /etc/nsswitch.conf
    #
    # /etc/nsswitch.conf
    #
    # An example Name Service Switch config file. This file should be
    # sorted with the most-used services at the beginning.
    #
    # The entry '[NOTFOUND=return]' means that the search for an
    # entry should stop if the search in the previous entry turned
    # up nothing. Note that if the search failed due to some other reason
    # (like no NIS server responding) then the search continues with the
    # next entry.
    #
    # Legal entries are:
    #
    # nisplus or nis+ Use NIS+ (NIS version 3)
    # nis or yp Use NIS (NIS version 2), also called
    YP
    # dns Use DNS (Domain Name Service)
    # files Use the local files
    # db Use the local database (.db) files
    # compat Use NIS on compat mode
    # hesiod Use Hesiod for user lookups
    # [NOTFOUND=return] Stop searching if not found so far
    #

    # To use db, put the "db" in front of "files" for entries you want to
    be
    # looked up first in the databases
    #
    # Example:
    #passwd: db files nisplus nis
    #shadow: db files nisplus nis
    #group: db files nisplus nis

    passwd: files
    shadow: files
    group: files

    #hosts: db files nisplus nis dns
    hosts: files dns

    # Example - obey only what nisplus tells us...
    #services: nisplus [NOTFOUND=return] files
    #networks: nisplus [NOTFOUND=return] files
    #protocols: nisplus [NOTFOUND=return] files
    #rpc: nisplus [NOTFOUND=return] files
    #ethers: nisplus [NOTFOUND=return] files
    #netmasks: nisplus [NOTFOUND=return] files

    bootparams: nisplus [NOTFOUND=return] files

    ethers: files
    netmasks: files
    networks: files
    protocols: files
    rpc: files
    services: files

    netgroup: files

    publickey: nisplus

    automount: files
    aliases: files nisplus

    /etc/krb5.conf
    [realms]
    TESTSMB.COM = {
    kdc = smbd.testsmb.com
    }

    /etc/samba/smb.conf
    [global]
    # Galactic Computing Corp.
    # smb configure file template
    # 2007.10.24 17:46
    workgroup = TESTSMB
    server string = -- %h Samba %v --
    realm = TESTSMB.COM
    security = ADS
    encrypt passwords = Yes
    password server = 192.168.1.163
    allow trusted domains = No
    dns proxy = Yes
    wins server = 192.168.1.163
    name resolve order = wins host bcast
    # smb passwd file = /var/samba/private/smbpasswd
    # private dir = /var/samba/private
    # username map = /var/samba/private/user.map
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    winbind separator = ~
    dos charset = UTF-8
    display charset = UTF-8
    load printers = No
    show add printer wizard = No
    homedir map =
    idmap uid = 100000-199999
    idmap gid = 200000-299999
    template homedir =
    template shell = /sbin/bash
    ##windows 2003 need (yes,no)
    client use spnego = no
    server signing = auto

    [share1]
    comment = share1 for win client
    path = "/nas"
    read only = No
    browseable = Yes
    guest ok = No
    guest only = No
    create mask = 0
    directory mask = 0
    directory security mask = 0777
    force create mode = 744
    force directory mode = 755
    force directory security mode = 00
    force security mode = 00
    security mask =0777
    hosts allow =
    hosts deny =
    valid users = frank,TESTSMB~test
    invalid users =
    admin users =
    read list =
    write list = frank,TESTSMB~test

    [root@node12242 ~]# net ads info -d 10
    [2008/01/14 11:52:58, 5] lib/debug.c:debug_dump_status(366)
    INFO: Current debug levels:
    all: True/10
    tdb: False/0
    printdrivers: False/0
    lanman: False/0
    smb: False/0
    rpc_parse: False/0
    rpc_srv: False/0
    rpc_cli: False/0
    passdb: False/0
    sam: False/0
    auth: False/0
    winbind: False/0
    vfs: False/0
    idmap: False/0
    quota: False/0
    acls: False/0
    [2008/01/14 11:52:58, 3] param/loadparm.c:lp_load(3911)
    lp_load: refreshing parameters
    [2008/01/14 11:52:58, 3] param/loadparm.c:init_globals(1312)
    Initialising global parameters
    [2008/01/14 11:52:58, 3] param/params.cm_process(566)
    params.cm_process() - Processing configuration file "/etc/samba/
    smb.conf"
    [2008/01/14 11:52:58, 3] param/loadparm.c:do_section(3404)
    Processing section "[global]"
    doing parameter workgroup = TESTSMB
    doing parameter server string = -- %h Samba %v --
    doing parameter realm = TESTSMB.COM
    doing parameter security = ADS
    doing parameter encrypt passwords = Yes
    doing parameter password server = 192.168.1.163
    doing parameter allow trusted domains = No
    doing parameter dns proxy = Yes
    doing parameter name resolve order = wins host bcast
    doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192
    SO_SNDBUF=8192
    doing parameter winbind separator = ~
    doing parameter dos charset = UTF-8
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset UCS-2LE
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset UCS-2LE
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset UTF-16LE
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset UTF-16LE
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset UCS-2BE
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset UCS-2BE
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset UTF-16BE
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset UTF-16BE
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset UTF8
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset UTF8
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset UTF-8
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset UTF-8
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset ASCII
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset ASCII
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset 646
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset 646
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset ISO-8859-1
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset ISO-8859-1
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset UCS2-HEX
    [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset UCS2-HEX
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    doing parameter display charset = UTF-8
    doing parameter load printers = No
    doing parameter show add printer wizard = No
    doing parameter homedir map =
    doing parameter idmap uid = 100000-199999
    doing parameter idmap gid = 200000-299999
    doing parameter template homedir =
    doing parameter template shell = /sbin/bash
    doing parameter client use spnego = no
    doing parameter server signing = auto
    [2008/01/14 11:52:58, 4] param/loadparm.c:lp_load(3942)
    pm_process() returned Yes
    [2008/01/14 11:52:58, 7] param/loadparm.c:lp_servicenumber(4052)
    lp_servicenumber: couldn't find homes
    [2008/01/14 11:52:58, 10] param/loadparm.c:set_server_role(3851)
    set_server_role: role = ROLE_DOMAIN_MEMBER
    [2008/01/14 11:52:58, 5] lib/util.c:init_names(278)
    Netbios name list:-
    my_netbios_names[0]="node12242"
    [2008/01/14 11:52:58, 2] lib/interface.c:add_interface(79)
    added interface ip=192.168.1.223 bcast=192.168.1.255
    nmask=255.255.255.0
    [2008/01/14 11:52:58, 6] libads/ldap.c:ads_find_dc(176)
    ads_find_dc: looking for domain 'TESTSMB'
    [2008/01/14 11:52:58, 8] libsmb/namequery.c:get_sorted_dc_list(1433)
    get_sorted_dc_list: attempting lookup using [wins host bcast]
    [2008/01/14 11:52:58, 10] libsmb/
    namequery.c:remove_duplicate_addrs2(320)
    remove_duplicate_addrs2: looking for duplicate address/port pairs
    [2008/01/14 11:52:58, 4] libsmb/namequery.c:get_dc_list(1406)
    get_dc_list: returning 1 ip addresses in an ordered list
    [2008/01/14 11:52:58, 4] libsmb/namequery.c:get_dc_list(1407)
    get_dc_list: 192.168.1.163:389
    [2008/01/14 11:52:58, 5] libads/ldap.c:ads_try_connect(85)
    ads_try_connect: trying ldap server '192.168.1.163' port 389
    [2008/01/14 11:52:58, 3] libads/ldap.c:ads_connect(247)
    Connected to LDAP server 192.168.1.163
    [2008/01/14 11:52:58, 3] libads/ldap.c:ads_server_info(2432)
    got ldap server name smbd@TESTSMB.COM, using bind path:
    dc=TESTSMB,dc=COM
    [2008/01/14 11:52:58, 4] libads/ldap.c:ads_server_info(2438)
    time offset is 72 seconds
    [2008/01/14 11:52:58, 10] intl/lang_tdb.c:lang_tdb_init(135)
    lang_tdb_init: /usr/lib64/samba/en_US.UTF-8.msg: No such file or
    directory
    LDAP server: 192.168.1.163
    LDAP server name: smbd
    Realm: TESTSMB.COM
    Bind Path: dc=TESTSMB,dc=COM
    LDAP port: 389
    Server time: Mon, 14 Jan 2008 11:54:10 GMT
    KDC server: 192.168.1.163
    Server time offset: 72
    [2008/01/14 11:52:58, 2] utils/net.c:main(859)
    return code = 0

    [root@node12242 ~]# net ads join -U administrator -d 10
    [2008/01/14 11:53:14, 5] lib/debug.c:debug_dump_status(366)
    INFO: Current debug levels:
    all: True/10
    tdb: False/0
    printdrivers: False/0
    lanman: False/0
    smb: False/0
    rpc_parse: False/0
    rpc_srv: False/0
    rpc_cli: False/0
    passdb: False/0
    sam: False/0
    auth: False/0
    winbind: False/0
    vfs: False/0
    idmap: False/0
    quota: False/0
    acls: False/0
    [2008/01/14 11:53:14, 3] param/loadparm.c:lp_load(3911)
    lp_load: refreshing parameters
    [2008/01/14 11:53:14, 3] param/loadparm.c:init_globals(1312)
    Initialising global parameters
    [2008/01/14 11:53:14, 3] param/params.cm_process(566)
    params.cm_process() - Processing configuration file "/etc/samba/
    smb.conf"
    [2008/01/14 11:53:14, 3] param/loadparm.c:do_section(3404)
    Processing section "[global]"
    doing parameter workgroup = TESTSMB
    doing parameter server string = -- %h Samba %v --
    doing parameter realm = TESTSMB.COM
    doing parameter security = ADS
    doing parameter encrypt passwords = Yes
    doing parameter password server = 192.168.1.163
    doing parameter allow trusted domains = No
    doing parameter dns proxy = Yes
    doing parameter name resolve order = wins host bcast
    doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192
    SO_SNDBUF=8192
    doing parameter winbind separator = ~
    doing parameter dos charset = UTF-8
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset UCS-2LE
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset UCS-2LE
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset UTF-16LE
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset UTF-16LE
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset UCS-2BE
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset UCS-2BE
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset UTF-16BE
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset UTF-16BE
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset UTF8
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset UTF8
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset UTF-8
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset UTF-8
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset ASCII
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset ASCII
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset 646
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset 646
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset ISO-8859-1
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset ISO-8859-1
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    Attempting to register new charset UCS2-HEX
    [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    Registered charset UCS2-HEX
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    Substituting charset 'UTF-8' for LOCALE
    doing parameter display charset = UTF-8
    doing parameter load printers = No
    doing parameter show add printer wizard = No
    doing parameter homedir map =
    doing parameter idmap uid = 100000-199999
    doing parameter idmap gid = 200000-299999
    doing parameter template homedir =
    doing parameter template shell = /sbin/bash
    doing parameter client use spnego = no
    doing parameter server signing = auto
    [2008/01/14 11:53:14, 4] param/loadparm.c:lp_load(3942)
    pm_process() returned Yes
    [2008/01/14 11:53:14, 7] param/loadparm.c:lp_servicenumber(4052)
    lp_servicenumber: couldn't find homes
    [2008/01/14 11:53:14, 10] param/loadparm.c:set_server_role(3851)
    set_server_role: role = ROLE_DOMAIN_MEMBER
    [2008/01/14 11:53:14, 5] lib/util.c:init_names(278)
    Netbios name list:-
    my_netbios_names[0]="node12242"
    [2008/01/14 11:53:14, 2] lib/interface.c:add_interface(79)
    added interface ip=192.168.1.223 bcast=192.168.1.255
    nmask=255.255.255.0
    administrator's password:
    [2008/01/14 11:53:16, 6] libads/ldap.c:ads_find_dc(176)
    ads_find_dc: looking for realm 'TESTSMB.COM'
    [2008/01/14 11:53:16, 8] libsmb/namequery.c:get_sorted_dc_list(1433)
    get_sorted_dc_list: attempting lookup using [ads]
    [2008/01/14 11:53:16, 10] libsmb/
    namequery.c:remove_duplicate_addrs2(320)
    remove_duplicate_addrs2: looking for duplicate address/port pairs
    [2008/01/14 11:53:16, 4] libsmb/namequery.c:get_dc_list(1406)
    get_dc_list: returning 1 ip addresses in an ordered list
    [2008/01/14 11:53:16, 4] libsmb/namequery.c:get_dc_list(1407)
    get_dc_list: 192.168.1.163:389
    [2008/01/14 11:53:16, 5] libads/ldap.c:ads_try_connect(85)
    ads_try_connect: trying ldap server '192.168.1.163' port 389
    [2008/01/14 11:53:16, 3] libads/ldap.c:ads_connect(247)
    Connected to LDAP server 192.168.1.163
    [2008/01/14 11:53:16, 3] libads/ldap.c:ads_server_info(2432)
    got ldap server name smbd@TESTSMB.COM, using bind path:
    dc=TESTSMB,dc=COM
    [2008/01/14 11:53:16, 4] libads/ldap.c:ads_server_info(2438)
    time offset is 73 seconds
    [2008/01/14 11:53:16, 4] libads/sasl.c:ads_sasl_bind(447)
    Found SASL mechanism GSS-SPNEGO
    [2008/01/14 11:53:16, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
    ads_sasl_spnego_bind: got OID=1 2 840 48018 1 2 2
    [2008/01/14 11:53:16, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
    ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2
    [2008/01/14 11:53:16, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
    ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 3
    [2008/01/14 11:53:16, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
    ads_sasl_spnego_bind: got OID=1 3 6 1 4 1 311 2 2 10
    [2008/01/14 11:53:16, 3] libads/sasl.c:ads_sasl_spnego_bind(211)
    ads_sasl_spnego_bind: got server principal name =smbd$@TESTSMB.COM
    [2008/01/14 11:53:16, 3] libsmb/clikrb5.c:ads_krb5_mk_req(382)
    ads_krb5_mk_req: krb5_cc_get_principal failed (No credentials cache
    found)
    [2008/01/14 11:53:16, 4] libsmb/clikrb5.c:ads_krb5_mk_req(398)
    ads_krb5_mk_req: Advancing clock by 50 seconds to cope with clock
    skew
    [2008/01/14 11:53:16, 3] libsmb/
    clikrb5.c:ads_cleanup_expired_creds(319)
    Ticket in ccache[MEMORY:net_ads] expiration Mon, 14 Jan 2008
    21:53:43 GMT
    [2008/01/14 11:53:16, 10] libsmb/clikrb5.c:ads_krb5_mk_req(409)
    ads_krb5_mk_req: Ticket (smbd$@TESTSMB.COM) in ccache
    (MEMORY:net_ads) is valid until: (Mon, 14 Jan 2008 21:53:43 GMT -
    1200318846)
    [2008/01/14 11:53:16, 10] libsmb/
    clikrb5.c:get_krb5_smb_session_key(510)
    Got KRB5 session key of length 16
    [2008/01/14 11:53:16, 10] lib/util.c:name_to_fqdn(2626)
    name_to_fqdn: lookup for node12242 -> node12242.
    [2008/01/14 11:53:16, 0] libads/ldap.c:ads_add_machine_acct(1368)
    ads_add_machine_acct: Host account for node12242 already exists -
    modifying old account
    [2008/01/14 11:53:16, 5] libads/ldap_utils.c:ads_do_search_retry(56)
    Search for (objectclass=*) gave 1 replies
    [2008/01/14 11:53:16, 1] libads/krb5_setpw.carse_setpw_reply(277)
    failed to rd setpw reply (Mutual authentication failed)
    [2008/01/14 11:53:16, 1] libads/
    krb5_setpw.c:do_krb5_kpasswd_request(450)
    parse_setpw_reply failed (Message stream modified)
    [2008/01/14 11:53:16, 10] intl/lang_tdb.c:lang_tdb_init(135)
    lang_tdb_init: /usr/lib64/samba/en_US.UTF-8.msg: No such file or
    directory
    ads_set_machine_password: Message stream modified
    [2008/01/14 11:53:16, 2] utils/net.c:main(859)
    return code = -1

  2. Re: Samba Error: ads_set_machine_password: Message stream modified

    I spent lots of time and finally find out the reason.

    The /etc/localtime was pointing to wrong to wrong file. After I change
    it, everything is fine.

    Nelson

    On 1月24日, 下午11时49分, ng...@yahoo.com wrote:
    > Hi,
    >
    > I am having a problem with SAMBA 3.0.10-1.4E. I have googled and tried
    > to debug with source code but still cannot find the reason. I have set
    > up more than 10 systems but only 2 of them have this problem. On
    > problem servers when I tried to join the server into ADS, it comes out
    > with the following error messages:
    >
    > [root@node12242 ~]# net ads join -U administrator
    > administrator's password:
    > [2008/01/14 11:53:10, 0] libads/ldap.c:ads_add_machine_acct(1368)
    > ads_add_machine_acct: Host account for node12242 already exists -
    > modifying old accountads_set_machine_password:Messagestreammodif ied
    >
    > Believe me, I did have tried modifiying /etc/krb5.conf, /etc/
    > nsswitch.conf, /etc/samba/smb.conf but couldn't help. The problem
    > server could not build a correct /etc/samba/secrets.tdb file. If I do
    > a "tdbdump secrets.tdb", it is empty.
    >
    > Thank you very much if you can give me some advice on this issue.
    >
    > Best Regards,
    > Nelson
    >
    > Here is my config files:
    >
    > /etc/nsswitch.conf
    > #
    > # /etc/nsswitch.conf
    > #
    > # An example Name Service Switch config file. This file should be
    > # sorted with the most-used services at the beginning.
    > #
    > # The entry '[NOTFOUND=return]' means that the search for an
    > # entry should stop if the search in the previous entry turned
    > # up nothing. Note that if the search failed due to some other reason
    > # (like no NIS server responding) then the search continues with the
    > # next entry.
    > #
    > # Legal entries are:
    > #
    > # nisplus or nis+ Use NIS+ (NIS version 3)
    > # nis or yp Use NIS (NIS version 2), also called
    > YP
    > # dns Use DNS (Domain Name Service)
    > # files Use the local files
    > # db Use the local database (.db) files
    > # compat Use NIS on compat mode
    > # hesiod Use Hesiod for user lookups
    > # [NOTFOUND=return] Stop searching if not found so far
    > #
    >
    > # To use db, put the "db" in front of "files" for entries you want to
    > be
    > # looked up first in the databases
    > #
    > # Example:
    > #passwd: db files nisplus nis
    > #shadow: db files nisplus nis
    > #group: db files nisplus nis
    >
    > passwd: files
    > shadow: files
    > group: files
    >
    > #hosts: db files nisplus nis dns
    > hosts: files dns
    >
    > # Example - obey only what nisplus tells us...
    > #services: nisplus [NOTFOUND=return] files
    > #networks: nisplus [NOTFOUND=return] files
    > #protocols: nisplus [NOTFOUND=return] files
    > #rpc: nisplus [NOTFOUND=return] files
    > #ethers: nisplus [NOTFOUND=return] files
    > #netmasks: nisplus [NOTFOUND=return] files
    >
    > bootparams: nisplus [NOTFOUND=return] files
    >
    > ethers: files
    > netmasks: files
    > networks: files
    > protocols: files
    > rpc: files
    > services: files
    >
    > netgroup: files
    >
    > publickey: nisplus
    >
    > automount: files
    > aliases: files nisplus
    >
    > /etc/krb5.conf
    > [realms]
    > TESTSMB.COM = {
    > kdc = smbd.testsmb.com
    >
    > }
    >
    > /etc/samba/smb.conf
    > [global]
    > # Galactic Computing Corp.
    > # smb configure file template
    > # 2007.10.24 17:46
    > workgroup = TESTSMB
    > server string = -- %h Samba %v --
    > realm = TESTSMB.COM
    > security = ADS
    > encrypt passwords = Yes
    > password server = 192.168.1.163
    > allow trusted domains = No
    > dns proxy = Yes
    > wins server = 192.168.1.163
    > name resolve order = wins host bcast
    > # smb passwd file = /var/samba/private/smbpasswd
    > # private dir = /var/samba/private
    > # username map = /var/samba/private/user.map
    > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    > winbind separator = ~
    > dos charset = UTF-8
    > display charset = UTF-8
    > load printers = No
    > show add printer wizard = No
    > homedir map =
    > idmap uid = 100000-199999
    > idmap gid = 200000-299999
    > template homedir =
    > template shell = /sbin/bash
    > ##windows 2003 need (yes,no)
    > client use spnego = no
    > server signing = auto
    >
    > [share1]
    > comment = share1 for win client
    > path = "/nas"
    > read only = No
    > browseable = Yes
    > guest ok = No
    > guest only = No
    > create mask = 0
    > directory mask = 0
    > directory security mask = 0777
    > force create mode = 744
    > force directory mode = 755
    > force directory security mode = 00
    > force security mode = 00
    > security mask =0777
    > hosts allow =
    > hosts deny =
    > valid users = frank,TESTSMB~test
    > invalid users =
    > admin users =
    > read list =
    > write list = frank,TESTSMB~test
    >
    > [root@node12242 ~]# net ads info -d 10
    > [2008/01/14 11:52:58, 5] lib/debug.c:debug_dump_status(366)
    > INFO: Current debug levels:
    > all: True/10
    > tdb: False/0
    > printdrivers: False/0
    > lanman: False/0
    > smb: False/0
    > rpc_parse: False/0
    > rpc_srv: False/0
    > rpc_cli: False/0
    > passdb: False/0
    > sam: False/0
    > auth: False/0
    > winbind: False/0
    > vfs: False/0
    > idmap: False/0
    > quota: False/0
    > acls: False/0
    > [2008/01/14 11:52:58, 3] param/loadparm.c:lp_load(3911)
    > lp_load: refreshing parameters
    > [2008/01/14 11:52:58, 3] param/loadparm.c:init_globals(1312)
    > Initialising global parameters
    > [2008/01/14 11:52:58, 3] param/params.cm_process(566)
    > params.cm_process() - Processing configuration file "/etc/samba/
    > smb.conf"
    > [2008/01/14 11:52:58, 3] param/loadparm.c:do_section(3404)
    > Processing section "[global]"
    > doing parameter workgroup = TESTSMB
    > doing parameter server string = -- %h Samba %v --
    > doing parameter realm = TESTSMB.COM
    > doing parameter security = ADS
    > doing parameter encrypt passwords = Yes
    > doing parameter password server = 192.168.1.163
    > doing parameter allow trusted domains = No
    > doing parameter dns proxy = Yes
    > doing parameter name resolve order = wins host bcast
    > doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192
    > SO_SNDBUF=8192
    > doing parameter winbind separator = ~
    > doing parameter dos charset = UTF-8
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset UCS-2LE
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset UCS-2LE
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset UTF-16LE
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset UTF-16LE
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset UCS-2BE
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset UCS-2BE
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset UTF-16BE
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset UTF-16BE
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset UTF8
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset UTF8
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset UTF-8
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset UTF-8
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset ASCII
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset ASCII
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset 646
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset 646
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset ISO-8859-1
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset ISO-8859-1
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset UCS2-HEX
    > [2008/01/14 11:52:58, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset UCS2-HEX
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:52:58, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > doing parameter display charset = UTF-8
    > doing parameter load printers = No
    > doing parameter show add printer wizard = No
    > doing parameter homedir map =
    > doing parameter idmap uid = 100000-199999
    > doing parameter idmap gid = 200000-299999
    > doing parameter template homedir =
    > doing parameter template shell = /sbin/bash
    > doing parameter client use spnego = no
    > doing parameter server signing = auto
    > [2008/01/14 11:52:58, 4] param/loadparm.c:lp_load(3942)
    > pm_process() returned Yes
    > [2008/01/14 11:52:58, 7] param/loadparm.c:lp_servicenumber(4052)
    > lp_servicenumber: couldn't find homes
    > [2008/01/14 11:52:58, 10] param/loadparm.c:set_server_role(3851)
    > set_server_role: role = ROLE_DOMAIN_MEMBER
    > [2008/01/14 11:52:58, 5] lib/util.c:init_names(278)
    > Netbios name list:-
    > my_netbios_names[0]="node12242"
    > [2008/01/14 11:52:58, 2] lib/interface.c:add_interface(79)
    > added interface ip=192.168.1.223 bcast=192.168.1.255
    > nmask=255.255.255.0
    > [2008/01/14 11:52:58, 6] libads/ldap.c:ads_find_dc(176)
    > ads_find_dc: looking for domain 'TESTSMB'
    > [2008/01/14 11:52:58, 8] libsmb/namequery.c:get_sorted_dc_list(1433)
    > get_sorted_dc_list: attempting lookup using [wins host bcast]
    > [2008/01/14 11:52:58, 10] libsmb/
    > namequery.c:remove_duplicate_addrs2(320)
    > remove_duplicate_addrs2: looking for duplicate address/port pairs
    > [2008/01/14 11:52:58, 4] libsmb/namequery.c:get_dc_list(1406)
    > get_dc_list: returning 1 ip addresses in an ordered list
    > [2008/01/14 11:52:58, 4] libsmb/namequery.c:get_dc_list(1407)
    > get_dc_list: 192.168.1.163:389
    > [2008/01/14 11:52:58, 5] libads/ldap.c:ads_try_connect(85)
    > ads_try_connect: trying ldap server '192.168.1.163' port 389
    > [2008/01/14 11:52:58, 3] libads/ldap.c:ads_connect(247)
    > Connected to LDAP server 192.168.1.163
    > [2008/01/14 11:52:58, 3] libads/ldap.c:ads_server_info(2432)
    > got ldap server name s...@TESTSMB.COM, using bind path:
    > dc=TESTSMB,dc=COM
    > [2008/01/14 11:52:58, 4] libads/ldap.c:ads_server_info(2438)
    > time offset is 72 seconds
    > [2008/01/14 11:52:58, 10] intl/lang_tdb.c:lang_tdb_init(135)
    > lang_tdb_init: /usr/lib64/samba/en_US.UTF-8.msg: No such file or
    > directory
    > LDAP server: 192.168.1.163
    > LDAP server name: smbd
    > Realm: TESTSMB.COM
    > Bind Path: dc=TESTSMB,dc=COM
    > LDAP port: 389
    > Server time: Mon, 14 Jan 2008 11:54:10 GMT
    > KDC server: 192.168.1.163
    > Server time offset: 72
    > [2008/01/14 11:52:58, 2] utils/net.c:main(859)
    > return code = 0
    >
    > [root@node12242 ~]# net ads join -U administrator -d 10
    > [2008/01/14 11:53:14, 5] lib/debug.c:debug_dump_status(366)
    > INFO: Current debug levels:
    > all: True/10
    > tdb: False/0
    > printdrivers: False/0
    > lanman: False/0
    > smb: False/0
    > rpc_parse: False/0
    > rpc_srv: False/0
    > rpc_cli: False/0
    > passdb: False/0
    > sam: False/0
    > auth: False/0
    > winbind: False/0
    > vfs: False/0
    > idmap: False/0
    > quota: False/0
    > acls: False/0
    > [2008/01/14 11:53:14, 3] param/loadparm.c:lp_load(3911)
    > lp_load: refreshing parameters
    > [2008/01/14 11:53:14, 3] param/loadparm.c:init_globals(1312)
    > Initialising global parameters
    > [2008/01/14 11:53:14, 3] param/params.cm_process(566)
    > params.cm_process() - Processing configuration file "/etc/samba/
    > smb.conf"
    > [2008/01/14 11:53:14, 3] param/loadparm.c:do_section(3404)
    > Processing section "[global]"
    > doing parameter workgroup = TESTSMB
    > doing parameter server string = -- %h Samba %v --
    > doing parameter realm = TESTSMB.COM
    > doing parameter security = ADS
    > doing parameter encrypt passwords = Yes
    > doing parameter password server = 192.168.1.163
    > doing parameter allow trusted domains = No
    > doing parameter dns proxy = Yes
    > doing parameter name resolve order = wins host bcast
    > doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192
    > SO_SNDBUF=8192
    > doing parameter winbind separator = ~
    > doing parameter dos charset = UTF-8
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset UCS-2LE
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset UCS-2LE
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset UTF-16LE
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset UTF-16LE
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset UCS-2BE
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset UCS-2BE
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset UTF-16BE
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset UTF-16BE
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset UTF8
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset UTF8
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset UTF-8
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset UTF-8
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset ASCII
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset ASCII
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset 646
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset 646
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset ISO-8859-1
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset ISO-8859-1
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(103)
    > Attempting to register new charset UCS2-HEX
    > [2008/01/14 11:53:14, 5] lib/iconv.c:smb_register_charset(111)
    > Registered charset UCS2-HEX
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > [2008/01/14 11:53:14, 5] lib/charcnv.c:charset_name(81)
    > Substituting charset 'UTF-8' for LOCALE
    > doing parameter display charset = UTF-8
    > doing parameter load printers = No
    > doing parameter show add printer wizard = No
    > doing parameter homedir map =
    > doing parameter idmap uid = 100000-199999
    > doing parameter idmap gid = 200000-299999
    > doing parameter template homedir =
    > doing parameter template shell = /sbin/bash
    > doing parameter client use spnego = no
    > doing parameter server signing = auto
    > [2008/01/14 11:53:14, 4] param/loadparm.c:lp_load(3942)
    > pm_process() returned Yes
    > [2008/01/14 11:53:14, 7] param/loadparm.c:lp_servicenumber(4052)
    > lp_servicenumber: couldn't find homes
    > [2008/01/14 11:53:14, 10] param/loadparm.c:set_server_role(3851)
    > set_server_role: role = ROLE_DOMAIN_MEMBER
    > [2008/01/14 11:53:14, 5] lib/util.c:init_names(278)
    > Netbios name list:-
    > my_netbios_names[0]="node12242"
    > [2008/01/14 11:53:14, 2] lib/interface.c:add_interface(79)
    > added interface ip=192.168.1.223 bcast=192.168.1.255
    > nmask=255.255.255.0
    > administrator's password:
    > [2008/01/14 11:53:16, 6] libads/ldap.c:ads_find_dc(176)
    > ads_find_dc: looking for realm 'TESTSMB.COM'
    > [2008/01/14 11:53:16, 8] libsmb/namequery.c:get_sorted_dc_list(1433)
    > get_sorted_dc_list: attempting lookup using [ads]
    > [2008/01/14 11:53:16, 10] libsmb/
    > namequery.c:remove_duplicate_addrs2(320)
    > remove_duplicate_addrs2: looking for duplicate address/port pairs
    > [2008/01/14 11:53:16, 4] libsmb/namequery.c:get_dc_list(1406)
    > get_dc_list: returning 1 ip addresses in an ordered list
    > [2008/01/14 11:53:16, 4] libsmb/namequery.c:get_dc_list(1407)
    > get_dc_list: 192.168.1.163:389
    > [2008/01/14 11:53:16, 5] libads/ldap.c:ads_try_connect(85)
    > ads_try_connect: trying ldap server '192.168.1.163' port 389
    > [2008/01/14 11:53:16, 3] libads/ldap.c:ads_connect(247)
    > Connected to LDAP server 192.168.1.163
    > [2008/01/14 11:53:16, 3] libads/ldap.c:ads_server_info(2432)
    > got ldap server name s...@TESTSMB.COM, using bind path:
    > dc=TESTSMB,dc=COM
    > [2008/01/14 11:53:16, 4] libads/ldap.c:ads_server_info(2438)
    > time offset is 73 seconds
    > [2008/01/14 11:53:16, 4] libads/sasl.c:ads_sasl_bind(447)
    > Found SASL mechanism GSS-SPNEGO
    > [2008/01/14 11:53:16, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
    > ads_sasl_spnego_bind: got OID=1 2 840 48018 1 2 2
    > [2008/01/14 11:53:16, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
    > ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2
    > [2008/01/14 11:53:16, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
    > ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 3
    > [2008/01/14 11:53:16, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
    > ads_sasl_spnego_bind: got OID=1 3 6 1 4 1 311 2 2 10
    > [2008/01/14 11:53:16, 3] libads/sasl.c:ads_sasl_spnego_bind(211)
    > ads_sasl_spnego_bind: got server principal name =sm...@TESTSMB.COM
    > [2008/01/14 11:53:16, 3] libsmb/clikrb5.c:ads_krb5_mk_req(382)
    > ads_krb5_mk_req: krb5_cc_get_principal failed (No credentials cache
    > found)
    > [2008/01/14 11:53:16, 4] libsmb/clikrb5.c:ads_krb5_mk_req(398)
    > ads_krb5_mk_req: Advancing clock by 50 seconds to cope with clock
    > skew
    > [2008/01/14 11:53:16, 3] libsmb/
    > clikrb5.c:ads_cleanup_expired_creds(319)
    > Ticket in ccache[MEMORY:net_ads] expiration Mon, 14 Jan 2008
    > 21:53:43 GMT
    > [2008/01/14 11:53:16, 10] libsmb/clikrb5.c:ads_krb5_mk_req(409)
    > ads_krb5_mk_req: Ticket (sm...@TESTSMB.COM) in ccache
    > (MEMORY:net_ads) is valid until: (Mon, 14 Jan 2008 21:53:43 GMT -
    > 1200318846)
    > [2008/01/14 11:53:16, 10] libsmb/
    > clikrb5.c:get_krb5_smb_session_key(510)
    > Got KRB5 session key of length 16
    > [2008/01/14 11:53:16, 10] lib/util.c:name_to_fqdn(2626)
    > name_to_fqdn: lookup for node12242 -> node12242.
    > [2008/01/14 11:53:16, 0] libads/ldap.c:ads_add_machine_acct(1368)
    > ads_add_machine_acct: Host account for node12242 already exists -
    > modifying old account
    > [2008/01/14 11:53:16, 5] libads/ldap_utils.c:ads_do_search_retry(56)
    > Search for (objectclass=*) gave 1 replies
    > [2008/01/14 11:53:16, 1] libads/krb5_setpw.carse_setpw_reply(277)
    > failed to rd setpw reply (Mutual authentication failed)
    > [2008/01/14 11:53:16, 1] libads/
    > krb5_setpw.c:do_krb5_kpasswd_request(450)
    > parse_setpw_reply failed (Messagestreammodified)
    > [2008/01/14 11:53:16, 10] intl/lang_tdb.c:lang_tdb_init(135)
    > lang_tdb_init: /usr/lib64/samba/en_US.UTF-8.msg: No such file or
    > directoryads_set_machine_password:Messagestreammod ified
    > [2008/01/14 11:53:16, 2] utils/net.c:main(859)
    > return code = -1



+ Reply to Thread