[Samba] 15-character NetBIOS name won't join domain

Ken Cross kcross at nssolutions.com
Wed May 1 12:54:03 GMT 2002


I just installed Samba 2.2.3a on Redhat Linux 7.2 with the same results
-- a 14-character NetBIOS name can join the domain, but a 15-character
name gets "ACCESS_DENIED".

Listed below are the trimmed-down output from log level 10.  The first
is the successful one, the second is the failure.

Ken


--------------------------------------

doing parameter netbios name = A2345678901234
handle_netbios_name: set global_myname to: A2345678901234

[snip]

cli_net_auth2: srv:\\NT4SRV acct:A2345678901234$ sc:2 mc: A2345678901234
chal DB620CAE002C25ED neg: 1ff
init_q_auth_2: 673
make_log_info 1162
init_q_auth_2: 679
000000 net_io_q_auth_2 
    000000 smb_io_log_info 
        0000 undoc_buffer: 00000001
        000004 smb_io_unistr2 unistr2
            0004 uni_max_len: 00000009
            0008 undoc      : 00000000
            000c uni_str_len: 00000009
            0010 buffer     : \.\.N.T.4.S.R.V...
        000022 smb_io_unistr2 unistr2
            0024 uni_max_len: 00000010
            0028 undoc      : 00000000
            002c uni_str_len: 00000010
            0030 buffer     : A.2.3.4.5.6.7.8.9.0.1.2.3.4.$...
        0050 sec_chan: 0002
        000052 smb_io_unistr2 unistr2
            0054 uni_max_len: 0000000f
            0058 undoc      : 00000000
            005c uni_str_len: 0000000f
            0060 buffer     : A.2.3.4.5.6.7.8.9.0.1.2.3.4...
    00007e smb_io_chal 
        007e data: db 62 0c ae 00 2c 25 ed 
    000086 net_io_neg_flags 
        0088 neg_flags: 000001ff

[snip]

rpc_api_pipe: fragment first and last both set
000018 net_io_r_auth_2 
    000018 smb_io_chal 
        0018 data: 87 11 7f 90 7e fa f1 20 
    000020 net_io_neg_flags 
        0020 neg_flags: 000001ff
    0024 status: NT_STATUS_OK
cred_create
  sess_key : CE44F8E966526E28
  stor_cred: 185297416C000000
  timestamp: 0
  timecred : 185297416C000000
  calc_cred: 87117F907EFAF120
cred_assert
  challenge : 87117F907EFAF120
  calculated: 87117F907EFAF120
credentials check ok

[snip]

2002/05/01 12:20:24 : change_trust_account_password: Changed password
for domain NT4DOMAIN.
Joined domain NT4DOMAIN.


--------------------------------------

doing parameter netbios name = A23456789012345
handle_netbios_name: set global_myname to: A23456789012345

[snip]

cli_net_auth2: srv:\\NT4SRV acct:A23456789012345$ sc:2 mc:
A23456789012345 chal CAFED9C02DA6C8A6 neg: 1ff
init_q_auth_2: 673
make_log_info 1162
init_q_auth_2: 679
000000 net_io_q_auth_2 
    000000 smb_io_log_info 
        0000 undoc_buffer: 00000001
        000004 smb_io_unistr2 unistr2
            0004 uni_max_len: 00000009
            0008 undoc      : 00000000
            000c uni_str_len: 00000009
            0010 buffer     : \.\.N.T.4.S.R.V...
        000022 smb_io_unistr2 unistr2
            0024 uni_max_len: 00000011
            0028 undoc      : 00000000
            002c uni_str_len: 00000011
            0030 buffer     : A.2.3.4.5.6.7.8.9.0.1.2.3.4.5.$...
        0052 sec_chan: 0002
        000054 smb_io_unistr2 unistr2
            0054 uni_max_len: 00000010
            0058 undoc      : 00000000
            005c uni_str_len: 00000010
            0060 buffer     : A.2.3.4.5.6.7.8.9.0.1.2.3.4.5...
    000080 smb_io_chal 
        0080 data: ca fe d9 c0 2d a6 c8 a6 
    000088 net_io_neg_flags 
        0088 neg_flags: 000001ff

[snip]

rpc_api_pipe: fragment first and last both set
000018 net_io_r_auth_2 
    000018 smb_io_chal 
        0018 data: 00 00 00 00 00 00 00 00 
    000020 net_io_neg_flags 
        0020 neg_flags: 000001ff
    0024 status: NT_STATUS_ACCESS_DENIED
cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
cli_nt_setup_creds: auth2 challenge failed
modify_trust_password: unable to setup the PDC credentials to machine
NT4SRV. Error was : NT_STATUS_ACCESS_DENIED.

2002/05/01 12:18:53 : change_trust_account_password: Failed to change
password for domain NT4DOMAIN.


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


More information about the samba mailing list