[Samba] HELP: Procedure number is out of range

Jeff Martin jeffrmartin at yahoo.com
Tue Aug 20 15:34:01 GMT 2002


Greetings,

I'm here as my last resort, spent all day researching
and still without an answer, though I saw many
references to the same problem.  I have a Solaris 8 U2
running Samba 2.2.5 compiled with one flag:
--with-acl-support

I've setup a machine account in /etc/passwd and
/opt/sfw/private/smbpasswd according to the FAQ. Also
tried the automagic way as well in the smb.conf. I
also have a valid user account for samba as well.

Logging is on and set to 10. I will include an output
of testparm at the end of this message with the Global
settings. 

The problem is when I try to join the domain from the
XP PRO laptop, I get "procedure number is out of
range" and I am stuck there. I use the root account as
the account with "permission" to join the domain, but
no joy. 

The XP PRO laptop has had all the recent M$ patches
applied but I have not done anything else to the
system with respect to modifying any files for use
with samba, registry hacks or the such.

I am a little stumped about someones post about the
domain having odd or even character numbers, can
someone clarify this? 

I am able to login successfully using a Windows 98SE
machine configured for domain logins.

Any direction at this point will be gracefully
appreciated....Thanks for your time.

--Jeff

----------------
smbclient -L hostname output
----------------
Domain=[AHT] OS=[Unix] Server=[Samba 2.0.7]

        Sharename   Type   Comment
        ---------   ----   -------
        cdimages    Disk   CDROM images
        netlogon    Disk      
        IPC$        IPC    IPC Service (Irvine Lab
SSE)
        root        Disk      Home Directories

        Server          Comment
        ---------       -------
        KMART           Irvine Lab SSE
        VAIO            Sony Laptop XP professional

        Workgroup            Master
        ---------            -------
        AHT                  KMART
        
-----------------------------------------
smbstatus report
-----------------------------------------

kmart# smbstatus

Samba version 2.2.5
Service      uid      gid      pid     machine
----------------------------------------------

No locked files





------------------------------------------
testparm output
------------------------------------------

[global]
     coding system = 
     client code page = 850
     code page directory = /opt/sfw/lib/codepages
     workgroup = AHT
     netbios name = KMART
     netbios aliases = 
     netbios scope = 
     server string = Irvine Lab SSE
     interfaces = 
     bind interfaces only = No
     security = USER
     encrypt passwords = Yes
     update encrypted = No
     allow trusted domains = Yes
     hosts equiv = 
     min passwd length = 5
     map to guest = Never
     null passwords = No
     obey pam restrictions = No
     password server = 
     smb passwd file = /opt/sfw/private/smbpasswd
     root directory = 
     pam password change = No
     passwd program = /usr/bin/passwd
     passwd chat = *new*password* %n\n *new*password*
%n\n *changed*
     passwd chat debug = No
     username map = 
     password level = 0
     username level = 0
     unix password sync = No
     restrict anonymous = No
     lanman auth = Yes
     use rhosts = No
     admin log = No
     log level = 10
     syslog = 1
     syslog only = No
     log file = /var/adm/samba/log.%m
     max log size = 5000
     timestamp logs = Yes
     debug hires timestamp = No
     debug pid = No
     debug uid = No
     protocol = NT1
     large readwrite = No
     max protocol = NT1
     min protocol = CORE
     read bmpx = No
     read raw = Yes
     write raw = Yes
     nt smb support = Yes
     nt pipe support = Yes
     nt status support = Yes
     announce version = 4.5
     announce as = NT
     max mux = 50
     max xmit = 65535
     name resolve order = wins lmhosts hosts bcast
     max packet = 65535
     max ttl = 259200
     max wins ttl = 518400
     min wins ttl = 21600
     time server = No
     unix extensions = No
     change notify timeout = 60
     deadtime = 0
     getwd cache = Yes
     keepalive = 300
     lpq cache time = 10
     max smbd processes = 0
     max disk size = 0
     max open files = 10000
     read size = 16384
     socket options = TCP_NODELAY
     stat cache size = 50
     use mmap = Yes
     total print jobs = 0
     load printers = Yes
     printcap name = lpstat
     disable spoolss = No
     enumports command = 
     addprinter command = 
     deleteprinter command = 
     show add printer wizard = Yes
     os2 driver map = 
     strip dot = No
     mangling method = hash
     character set = 
     mangled stack = 50
     stat cache = Yes
     domain admin group = 
     domain guest group = 
     machine password timeout = 604800
     add user script = /usr/sbin/useradd -g machines
