smbpasswd -j DOMAIN fails strangely!

Quicker than the human eye grahamj at virtue.cx
Tue Jan 25 22:39:27 GMT 2000


On Wed, 26 Jan 2000, Luke Kenneth Casson Leighton wrote:

> please can you track down the cause of the \PIPE\NETLOGO cli_nt_create
> failure?
> 
> are you running netlogond?

No it's not running...is this something that should be running?

> is there a connection attempt shown in log.NETLOGON (debug level 100)?

no...no log.NETLOGON file at all.

I've attached a level 100 debug of the command

/opt/samba-tng/bin/smbpasswd -j VIRTUE

If there's anything else you need let me know.


-------------- next part --------------
doing parameter time server = yes
doing parameter printcap name = /etc/printcap
doing parameter load printers = yes
doing parameter netbios name = TRUTH
doing parameter printing = bsd
doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 50
doing parameter security = user
doing parameter encrypt passwords = yes
doing parameter smb passwd file = /opt/samba-tng/private/smbpasswd
doing parameter unix password sync = Yes
doing parameter passwd program = /usr/bin/passwd %u
doing parameter passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
doing parameter socket options = TCP_NODELAY
doing parameter interfaces = 10.10.0.1/16
doing parameter local master = yes
doing parameter os level = 33
doing parameter domain master = yes
doing parameter preferred master = yes
doing parameter domain logons = yes
doing parameter wins support = yes
doing parameter dns proxy = no
pm_process() returned Yes
lp_servicenumber: couldn't find homes
codepage_initialise: client code page = 850
load_client_codepage: loading codepage 850.
Adding chars 0x85 0xb7 (l->u = True) (u->l = True)
Adding chars 0xa0 0xb5 (l->u = True) (u->l = True)
Adding chars 0x83 0xb6 (l->u = True) (u->l = True)
Adding chars 0xc6 0xc7 (l->u = True) (u->l = True)
Adding chars 0x84 0x8e (l->u = True) (u->l = True)
Adding chars 0x86 0x8f (l->u = True) (u->l = True)
Adding chars 0x91 0x92 (l->u = True) (u->l = True)
Adding chars 0x87 0x80 (l->u = True) (u->l = True)
Adding chars 0x8a 0xd4 (l->u = True) (u->l = True)
Adding chars 0x82 0x90 (l->u = True) (u->l = True)
Adding chars 0x88 0xd2 (l->u = True) (u->l = True)
Adding chars 0x89 0xd3 (l->u = True) (u->l = True)
Adding chars 0x8d 0xde (l->u = True) (u->l = True)
Adding chars 0xa1 0xd6 (l->u = True) (u->l = True)
Adding chars 0x8c 0xd7 (l->u = True) (u->l = True)
Adding chars 0x8b 0xd8 (l->u = True) (u->l = True)
Adding chars 0xd0 0xd1 (l->u = True) (u->l = True)
Adding chars 0xa4 0xa5 (l->u = True) (u->l = True)
Adding chars 0x95 0xe3 (l->u = True) (u->l = True)
Adding chars 0xa2 0xe0 (l->u = True) (u->l = True)
Adding chars 0x93 0xe2 (l->u = True) (u->l = True)
Adding chars 0xe4 0xe5 (l->u = True) (u->l = True)
Adding chars 0x94 0x99 (l->u = True) (u->l = True)
Adding chars 0x9b 0x9d (l->u = True) (u->l = True)
Adding chars 0x97 0xeb (l->u = True) (u->l = True)
Adding chars 0xa3 0xe9 (l->u = True) (u->l = True)
Adding chars 0x96 0xea (l->u = True) (u->l = True)
Adding chars 0x81 0x9a (l->u = True) (u->l = True)
Adding chars 0xec 0xed (l->u = True) (u->l = True)
Adding chars 0xe7 0xe8 (l->u = True) (u->l = True)
Adding chars 0x9c 0x0 (l->u = False) (u->l = False)
Added interface ip=10.10.0.1 bcast=10.10.255.255 nmask=255.255.0.0
Joining Domain as PDC
trust_account_file_name: /opt/samba-tng/private/VIRTUE.TRUTH.mac
trust_account_file_name: /opt/samba-tng/private/VIRTUE.TRUTH.mac
do_reseed: got 40 bytes from /dev/urandom.
cli_connection_init_auth: \\TRUTH \PIPE\NETLOGON
copy_nt_creds: null creds
cli_net_use_add
copy_nt_creds: user  domain  nopw Yes flgs: 0
cli_find: \\TRUTH  
copy_nt_creds: null creds
cli_init_creds: ntlmssp_flgs: 0
copy_nt_creds: user  domain  nopw Yes flgs: 0
cli_init_creds: ntlmssp_flgs: 0
resolve_srv_name: \\TRUTH
resolve_name: Attempting lmhosts lookup for name TRUTH
startlmhosts: Can't open lmhosts file /opt/samba-tng/lib/lmhosts. Error was No such file or directory
resolve_name: Attempting host lookup for name TRUTH
cli_establish_connection: TRUTH<00> connecting to TRUTH<20> (10.10.0.1) -  [] with NTLMv1, nopw: Yes
socket open succeeded.  file name: /tmp/.smb.0/agent
socket connect to /tmp/.smb.0/agent failed: Connection refused
redirect FAILED, make direct connection
Connecting to 10.10.0.1 at port 445
error connecting to 10.10.0.1:445 (Connection refused)
Connecting to 10.10.0.1 at port 139
[000] 81 00 00 48 20 46 45 46  43 46 46 46 45 45 49 43  ...H FEF CFFFEEIC
[010] 41 43 41 43 41 43 41 43  41 43 41 43 41 43 41 43  ACACACAC ACACACAC
[020] 41 43 41 43 41 00 20 46  45 46 43 46 46 46 45 45  ACACA. F EFCFFFEE
[030] 49 43 41 43 41 43 41 43  41 43 41 43 41 43 41 43  ICACACAC ACACACAC
[040] 41 43 41 43 41 41 41 00  00 00 00 00              ACACAAA. ....
write_socket(4,76)
write_socket(4,76) wrote 76
Sent session request
got smb length of 0
[000] 82 00 00 00                                       .... 
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0

