Login problems on solaris 2.5.1 with samba 2.0.3

Erik Duisters erik at total4.nl
Tue Mar 30 15:50:04 GMT 1999


Hi,

I'v tried this getpwnam out in a little c prog. it works fine.

I've included a log.smb at level 10. In this trace you can see that
the machine name goes into the samba box ok, but then when 
samba processes the rpc message, it gets lost.

Erik.


--------------------------------------------------------------------------------------------------
you have a bug in your OS which either truncates usernames to 8 
chars or 
strips the $ off the end of accounts. this is a bug in getpwnam() 
implementation. 

On Tue, 23 Mar 1999, Erik Duisters wrote: 

> Hi, 
> 
> I've installed samba 2.0.3 on a sparcstation 5 running solaris 
2.5.1. 
> I've configured samba as a logon server, created account in 
> smbpasswd etc. 
> 
> There is no problem in joining PC in the domain, but as soon as I 
> want to log in, I get the error message: C00000078. 
> 
> Looking through the log files, I see the following message: 
> 
> rpc_server/srv_netlog.c:get_md4pw(266) 
> get_md4pw: Workstation $: no account in domain 
> 
> When I run the same version of samba on Linux, everything 
works. 
> Does anybody have any ideas about this? 
> 
> Regards, 
> 
> Erik 
> 

-------------- next part --------------
[1999/03/30 16:53:28, 3] smbd/ipc.c:(3264)
  Got API command 0x26 on pipe "NETLOGON" (pnum 7019)api_fd_reply: p:134b78 file_offset: 1024
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(36)
  000000 smb_io_rpc_hdr 
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(111)
      0000 major     : 05
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(111)
      0001 minor     : 00
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(111)
      0002 pkt_type  : 00
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(111)
      0003 flags     : 03
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(139)
      0004 pack_type : 00000010
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(125)
      0008 frag_len  : 005c
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(125)
      000a auth_len  : 0000
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(139)
      000c call_id   : 00000001
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(36)
  000010 smb_io_rpc_hdr_req req
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(139)
      0010 alloc_hint: 00000044
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(125)
      0014 context_id: 0000
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(125)
      0016 opnum     : 0004
[1999/03/30 16:53:28, 3] rpc_server/srv_pipe.c:(599)
  Doing \PIPE\NETLOGON
[1999/03/30 16:53:28, 4] rpc_server/srv_pipe.c:(665)
  api_rpc_command: api_netlog_rpc op 0x4 - api_rpc_command: NET_REQCHAL
[1999/03/30 16:53:28, 5] rpc_server/srv_netlog.c:(285)
  api_net_req_chal(285): vuid 100
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(36)
  000018 net_io_q_req_chal 
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(139)
      0018 undoc_buffer: 00150f08
[1999/03/30 16:53:28, 6] rpc_parse/parse_prs.c:(36)
      00001c smb_io_unistr2 
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(139)
          001c uni_max_len: 0000000a
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(139)
          0020 undoc      : 00000000
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(139)
          0024 uni_str_len: 0000000a
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(218)
          0028 buffer     : \.\.A.L.X.T.M.0.8...
[1999/03/30 16:53:28, 6] rpc_parse/parse_prs.c:(36)
      00003c smb_io_unistr2 
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(139)
          003c uni_max_len: 00000006
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(139)
          0040 undoc      : 00000000
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(139)
          0044 uni_str_len: 00000006
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(218)
          0048 buffer     : 0.1.2.7.D...
[1999/03/30 16:53:28, 6] rpc_parse/parse_prs.c:(36)
      000054 smb_io_chal 
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(154)
          0054 data: 14 7f 93 5f 58 ff f2 01 
[1999/03/30 16:53:28, 10] passdb/passdb.c:(140)
  search by name: $
[1999/03/30 16:53:28, 10] passdb/smbpass.c:(45)
  startsmbfilepwent: opening file /usr/local/samba/private/smbpasswd
[1999/03/30 16:53:28, 6] passdb/smbpass.c:(159)
  getsmbfilepwent: skipping comment or blank line
[1999/03/30 16:53:28, 5] passdb/smbpass.c:(258)
  getsmbfilepwent: returning passwd entry for user 0127d$, uid 1004
[1999/03/30 16:53:28, 5] passdb/smbpass.c:(258)
  getsmbfilepwent: returning passwd entry for user duistere, uid 1003
[1999/03/30 16:53:28, 4] passdb/smbpass.c:(140)
  getsmbfilepwent: end of file reached
[1999/03/30 16:53:28, 5] passdb/smbpass.c:(306)
  getsmbfilepwent: end of file reached.
[1999/03/30 16:53:28, 7] passdb/smbpass.c:(81)
  endsmbfilepwent: closed password file.
[1999/03/30 16:53:28, 0] rpc_server/srv_netlog.c:(266)
  get_md4pw: Workstation $: no account in domain
[1999/03/30 16:53:28, 6] rpc_server/srv_netlog.c:(56)
  net_reply_req_chal: 56
[1999/03/30 16:53:28, 6] rpc_server/srv_netlog.c:(43)
  make_net_r_req_chal: 43
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(36)
  000000 net_io_r_req_chal 
[1999/03/30 16:53:28, 6] rpc_parse/parse_prs.c:(36)
      000000 smb_io_chal 
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(154)
          0000 data: 00 00 00 00 00 00 00 00 
[1999/03/30 16:53:28, 5] rpc_parse/parse_prs.c:(139)
      0008 status: c0000199
[1999/03/30 16:53:28, 6] rpc_server/srv_netlog.c:(64)
  net_reply_req_chal: 64


More information about the samba-ntdom mailing list