-c Machine -d /dev/null -s /bin/false -n %m$
     delete user script = 
     logon script = 
     logon path = \\%N\%U\profile
     logon drive = 
     logon home = \\%N\%U
     domain logons = Yes
     os level = 64
     lm announce = Auto
     lm interval = 60
     preferred master = True
     local master = Yes
     domain master = True
     browse list = Yes
     enhanced browsing = Yes
     dns proxy = No
     wins proxy = Yes
     wins server = 129.153.21.183
     wins support = No
     wins hook = 
     kernel oplocks = Yes
     lock spin count = 3
     lock spin time = 10
     oplock break wait time = 0
     add share command = 
     change share command = 
     delete share command = 
     config file = 
     preload = 
     lock dir = /opt/sfw/var/locks
     pid directory = /opt/sfw/var/locks
     default service = 
     message command = 
     dfree command = 
     valid chars = 
     remote announce = 
     remote browse sync = 
     socket address = 0.0.0.0
     homedir map = 
     time offset = 0
     NIS homedir = No
     source environment = 
     panic action = 
     hide local users = No
     winbind uid = 
     winbind gid = 
     template homedir = /home/%D/%U
     template shell = /bin/false
     winbind separator = \
     winbind cache time = 15
     winbind enum users = Yes
     winbind enum groups = Yes
     winbind use default domain = No
     comment = 
     path = 
     alternate permissions = No
     username = 
     guest account = nobody
     invalid users = 
     valid users = 
     admin users = 
     read list = 
     write list = 
     printer admin = 
     force user = 
     force group = 
     read only = Yes
     create mask = 0744
     force create mode = 00
     security mask = 0777
     force security mode = 00
     directory mask = 0755
     force directory mode = 00
     directory security mask = 0777
     force directory security mode = 00
     force unknown acl user = 00
     inherit permissions = No
     inherit acls = No
     guest only = No
     guest ok = No
     only user = No
     hosts allow = 
     hosts deny = 
     status = Yes
     nt acl support = Yes
     block size = 1024
     max connections = 0
     min print space = 0
     strict allocate = No
     strict sync = No
     sync always = No
     write cache size = 0
     max print jobs = 1000
     printable = No
     postscript = No
     printing = sysv
     print command = lp -c -d%p %s; rm %s
     lpq command = lpstat -o%p
     lprm command = cancel %p-%j
     lppause command = lp -i %p-%j -H hold
     lpresume command = lp -i %p-%j -H resume
     queuepause command = disable %p
     queueresume command = enable %p
     printer name = 
     use client driver = No
     default devmode = No
     printer driver = 
     printer driver file = /opt/sfw/lib/printers.def
     printer driver location = 
     default case = lower
     case sensitive = No
     preserve case = Yes
     short preserve case = Yes
     mangle case = No
     mangling char = ~
     hide dot files = Yes
     hide unreadable = No
     delete veto files = No
     veto files = 
     hide files = 
     veto oplock files = 
     map system = No
     map hidden = No
     map archive = Yes
     mangled names = Yes
     mangled map = 
     browseable = Yes
     blocking locks = Yes
     csc policy = manual
     fake oplocks = No
     locking = Yes
     oplocks = Yes
     level2 oplocks = Yes
     oplock contention limit = 2
     posix locking = Yes
     strict locking = No
     share modes = Yes
     copy = 
     include = 
     exec = 
     preexec close = No
     postexec = 
     root preexec = 
     root preexec close = No
     root postexec = 
     available = Yes
     volume = 
     fstype = NTFS
     set directory = No
     wide links = Yes
     follow symlinks = Yes
     dont descend = 
     magic script = 
     magic output = 
     delete readonly = No
     dos filemode = No
     dos filetimes = No
     dos filetime resolution = No
     fake directory create times = No
     vfs object = 
     vfs options =

------------------------------------------------------
output from laptop log file when trying to join domain
(last 200 lines)
------------------------------------------------------
[2002/08/20 17:01:00, 5]
rpc_parse/parse_prs.c:prs_uint8(359)
      0003 flags     : 03