size=164
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=18433
smb_tid=0
smb_pid=2924
smb_uid=0
smb_mid=1
smt_wct=0
smb_bcc=129
[000] 02 50 43 20 4E 45 54 57  4F 52 4B 20 50 52 4F 47  .PC NETW ORK PROG
[010] 52 41 4D 20 31 2E 30 00  02 4D 49 43 52 4F 53 4F  RAM 1.0. .MICROSO
[020] 46 54 20 4E 45 54 57 4F  52 4B 53 20 31 2E 30 33  FT NETWO RKS 1.03
[030] 00 02 4D 49 43 52 4F 53  4F 46 54 20 4E 45 54 57  ..MICROS OFT NETW
[040] 4F 52 4B 53 20 33 2E 30  00 02 4C 41 4E 4D 41 4E  ORKS 3.0 ..LANMAN
[050] 31 2E 30 00 02 4C 4D 31  2E 32 58 30 30 32 00 02  1.0..LM1 .2X002..
[060] 53 61 6D 62 61 00 02 4E  54 20 4C 41 4E 4D 41 4E  Samba..N T LANMAN
[070] 20 31 2E 30 00 02 4E 54  20 4C 4D 20 30 2E 31 32   1.0..NT  LM 0.12
[080] 00                                                . 
write_socket(4,168)
write_socket(4,168) wrote 168
got smb length of 91
size=91
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=2924
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=6 (0x6)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=65280 (0xFF00)
smb_vwv[4]=255 (0xFF)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=27904 (0x6D00)
smb_vwv[8]=11 (0xB)
smb_vwv[9]=12544 (0x3100)
smb_vwv[10]=3 (0x3)
smb_vwv[11]=32768 (0x8000)
smb_vwv[12]=45115 (0xB03B)
smb_vwv[13]=33992 (0x84C8)
smb_vwv[14]=48999 (0xBF67)
smb_vwv[15]=11265 (0x2C01)
smb_vwv[16]=2049 (0x801)
smb_bcc=22
[000] 8F E1 A4 D8 1F A8 89 4A  56 00 49 00 52 00 54 00  .......J V.I.R.T.
[010] 55 00 45 00 00 00                                 U.E... 
size=91
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=2924
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=6 (0x6)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=65280 (0xFF00)
smb_vwv[4]=255 (0xFF)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=27904 (0x6D00)
smb_vwv[8]=11 (0xB)
smb_vwv[9]=12544 (0x3100)
smb_vwv[10]=3 (0x3)
smb_vwv[11]=32768 (0x8000)
smb_vwv[12]=45115 (0xB03B)
smb_vwv[13]=33992 (0x84C8)
smb_vwv[14]=48999 (0xBF67)
smb_vwv[15]=11265 (0x2C01)
smb_vwv[16]=2049 (0x801)
smb_bcc=22
[000] 8F E1 A4 D8 1F A8 89 4A  56 00 49 00 52 00 54 00  .......J V.I.R.T.
[010] 55 00 45 00 00 00                                 U.E... 
server's domain: VIRTUE bcc: 22
cli_session_setup.  extended security: No
size=76
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=18433
smb_tid=0
smb_pid=2924
smb_uid=0
smb_mid=1
smt_wct=13
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=17408 (0x4400)
smb_vwv[3]=2 (0x2)
smb_vwv[4]=2924 (0xB6C)
smb_vwv[5]=2925 (0xB6D)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=1 (0x1)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=0 (0x0)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=0 (0x0)
smb_bcc=15
[000] 00 00 00 55 6E 69 78 00  00 53 61 6D 62 61 00     ...Unix. .Samba.
write_socket(4,80)
write_socket(4,80) wrote 80
got smb length of 72
size=72
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=2924
smb_uid=100
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=1 (0x1)
smb_bcc=31
[000] 55 6E 69 78 00 53 61 6D  62 61 20 54 4E 47 2D 70  Unix.Sam ba TNG-p
[010] 72 65 61 6C 70 68 61 00  56 49 52 54 55 45 00     realpha. VIRTUE.
size=72
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=2924
smb_uid=100
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=1 (0x1)
smb_bcc=31
[000] 55 6E 69 78 00 53 61 6D  62 61 20 54 4E 47 2D 70  Unix.Sam ba TNG-p
[010] 72 65 61 6C 70 68 61 00  56 49 52 54 55 45 00     realpha. VIRTUE.
size=61
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=18433
smb_tid=0
smb_pid=2924
smb_uid=100
smb_mid=1
smt_wct=4
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=1 (0x1)
smb_bcc=18
[000] 00 5C 5C 54 52 55 54 48  5C 49 50 43 24 00 49 50  .\\TRUTH \IPC$.IP
[010] 43 00                                             C. 
write_socket(4,65)
write_socket(4,65) wrote 65
got smb length of 49
size=49
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=2924
smb_uid=100
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=1 (0x1)
smb_bcc=8
[000] 49 50 43 00 49 50 43 00                           IPC.IPC. 
size=49
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=2924
smb_uid=100
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=1 (0x1)
smb_bcc=8
[000] 49 50 43 00 49 50 43 00                           IPC.IPC. 
size=93
smb_com=0xa2
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=18433
smb_tid=1
smb_pid=2924
smb_uid=100
smb_mid=1
smt_wct=24
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=2304 (0x900)
smb_vwv[3]=1536 (0x600)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=40704 (0x9F00)
smb_vwv[8]=513 (0x201)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=0 (0x0)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=0 (0x0)
smb_vwv[13]=0 (0x0)
smb_vwv[14]=0 (0x0)
smb_vwv[15]=768 (0x300)
smb_vwv[16]=0 (0x0)
smb_vwv[17]=256 (0x100)
smb_vwv[18]=0 (0x0)
smb_vwv[19]=0 (0x0)
smb_vwv[20]=0 (0x0)
smb_vwv[21]=512 (0x200)
smb_vwv[22]=0 (0x0)
smb_vwv[23]=0 (0x0)
smb_bcc=10
[000] 5C 4E 45 54 4C 4F 47 4F  4E 00                    \NETLOGO N.
write_socket(4,97)
write_socket(4,97) wrote 97
got smb length of 35
size=35
smb_com=0xa2
smb_rcls=2
smb_reh=0
smb_err=4
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=2924
smb_uid=100
smb_mid=1
smt_wct=0
smb_bcc=0

