Nt_status_access_denied

Discussion in 'HOWTO-Related Questions' started by dmgursky, Dec 10, 2007.

  1. dmgursky

    dmgursky New Member

    I'm sure there is a simple answer to this. I just don't know what it is!

    I have set up a new Gutsy box as an NT Domain Server. When I try to add a user though, I get an error about NT_STATUS_ACCESS_DENIED. Here is the tail of the debug from the NET RPC USER ADD command:

    [2007/12/09 21:39:54, 3] libsmb/cliconnect.c:cli_session_setup_spnego(793)
    Doing spnego session setup (blob length=58)
    [2007/12/09 21:39:54, 3] libsmb/cliconnect.c:cli_session_setup_spnego(818)
    got OID=1 3 6 1 4 1 311 2 2 10
    [2007/12/09 21:39:54, 3] libsmb/cliconnect.c:cli_session_setup_spnego(826)
    got principal=NONE
    [2007/12/09 21:39:54, 6] libsmb/clientgen.c:write_socket(153)
    write_socket(3,164)
    [2007/12/09 21:39:54, 6] libsmb/clientgen.c:write_socket(156)
    write_socket(3,164) wrote 164
    [2007/12/09 21:39:54, 10] lib/util_sock.c:read_smb_length_return_keepalive(623)
    got smb length of 244
    [2007/12/09 21:39:54, 5] lib/util.c:show_msg(484)
    [2007/12/09 21:39:54, 5] lib/util.c:show_msg(494)
    size=244
    smb_com=0x73
    smb_rcls=22
    smb_reh=0
    smb_err=49152
    smb_flg=136
    smb_flg2=51201
    smb_tid=0
    smb_pid=22445
    smb_uid=100
    smb_mid=2
    smt_wct=4
    smb_vwv[ 0]= 255 (0xFF)
    smb_vwv[ 1]= 0 (0x0)
    smb_vwv[ 2]= 0 (0x0)
    smb_vwv[ 3]= 149 (0x95)
    smb_bcc=201
    [2007/12/09 21:39:54, 10] lib/util.c:dump_data(2263)
    [000] A1 81 92 30 81 8F A0 03 0A 01 01 A1 0C 06 0A 2B ...0.... .......+
    [010] 06 01 04 01 82 37 02 02 0A A2 7A 04 78 4E 54 4C .....7.. ..z.xNTL
    [020] 4D 53 53 50 00 02 00 00 00 0C 00 0C 00 30 00 00 MSSP.... .....0..
    [030] 00 15 82 89 60 8E 4C A9 2C BA A5 11 DB 00 00 00 ....`.L. ,.......
    [040] 00 00 00 00 00 3C 00 3C 00 3C 00 00 00 41 00 56 .....<.< .<...A.V
    [050] 00 49 00 41 00 52 00 59 00 02 00 0C 00 41 00 56 .I.A.R.Y .....A.V
    [060] 00 49 00 41 00 52 00 59 00 01 00 0E 00 50 00 45 .I.A.R.Y .....P.E
    [070] 00 4C 00 49 00 43 00 41 00 4E 00 04 00 00 00 03 .L.I.C.A .N......
    [080] 00 0E 00 70 00 65 00 6C 00 69 00 63 00 61 00 6E ...p.e.l .i.c.a.n
    [090] 00 00 00 00 00 55 00 6E 00 69 00 78 00 00 00 53 .....U.n .i.x...S
    [0A0] 00 61 00 6D 00 62 00 61 00 20 00 33 00 2E 00 30 .a.m.b.a . .3...0
    [0B0] 00 2E 00 32 00 36 00 61 00 00 00 41 00 56 00 49 ...2.6.a ...A.V.I
    [0C0] 00 41 00 52 00 59 00 00 00 .A.R.Y.. .
    [2007/12/09 21:39:54, 5] lib/util.c:show_msg(484)
    [2007/12/09 21:39:54, 5] lib/util.c:show_msg(494)
    size=244
    smb_com=0x73
    smb_rcls=22
    smb_reh=0
    smb_err=49152
    smb_flg=136
    smb_flg2=51201
    smb_tid=0
    smb_pid=22445
    smb_uid=100
    smb_mid=2
    smt_wct=4
    smb_vwv[ 0]= 255 (0xFF)
    smb_vwv[ 1]= 0 (0x0)
    smb_vwv[ 2]= 0 (0x0)
    smb_vwv[ 3]= 149 (0x95)
    smb_bcc=201
    [2007/12/09 21:39:54, 10] lib/util.c:dump_data(2263)
    [000] A1 81 92 30 81 8F A0 03 0A 01 01 A1 0C 06 0A 2B ...0.... .......+
    [010] 06 01 04 01 82 37 02 02 0A A2 7A 04 78 4E 54 4C .....7.. ..z.xNTL
    [020] 4D 53 53 50 00 02 00 00 00 0C 00 0C 00 30 00 00 MSSP.... .....0..
    [030] 00 15 82 89 60 8E 4C A9 2C BA A5 11 DB 00 00 00 ....`.L. ,.......
    [040] 00 00 00 00 00 3C 00 3C 00 3C 00 00 00 41 00 56 .....<.< .<...A.V
    [050] 00 49 00 41 00 52 00 59 00 02 00 0C 00 41 00 56 .I.A.R.Y .....A.V
    [060] 00 49 00 41 00 52 00 59 00 01 00 0E 00 50 00 45 .I.A.R.Y .....P.E
    [070] 00 4C 00 49 00 43 00 41 00 4E 00 04 00 00 00 03 .L.I.C.A .N......
    [080] 00 0E 00 70 00 65 00 6C 00 69 00 63 00 61 00 6E ...p.e.l .i.c.a.n
    [090] 00 00 00 00 00 55 00 6E 00 69 00 78 00 00 00 53 .....U.n .i.x...S
    [0A0] 00 61 00 6D 00 62 00 61 00 20 00 33 00 2E 00 30 .a.m.b.a . .3...0
    [0B0] 00 2E 00 32 00 36 00 61 00 00 00 41 00 56 00 49 ...2.6.a ...A.V.I
    [0C0] 00 41 00 52 00 59 00 00 00 .A.R.Y.. .
    [2007/12/09 21:39:54, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(1018)
    Got challenge flags:
    [2007/12/09 21:39:54, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
    Got NTLMSSP neg_flags=0x60898215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_CHAL_TARGET_INFO
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    [2007/12/09 21:39:54, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(1040)
    NTLMSSP: Set final flags:
    [2007/12/09 21:39:54, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
    Got NTLMSSP neg_flags=0x60088215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    [2007/12/09 21:39:54, 5] libsmb/ntlmssp.c:ntlmssp_client_challenge(1112)
    NTLMSSP challenge set by NTLM2
    [2007/12/09 21:39:54, 5] libsmb/ntlmssp.c:ntlmssp_client_challenge(1113)
    challenge is:
    [2007/12/09 21:39:54, 5] lib/util.c:dump_data(2263)
    [000] 3D AA 38 7B F0 C4 D7 5D =.8{...]
    [2007/12/09 21:39:54, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(338)
    NTLMSSP Sign/Seal - Initialising with flags:
    [2007/12/09 21:39:54, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
    Got NTLMSSP neg_flags=0x60088215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    [2007/12/09 21:39:54, 6] libsmb/clientgen.c:write_socket(153)
    write_socket(3,260)
    [2007/12/09 21:39:54, 6] libsmb/clientgen.c:write_socket(156)
    write_socket(3,260) wrote 260
    [2007/12/09 21:39:55, 10] lib/util_sock.c:read_smb_length_return_keepalive(623)
    got smb length of 104
    [2007/12/09 21:39:55, 5] lib/util.c:show_msg(484)
    [2007/12/09 21:39:55, 5] lib/util.c:show_msg(494)
    size=104
    smb_com=0x73
    smb_rcls=0
    smb_reh=0
    smb_err=0
    smb_flg=136
    smb_flg2=51201
    smb_tid=0
    smb_pid=22445
    smb_uid=101
    smb_mid=3
    smt_wct=4
    smb_vwv[ 0]= 255 (0xFF)
    smb_vwv[ 1]= 0 (0x0)
    smb_vwv[ 2]= 0 (0x0)
    smb_vwv[ 3]= 9 (0x9)
    smb_bcc=61
    [2007/12/09 21:39:55, 10] lib/util.c:dump_data(2263)
    [000] A1 07 30 05 A0 03 0A 01 00 55 00 6E 00 69 00 78 ..0..... .U.n.i.x
    [010] 00 00 00 53 00 61 00 6D 00 62 00 61 00 20 00 33 ...S.a.m .b.a. .3
    [020] 00 2E 00 30 00 2E 00 32 00 36 00 61 00 00 00 41 ...0...2 .6.a...A
    [030] 00 56 00 49 00 41 00 52 00 59 00 00 00 .V.I.A.R .Y...
    [2007/12/09 21:39:55, 5] lib/util.c:show_msg(484)
    [2007/12/09 21:39:55, 5] lib/util.c:show_msg(494)
    size=104
    smb_com=0x73
    smb_rcls=0
    smb_reh=0
    smb_err=0
    smb_flg=136
    smb_flg2=51201
    smb_tid=0
    smb_pid=22445
    smb_uid=101
    smb_mid=3
    smt_wct=4
    smb_vwv[ 0]= 255 (0xFF)
    smb_vwv[ 1]= 0 (0x0)
    smb_vwv[ 2]= 0 (0x0)
    smb_vwv[ 3]= 9 (0x9)
    smb_bcc=61
    [2007/12/09 21:39:55, 10] lib/util.c:dump_data(2263)
    [000] A1 07 30 05 A0 03 0A 01 00 55 00 6E 00 69 00 78 ..0..... .U.n.i.x
    [010] 00 00 00 53 00 61 00 6D 00 62 00 61 00 20 00 33 ...S.a.m .b.a. .3
    [020] 00 2E 00 30 00 2E 00 32 00 36 00 61 00 00 00 41 ...0...2 .6.a...A
    [030] 00 56 00 49 00 41 00 52 00 59 00 00 00 .V.I.A.R .Y...
    [2007/12/09 21:39:55, 6] libsmb/clientgen.c:write_socket(153)
    write_socket(3,86)
    [2007/12/09 21:39:55, 6] libsmb/clientgen.c:write_socket(156)
    write_socket(3,86) wrote 86
    [2007/12/09 21:39:55, 10] lib/util_sock.c:read_smb_length_return_keepalive(623)
    got smb length of 35
    [2007/12/09 21:39:55, 5] lib/util.c:show_msg(484)
    [2007/12/09 21:39:55, 5] lib/util.c:show_msg(494)
    size=35
    smb_com=0x75
    smb_rcls=34
    smb_reh=0
    smb_err=49152
    smb_flg=136
    smb_flg2=51201
    smb_tid=0
    smb_pid=22445
    smb_uid=101
    smb_mid=4
    smt_wct=0
    smb_bcc=0
    [2007/12/09 21:39:55, 1] libsmb/cliconnect.c:cli_full_connection(1623)
    failed tcon_X with NT_STATUS_ACCESS_DENIED
    [2007/12/09 21:39:55, 10] intl/lang_tdb.c:lang_tdb_init(138)
    lang_tdb_init: /usr/share/samba/en_US.UTF-8.msg: No such file or directory
    Could not connect to server 127.0.0.1
    Connection failed: NT_STATUS_ACCESS_DENIED
    [2007/12/09 21:39:55, 2] utils/net.c:main(1036)
    return code = -1
     
  2. falko

    falko Super Moderator ISPConfig Developer

Share This Page