'The procedure number is out of range' w/ new 2.2.0 release

Hunter M h-morris at northwestern.edu
Fri Apr 20 21:37:36 GMT 2001


Some progress .. I don't know if this has been covered, and I apologize if I didn't look through the mailing list archive closely enough. Apparently the machine accounts in smbpasswd have to have the same password as the administrator you use to join the domain. This may or may not be the way it's supposed to be done, but I hope the new FAQ covers something along these lines.

Thanks,
~Hunter

Hunter M (h-morris at northwestern.edu) wrote:
> Hi--
> 
> I recently compiled the new 2.2.0 release on a machine running FreeBSD 4.2-RELEASE. I set it up to be a PDC, but I'm unable to join the domain from a Windows 2000 workstation (SP1), and receive a "The procedure number is out of range" error. I'm not sure what debugging information you guys would need or if this is even the right list, but I've attached my smb.conf file and a bit of log.unnamed (unnamed is the name of the computer I'm trying ot join the domain with).
> 
> [global]
> 
>   debug level = 10
>   netbios name = ABBEYROAD
>   workgroup = BEATLES
> 
>   os level = 65
>   preferred master = yes
>   domain master = yes
>   local master = yes
> 
>   security = user
>   encrypt passwords = yes
>   domain logons = yes
>   unix password sync = yes
>   passwd program = /usr/bin/passwd %u
>   passwd chat = *password* %n\n *password* %n\n *done*
>   domain admin group = @ntadmin
> 
>   logon path = /usr/local/samba/profiles/%u
> 
>   log file = /usr/local/samba/var/log/log.%m
>   max log size = 50
>   socket options = TCP_NODELAY
> 
> [homes]
>   comment = Home Directories
>   browseable = no
>   writeable = yes
> 
> [src]
>   comment =
>   path = /usr/local/src
>   browseable = no
>   writeable = yes
>   guest ok = no
> 
> [netlogon]
>   comment = Network Logon Service
>   path = /usr/local/samba/lib/netlogon
>   guest ok = yes
>   writeable = no
> 
> [profiles]
>   path = /usr/local/samba/profiles
>   writeable = yes
>   create mask = 0600
>   directory mask = 0700
> 
> ** log.unnamed - unnamed is the computer i'm trying to join to the domain **
> 
> [2001/04/19 19:48:09, 5] smbd/pipes.c:reply_pipe_close(257)
>   reply_pipe_close: pnum:7006
> [2001/04/19 19:48:09, 10] rpc_server/srv_lsa_hnd.c:close_policy_by_pipe(222)
>   close_policy_by_pipe: deleted handle list for pipe lsarpc
> [2001/04/19 19:48:09, 4] rpc_server/srv_pipe_hnd.c:close_rpc_pipe_hnd(916)
>   closed pipe name lsarpc pnum=7006 (pipes_open=0)
> [2001/04/19 19:48:09, 5] lib/util.c:show_msg(292)
>   size=35
>   smb_com=0x4
>   smb_rcls=0
>   smb_reh=0
>   smb_err=0
>   smb_flg=136
>   smb_flg2=1
> [2001/04/19 19:48:09, 5] lib/util.c:show_msg(298)
>   smb_tid=1
>   smb_pid=65279
>   smb_uid=100
>   smb_mid=1792
>   smt_wct=0
> [2001/04/19 19:48:09, 5] lib/util.c:show_msg(308)
>   smb_bcc=0
> [2001/04/19 19:48:09, 6] lib/util_sock.c:write_socket(560)
>   write_socket(11,39)
> [2001/04/19 19:48:09, 6] lib/util_sock.c:write_socket(563)
>   write_socket(11,39) wrote 39
> [2001/04/19 19:48:09, 10]
> lib/util_sock.c:read_smb_length_return_keepalive(602)
>   got smb length of 35
> [2001/04/19 19:48:09, 6] smbd/process.c:process_smb(830)
>   got message type 0x0 of len 0x23
> [2001/04/19 19:48:09, 3] smbd/process.c:process_smb(831)
>   Transaction 30 of length 39
> [2001/04/19 19:48:09, 5] lib/util.c:show_msg(292)
>   size=35
>   smb_com=0x71
>   smb_rcls=0
>   smb_reh=0
>   smb_err=0
>   smb_flg=24
>   smb_flg2=2055
> [2001/04/19 19:48:09, 5] lib/util.c:show_msg(298)
>   smb_tid=1
>   smb_pid=65279
>   smb_uid=100
>   smb_mid=1856
>   smt_wct=0
> [2001/04/19 19:48:09, 5] lib/util.c:show_msg(308)
>   smb_bcc=0
> [2001/04/19 19:48:09, 3] smbd/process.c:switch_message(650)
>   switch message SMBtdis (pid 1294)
> [2001/04/19 19:48:09, 3] smbd/sec_ctx.c:set_sec_ctx(310)
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2001/04/19 19:48:09, 5] smbd/uid.c:unbecome_user(217)
>   unbecome_user now uid=(0,0) gid=(0,0)
> [2001/04/19 19:48:09, 3] smbd/sec_ctx.c:set_sec_ctx(310)
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2001/04/19 19:48:09, 5] smbd/uid.c:unbecome_user(217)
>   unbecome_user now uid=(0,0) gid=(0,0)
> [2001/04/19 19:48:09, 3] smbd/service.c:close_cnum(678)
>   unnamed (129.105.188.66) closed connection to service IPC$
> [2001/04/19 19:48:09, 3] smbd/connection.c:yield_connection(54)
>   Yielding connection to IPC$
> [2001/04/19 19:48:09, 3] smbd/sec_ctx.c:set_sec_ctx(310)
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2001/04/19 19:48:09, 5] smbd/uid.c:unbecome_user(217)
>   unbecome_user now uid=(0,0) gid=(0,0)
> [2001/04/19 19:48:09, 5] lib/util.c:show_msg(292)
>   size=35
>   smb_com=0x71
>   smb_rcls=0
>   smb_reh=0
>   smb_err=0
>   smb_flg=136
>   smb_flg2=1
> [2001/04/19 19:48:09, 5] lib/util.c:show_msg(298)
>   smb_tid=1
>   smb_pid=65279
>   smb_uid=100
>   smb_mid=1856
>   smt_wct=0
> [2001/04/19 19:48:09, 5] lib/util.c:show_msg(308)
>   smb_bcc=0
> [2001/04/19 19:48:09, 6] lib/util_sock.c:write_socket(560)
>   write_socket(11,39)
> [2001/04/19 19:48:09, 6] lib/util_sock.c:write_socket(563)
>   write_socket(11,39) wrote 39
> [2001/04/19 19:48:09, 10] lib/util_sock.c:read_socket_data(473)
>   read_socket_data: recv of 4 returned 0. Error = Undefined error: 0
> [2001/04/19 19:48:09, 10] lib/util_sock.c:receive_smb(654)
>   receive_smb: length < 0!
> [2001/04/19 19:48:09, 3] smbd/process.c:timeout_processing(1055)
>   end of file from client
> [2001/04/19 19:48:09, 3] smbd/sec_ctx.c:set_sec_ctx(310)
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2001/04/19 19:48:09, 5] smbd/uid.c:unbecome_user(217)
>   unbecome_user now uid=(0,0) gid=(0,0)
> [2001/04/19 19:48:09, 2] smbd/server.c:exit_server(440)
>   Closing connections
> [2001/04/19 19:48:09, 3] smbd/connection.c:yield_connection(54)
>   Yielding connection to
> [2001/04/19 19:48:09, 3] smbd/server.c:exit_server(473)
>   Server exit (normal exit)
> 
> 
> Thanks!
> 
> ~Hunter
> skarab at resnet.northwestern.edu
> 




More information about the samba-technical mailing list