size=35
smb_com=0xa2
smb_rcls=2
smb_reh=0
smb_err=4
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=2924
smb_uid=100
smb_mid=1
smt_wct=0
smb_bcc=0

cli_nt_session_open: cli_nt_create failed on pipe \NETLOGON to machine TRUTH.  Error was ERRSRV - ERRaccess (The requester does not have  the  necessary  access  rights  within  the specified  context for the reque
cli_connection_free: 213
msrpc smb connection
size=41
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=18433
smb_tid=1
smb_pid=2924
smb_uid=100
smb_mid=1
smt_wct=3
smb_vwv[0]=34184 (0x8588)
smb_vwv[1]=65535 (0xFFFF)
smb_vwv[2]=65535 (0xFFFF)
smb_bcc=0

write_socket(4,45)
write_socket(4,45) wrote 45
got smb length of 35
size=35
smb_com=0x4
smb_rcls=1
smb_reh=0
smb_err=6
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=2924
smb_uid=100
smb_mid=1
smt_wct=0
smb_bcc=0

size=35
smb_com=0x4
smb_rcls=1
smb_reh=0
smb_err=6
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=2924
smb_uid=100
smb_mid=1
smt_wct=0
smb_bcc=0

cli_net_use_del: \\TRUTH. . . force close: No
connection: TRUTH  
idx: 0 num_users now: 0
size=39
smb_com=0x74
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=18433
smb_tid=0
smb_pid=2924
smb_uid=100
smb_mid=1
smt_wct=2
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_bcc=0

write_socket(4,43)
write_socket(4,43) wrote 43
got smb length of 39
size=39
smb_com=0x74
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=2924
smb_uid=100
smb_mid=1
smt_wct=2
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_bcc=0

size=39
smb_com=0x74
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=2924
smb_uid=100
smb_mid=1
smt_wct=2
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_bcc=0

cli_shutdown
cli_nt_setup_creds: request challenge failed
2000/01/25 17:37:39 : change_trust_account_password: Failed to change password for domain VIRTUE.


More information about the samba-ntdom mailing list