[Samba] Joining a W2K domain
Craig Taylor
craig.taylor at theforwardgroup.com
Tue Sep 9 14:38:49 GMT 2003
Hi
I have set up Samba v 2.23 on OSX and have tried to join it to a domain.
I have added the following to smb.conf
Security = domain
Workgroup = theforwardgroup
I then run sudo smbpasswd -j theforwardgroup -r PDF -U Domain\
Admin%password -D 10
And get the following, I have already added a computer record to the AD PDC,
do I need to modify anything else to get it to work?
added interface ip=192.168.1.51 bcast=192.168.1.255 nmask=255.255.255.0
cli_init_creds: user Domain Admin domain THEFORWARDGROUP flgs: 0
ntlmssp_cli_flgs:0
resolve_srv_name: PDF
resolve_lmhosts: Attempting lmhosts lookup for name PDF<0x20>
startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such file
or directory
resolve_hosts: Attempting host lookup for name PDF<0x20>
cli_establish_connection: SERVER1<00> connecting to PDF<20> (192.168.1.25) -
Domain Admin [THEFORWARDGROUP]
Connecting to 192.168.1.25 at port 445
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 4
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_REUSEPORT = 0
socket option SO_SNDBUF = 33304
socket option SO_RCVBUF = 33304
socket option SO_SNDLOWAT = 2048
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
write_socket(4,168)
write_socket(4,168) wrote 168
got smb length of 117
size=117
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=7031
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=7 (0x7)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=1024 (0x400)
smb_vwv[4]=65 (0x41)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=64768 (0xFD00)
smb_vwv[10]=243 (0xF3)
smb_vwv[11]=1024 (0x400)
smb_vwv[12]=52082 (0xCB72)
smb_vwv[13]=56880 (0xDE30)
smb_vwv[14]=50038 (0xC376)
smb_vwv[15]=50177 (0xC401)
smb_vwv[16]=2303 (0x8FF)
smb_bcc=48
[000] 28 22 35 EE B3 2E ED 68 54 00 48 00 45 00 46 00 ("5....h T.H.E.F.
[010] 4F 00 52 00 57 00 41 00 52 00 44 00 47 00 52 00 O.R.W.A. R.D.G.R.
[020] 4F 00 55 00 50 00 54 48 50 00 44 00 46 00 00 00 O.U.P.TH P.D.F...
size=117
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=7031
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=7 (0x7)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=1024 (0x400)
smb_vwv[4]=65 (0x41)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=64768 (0xFD00)
smb_vwv[10]=243 (0xF3)
smb_vwv[11]=1024 (0x400)
smb_vwv[12]=52082 (0xCB72)
smb_vwv[13]=56880 (0xDE30)
smb_vwv[14]=50038 (0xC376)
smb_vwv[15]=50177 (0xC401)
smb_vwv[16]=2303 (0x8FF)
smb_bcc=48
[000] 28 22 35 EE B3 2E ED 68 54 00 48 00 45 00 46 00 ("5....h T.H.E.F.
[010] 4F 00 52 00 57 00 41 00 52 00 44 00 47 00 52 00 O.R.W.A. R.D.G.R.
[020] 4F 00 55 00 50 00 54 48 50 00 44 00 46 00 00 00 O.U.P.TH P.D.F...
write_socket(4,194)
write_socket(4,194) wrote 194
got smb length of 35
size=35
smb_com=0x73
smb_rcls=109
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=49153
smb_tid=0
smb_pid=7031
smb_uid=0
smb_mid=1
smt_wct=0
smb_bcc=0
size=35
smb_com=0x73
smb_rcls=109
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=49153
smb_tid=0
smb_pid=7031
smb_uid=0
smb_mid=1
smt_wct=0
smb_bcc=0
failed session setup
Error connecting to PDF
Unable to join domain THEFORWARDGROUP.
Thanks
Craig
--
Craig Taylor
IT Director
Forward Ltd
84-86 Regent Street
London
W1B 5DD
Telephone: +44 (0)20 7734 2303
Fax: +44 (0)20 7494 2570
http://www.theforwardgroup.com
***********************************************************************
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of
Forward Ltd
***********************************************************************
More information about the samba
mailing list