Problem connecting to a Samba PDC

Petr Stastny happy at opf.slu.cz
Fri Apr 2 16:43:41 GMT 1999


Simon Barber wrote:

> > I have properly configured Samba-2.1.0 to act as a PDC for my
Windows
> > NTSP3 workstations. I added a computer account for one workstation
and
> > now that I try to connect to the domain, I get the following error
> > message from the NT4 box:
> > "The connection to the domain is already created. Before joining the

> > domain you must disconnect".
> > And this while I am logged on as administrator.
> >
> > Somebody any ideas what could be the cause?
>
> I had the very same problem. It's caused when you have drives and/ or
> printers mapped to the domain you're trying to connect to. I got
> round this by disconnecting all drives and printers and then trying
again.
>
> Simon
>
>
------------------------------------------------------------------------

>  Simon Barber                                     Systems
Administrator
>  sbarber at mcg.co.uk                                Melville Craig Group

>
> The Rules of Combat
> 4. The easy way is always mined.
>
------------------------------------------------------------------------



Thank you for this hint, Simon.

Anyway, it still doesn't work, but the error message is now other. When
I try
to connect I get "Unable to connect to the domain master for this
domain.
Please ask the system administrator to check the computer account in the

domain". And this I get even when I did everything exactly as I read it
in the
FAQ.

In the logs I see the NT box communicates with the Samba PDC, but there
are
errors in it.

my log seems as follow (with debug level set to 20):

  Transaction 2 of length 159
[1999/04/02 16:27:41, 5] lib/util.c:show_msg(494)
  size=155
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=3
[1999/04/02 16:27:41, 5] lib/util.c:show_msg(500)
  smb_tid=0
  smb_pid=51966
  smb_uid=0
  smb_mid=0
  smt_wct=13
[1999/04/02 16:27:41, 5] lib/util.c:show_msg(505)
  smb_vwv[0]=117 (0x75)
[1999/04/02 16:27:41, 5] lib/util.c:show_msg(505)
  smb_vwv[1]=121 (0x79)
[1999/04/02 16:27:41, 5] lib/util.c:show_msg(505)
  smb_vwv[2]=61440 (0xF000)
[1999/04/02 16:27:41, 5] lib/util.c:show_msg(505)
  smb_vwv[3]=50 (0x32)
[1999/04/02 16:27:41, 5] lib/util.c:show_msg(505)
  smb_vwv[4]=0 (0x0)
[1999/04/02 16:27:41, 5] lib/util.c:show_msg(505)
  smb_vwv[5]=1729 (0x6C1)
[1999/04/02 16:27:41, 5] lib/util.c:show_msg(505)
  smb_vwv[6]=0 (0x0)
[1999/04/02 16:27:41, 5] lib/util.c:show_msg(505)
  smb_vwv[7]=11 (0xB)
[1999/04/02 16:27:41, 5] lib/util.c:show_msg(505)
  smb_vwv[8]=18255 (0x474F)
[1999/04/02 16:27:41, 5] lib/util.c:show_msg(505)
  smb_vwv[9]=0 (0x0)
[1999/04/02 16:27:41, 5] lib/util.c:show_msg(505)
  smb_vwv[10]=0 (0x0)
[1999/04/02 16:27:41, 5] lib/util.c:show_msg(505)
  smb_vwv[11]=212 (0xD4)
[1999/04/02 16:27:41, 5] lib/util.c:show_msg(505)
  smb_vwv[12]=0 (0x0)
[1999/04/02 16:27:41, 5] lib/util.c:show_msg(510)
  smb_bcc=60
[1999/04/02 16:27:41, 10] lib/util.c:dump_data(3001)
  [000] 73 75 70 65 72 76 69 73  6F 72 00 53 55 50 45 52  supervis
or.SUPER
  [010] 56 49 53 4F 52 24 00 41  44 4D 00 57 69 6E 64 6F  VISOR$.A
DM.Windo
  [020] 77 73 20 4E 54 20 31 33  38 31 00 00 57 69 6E 64  ws NT 13
81..Wind
  [030] 6F 77 73 20 4E 54 20 34  2E 30 00 00              ows NT 4 .0..
[1999/04/02 16:27:41, 3] smbd/process.c:switch_message(402)
  switch message SMBsesssetupX (pid 1729)
[1999/04/02 16:27:41, 3] smbd/reply.c:reply_sesssetup_and_X(625)
  Domain=[ADM]  NativeOS=[Windows NT 1381] NativeLanMan=[]
[1999/04/02 16:27:41, 3] smbd/reply.c:reply_sesssetup_and_X(629)
  sesssetupX:name=[SUPERVISOR$]
[1999/04/02 16:27:41, 6] param/loadparm.c:lp_file_list_changed(1817)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf
last
mod_
time: Fri Apr  2 16:16:02 1999

[1999/04/02 16:27:41, 10] lib/domain_namemap.c:lookupsmbpwntnam(1075)
  lookupsmbpwntnam: nt user name ADM\supervisor$
[1999/04/02 16:27:41, 10] lib/sids.c:split_domain_name(596)
  name 'ADM\supervisor$' split into domain:ADM and nt name:supervisor$'
[1999/04/02 16:27:41, 10] lib/domain_namemap.c:load_name_map(526)
  initialising map
[1999/04/02 16:27:41, 4] passdb/pass_check.c:pass_check(781)
  Checking password for user supervisor$ (l=10)
[1999/04/02 16:27:44, 3] smbd/error.c:error_packet(138)
  error packet at line 721 cmd=115 (SMBsesssetupX) eclass=2 ecode=2
[1999/04/02 16:27:44, 3] smbd/error.c:error_packet(143)
  error string = No such file or directory
[1999/04/02 16:27:44, 5] lib/util.c:show_msg(494)
  size=35
  smb_com=0x73
  smb_rcls=2
  smb_reh=0
  smb_err=2
  smb_flg=136
  smb_flg2=1
[1999/04/02 16:27:44, 5] lib/util.c:show_msg(500)
  smb_tid=0
  smb_pid=51966
  smb_uid=0
  smb_mid=0
  smt_wct=0
[1999/04/02 16:27:44, 5] lib/util.c:show_msg(510)
  smb_bcc=0
[1999/04/02 16:27:44, 6] lib/util_sock.c:write_socket(185)
  write_socket(6,39)
[1999/04/02 16:27:44, 6] lib/util_sock.c:write_socket(188)
  write_socket(6,39) wrote 39
[1999/04/02 16:27:44, 10] lib/util_sock.c:receive_smb(493)
  receive_smb: length < 0!
[1999/04/02 16:27:44, 3] smbd/process.c:smbd_process(810)
  end of file from client
[1999/04/02 16:27:44, 2] smbd/server.c:exit_server(406)
  Closing connections
[1999/04/02 16:27:44, 3] smbd/server.c:exit_server(431)
  Server exit (normal exit)

What can I do with this?

Petr Stastny
-------------- next part --------------
A non-text attachment was scrubbed...
Name: happy.vcf
Type: text/x-vcard
Size: 201 bytes
Desc: Card for Petr Stastny
Url : http://lists.samba.org/archive/samba-ntdom/attachments/19990402/a53a4cf3/happy.vcf


More information about the samba-ntdom mailing list