[2002/08/20 17:01:00, 5]
rpc_parse/parse_prs.c:prs_uint8(359)
      0004 pack_type0: 10
[2002/08/20 17:01:00, 5]
rpc_parse/parse_prs.c:prs_uint8(359)
      0005 pack_type1: 00
[2002/08/20 17:01:00, 5]
rpc_parse/parse_prs.c:prs_uint8(359)
      0006 pack_type2: 00
[2002/08/20 17:01:00, 5]
rpc_parse/parse_prs.c:prs_uint8(359)
      0007 pack_type3: 00
[2002/08/20 17:01:00, 5]
rpc_parse/parse_prs.c:prs_uint16(375)
      0008 frag_len  : 0030
[2002/08/20 17:01:00, 5]
rpc_parse/parse_prs.c:prs_uint16(375)
      000a auth_len  : 0000
[2002/08/20 17:01:00, 5]
rpc_parse/parse_prs.c:prs_uint32(391)
      000c call_id   : 00000004
[2002/08/20 17:01:00, 5]
rpc_parse/parse_prs.c:prs_debug(37)
  000010 smb_io_rpc_hdr_resp resp
[2002/08/20 17:01:00, 5]
rpc_parse/parse_prs.c:prs_uint32(391)
      0010 alloc_hint: 00000018
[2002/08/20 17:01:00, 5]
rpc_parse/parse_prs.c:prs_uint16(375)
      0014 context_id: 0000
[2002/08/20 17:01:00, 5]
rpc_parse/parse_prs.c:prs_uint8(359)
      0016 cancel_ct : 00
[2002/08/20 17:01:00, 5]
rpc_parse/parse_prs.c:prs_uint8(359)
      0017 reserved  : 00
[2002/08/20 17:01:00, 5]
smbd/ipc.c:copy_trans_params_and_data(156)
  copy_trans_params_and_data: params[0..0] data[0..48]
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(430)
  size=104
  smb_com=0x25
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(436)
  smb_tid=2
  smb_pid=740
  smb_uid=113
  smb_mid=5760
  smt_wct=10
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(441)
  smb_vwv[0]=0 (0x0)
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(441)
  smb_vwv[1]=48 (0x30)
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(441)
  smb_vwv[2]=0 (0x0)
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(441)
  smb_vwv[3]=0 (0x0)
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(441)
  smb_vwv[4]=56 (0x38)
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(441)
  smb_vwv[5]=0 (0x0)
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(441)
  smb_vwv[6]=48 (0x30)
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(441)
  smb_vwv[7]=56 (0x38)
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(441)
  smb_vwv[8]=0 (0x0)
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(441)
  smb_vwv[9]=0 (0x0)
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(446)
  smb_bcc=49
[2002/08/20 17:01:00, 10] lib/util.c:dump_data(2918)
  [000] 00 05 00 02 03 10 00 00  00 30 00 00 00 04 00
00  ........ .0......
[2002/08/20 17:01:00, 10] lib/util.c:dump_data(2926)
  [010] 00 18 00 00 00 00 00 00  00 00 00 00 00 00 00
00  ........ ........
[2002/08/20 17:01:00, 10] lib/util.c:dump_data(2926)
  [020] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00
00  ........ ........
[2002/08/20 17:01:00, 10] lib/util.c:dump_data(2926)
  [030] 00                                            
   . 
[2002/08/20 17:01:00, 6]
lib/util_sock.c:write_socket(560)
  write_socket(7,108)
[2002/08/20 17:01:00, 6]
lib/util_sock.c:write_socket(563)
  write_socket(7,108) wrote 108
[2002/08/20 17:01:00, 10]
lib/util_sock.c:read_smb_length_return_keepalive(602)
  got smb length of 41
[2002/08/20 17:01:00, 6]
smbd/process.c:process_smb(617)
  got message type 0x0 of len 0x29
[2002/08/20 17:01:00, 3]
smbd/process.c:process_smb(618)
  Transaction 92 of length 45
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(430)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=2055
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(436)
  smb_tid=2
  smb_pid=65279
  smb_uid=113
  smb_mid=5824
  smt_wct=3
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(441)
  smb_vwv[0]=28683 (0x700B)
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(441)
  smb_vwv[1]=65535 (0xFFFF)
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(441)
  smb_vwv[2]=65535 (0xFFFF)
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(446)
  smb_bcc=0
