Win2k & 2.2.0 rpc failed

Gary Algier gaa at ulticom.com
Tue Apr 24 21:59:58 GMT 2001


I have a Win2k client and a Samba 2.2.0 server and I am trying to get PDC
functionality to work.  I get the error "The remote proceedure call failed"
[real informative MS, thanks].

I have the Samba server setup like the howto explains and it works for Win95,
but not Win2k.  Any ideas?

Am I doing the "join" wrong?  I right clicked to "My Computer" to get
"Properties", selected "Properties", told it my domain ("U"), my
computer ("OPAL"), and used root and its password for the "Domain Username
and Password".


I had manually created the machine entries:
---------------------------------------------------------------------------------
% grep opal /etc/passwd /etc/shadow private/smbpasswd
/etc/passwd:opal$:x:15001:15000::/dev/null:/bin/false
/etc/shadow:opal$:*LK*::::::14610:
private/smbpasswd:opal$:15001:10103436DAF67F84AAD3B435B51404EE:1BF8A739F495BE49F9684507DE3FDD3C:[W          ]:LCT-3AE5952D:
---------------------------------------------------------------------------------

The log file does not help much (level 3):
---------------------------------------------------------------------------------
[2001/04/24 17:45:11, 3] smbd/process.c:(831)
  Transaction 1 of length 137
[2001/04/24 17:45:11, 3] smbd/process.c:(650)
  switch message SMBnegprot (pid 20970)
[2001/04/24 17:45:11, 3] smbd/sec_ctx.c:(310)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
...
[2001/04/24 17:45:12, 3] smbd/password.c:(311)
  User name: root       Real name: Super-User
...
[2001/04/24 17:45:12, 3] smbd/service.c:(638)
  opal (192.73.206.15) connect to service IPC$ as user root (uid=0, gid=1) (pid 
20970)
[2001/04/24 17:45:12, 3] smbd/sec_ctx.c:(310)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/04/24 17:45:12, 3] smbd/reply.c:(367)
  tconX service=ipc$ user=root
...
  Got API command 0x26 on pipe "samr" (pnum 7004)free_pipe_context: destroying t
alloc pool of size 0
[2001/04/24 17:45:13, 3] rpc_server/srv_pipe.c:(1163)
  Doing \PIPE\samr
[2001/04/24 17:45:13, 3] rpc_server/srv_pipe.c:(1195)
  api_rpcTNP: rpc command: SAMR_CLOSE_HND
[2001/04/24 17:45:13, 3] rpc_server/srv_lsa_hnd.c:(182)
  Error closing policy
[2001/04/24 17:45:13, 3] rpc_server/srv_pipe_hnd.c:(417)
  free_pipe_context: destroying talloc pool of size 0
[2001/04/24 17:45:13, 3] smbd/process.c:(831)
  Transaction 9 of length 124
[2001/04/24 17:45:13, 3] smbd/process.c:(650)
  switch message SMBtrans (pid 20972)
[2001/04/24 17:45:13, 3] smbd/ipc.c:(482)
  trans <\PIPE\> data=44 params=0 setup=2
[2001/04/24 17:45:13, 3] smbd/ipc.c:(334)
  named pipe command on <> name
[2001/04/24 17:45:13, 1] smbd/ipc.c:(292)
  api_fd_reply: INVALID PIPE HANDLE: 7002
[2001/04/24 17:45:13, 3] smbd/ipc.c:(254)
  Unsupported API fd command
[2001/04/24 17:46:13, 3] smbd/sec_ctx.c:(310)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/04/24 17:47:13, 3] smbd/sec_ctx.c:(310)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/04/24 17:48:13, 3] smbd/sec_ctx.c:(310)
---------------------------------------------------------------------------------

Here's how I built it (this is a solaris 8 system, btw):
---------------------------------------------------------------------------------
./configure  --prefix=/usr/local/it --with-configdir=/etc/samba --libdir=/etc/samba --sharedstatedir=/var/samba/run --localstatedir=/var/samba/run --with-privatedir=/etc/samba/private --with-lockdir=/var/samba/locks --with-readline=/usr/local/it --without-pam --with-profile --with-utmp --with-vfs --with-acl-support
---------------------------------------------------------------------------------
And here's the smb.conf file:

---------------------------------------------------------------------------------
# Samba config file created using SWAT
# from x.y.com (172.25.0.1)
# Date: 2001/04/24 17:34:50

# Global parameters
[global]
        workgroup = U
        netbios name = CHUCKIE
        server string = Chuckie
        interfaces = 172.26.0.4/24
        bind interfaces only = Yes
        encrypt passwords = Yes
        update encrypted = Yes
        passwd program = /bin/passwd -r nis %u
        passwd chat = *password* %n\n *password* %n\n *changed*
        unix password sync = Yes
        log level = 3
        log file = /var/samba/run/log.%m
        printcap name = /dev/null
        domain admin group = @adm
        logon script = login.cmd
        logon path = \\%N\profiles\%u
        logon drive = h:
        domain logons = Yes
        os level = 65
        preferred master = True
        domain master = True
        guest account = ftp
        share modes = No

[netlogon]
        path = /etc/samba/netlogon
        write list = @adm

[profiles]
        path = /export/samba/profiles
        read only = No
        create mask = 0600
        directory mask = 0700
---------------------------------------------------------------------------------

-- 
Gary Algier, WB2FWZ       gary.algier at ulticom.com           +1 856 787 2758
Ulticom Inc., 1020 Briggs Rd, Mt. Laurel, NJ 08054      Fax:+1 856 866 2033

       A self-addressed envelope would be addressed "envelope."




More information about the samba mailing list