[2002/08/20 17:01:00, 3]
smbd/process.c:switch_message(448)
  switch message SMBclose (pid 29639)
[2002/08/20 17:01:00, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2002/08/20 17:01:00, 4]
rpc_server/srv_pipe_hnd.c:get_rpc_pipe(817)
  search for pipe pnum=700b
[2002/08/20 17:01:00, 5]
rpc_server/srv_pipe_hnd.c:get_rpc_pipe(821)
  pipe name lsarpc pnum=700b (pipes_open=2)
[2002/08/20 17:01:00, 5]
rpc_server/srv_pipe_hnd.c:get_rpc_pipe(821)
  pipe name winreg pnum=7007 (pipes_open=2)
[2002/08/20 17:01:00, 5]
smbd/pipes.c:reply_pipe_close(256)
  reply_pipe_close: pnum:700b
[2002/08/20 17:01:00, 4]
rpc_server/srv_pipe_hnd.c:close_rpc_pipe_hnd(784)
  closed pipe name lsarpc pnum=700b (pipes_open=1)
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(430)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(436)
  smb_tid=2
  smb_pid=65279
  smb_uid=113
  smb_mid=5824
  smt_wct=0
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(446)
  smb_bcc=0
[2002/08/20 17:01:00, 6]
lib/util_sock.c:write_socket(560)
  write_socket(7,39)
[2002/08/20 17:01:00, 6]
lib/util_sock.c:write_socket(563)
  write_socket(7,39) wrote 39
[2002/08/20 17:01:00, 10]
lib/util_sock.c:read_smb_length_return_keepalive(602)
  got smb length of 35
[2002/08/20 17:01:00, 6]
smbd/process.c:process_smb(617)
  got message type 0x0 of len 0x23
[2002/08/20 17:01:00, 3]
smbd/process.c:process_smb(618)
  Transaction 93 of length 39
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(430)
  size=35
  smb_com=0x71
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=2055
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(436)
  smb_tid=2
  smb_pid=65279
  smb_uid=113
  smb_mid=5888
  smt_wct=0
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(446)
  smb_bcc=0
[2002/08/20 17:01:00, 3]
smbd/process.c:switch_message(448)
  switch message SMBtdis (pid 29639)
[2002/08/20 17:01:00, 3] lib/doscalls.c:dos_ChDir(342)
  dos_ChDir to /opt/sfw/bin
[2002/08/20 17:01:00, 5] smbd/uid.c:unbecome_user(297)
  unbecome_user now uid=(0,0) gid=(0,0)
[2002/08/20 17:01:00, 3]
smbd/service.c:close_cnum(583)
  vaio (129.153.21.31) closed connection to service
IPC$
[2002/08/20 17:01:00, 3]
smbd/connection.c:yield_connection(45)
  Yielding connection to IPC$
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(430)
  size=35
  smb_com=0x71
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(436)
  smb_tid=2
  smb_pid=65279
  smb_uid=113
  smb_mid=5888
  smt_wct=0
[2002/08/20 17:01:00, 5] lib/util.c:show_msg(446)
  smb_bcc=0
[2002/08/20 17:01:00, 6]
lib/util_sock.c:write_socket(560)
  write_socket(7,39)
[2002/08/20 17:01:00, 6]
lib/util_sock.c:write_socket(563)
  write_socket(7,39) wrote 39
[2002/08/20 17:01:00, 10]
lib/util_sock.c:read_socket_data(471)
  read_socket_data: recv of 4 returned 0. Error =
Error 0
[2002/08/20 17:01:00, 10]
lib/util_sock.c:receive_smb(654)
  receive_smb: length < 0!
[2002/08/20 17:01:00, 3]
smbd/process.c:timeout_processing(856)
  end of file from client
[2002/08/20 17:01:00, 2]
smbd/server.c:exit_server(408)
  Closing connections
[2002/08/20 17:01:00, 3]
smbd/server.c:exit_server(435)
  Server exit (normal exit)




 

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com



More information about the samba mailing list