[Samba] 2.2.8a as member server of Win2000?
Thomas Bork
knuffelmail at gmx.de
Thu Jan 15 07:53:29 GMT 2004
Hi @all,
trying to join an Windows-2003-Domain with Samba 2.2.8a as member server.
Account on Win2003 was created allowing pre-2000 connections.
smbpasswd -D 5 -U Administrator%password -r papas-server -j computerservice
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/smb.conf"
Processing section "[global]"
doing parameter workgroup = computerservice
doing parameter serverstring =
doing parameter interfaces = 127.0.0.1/8 192.168.0.2/255.255.255.0
doing parameter bind interfaces only = yes
doing parameter security = domain
doing parameter encrypt passwords = yes
doing parameter update encrypted = yes
doing parameter min password length = 1
doing parameter password server = PAPAS-SERVER
doing parameter pam password change = yes
doing parameter passwd program = /usr/bin/passwd %u
doing parameter passwd chat = *Enter*new*UNIX*password:* %n\n
*Retype*new*UNIX*password:* %n\n *passwd:*password*updated*successfully*
doing parameter username map = /etc/user.map
doing parameter username level = 2
doing parameter unix password sync = yes
doing parameter debug level = 0
doing parameter max log size = 1000
doing parameter nameresolveorder = wins lmhosts host bcast
doing parameter time server = yes
doing parameter deadtime = 60
doing parameter load printers = no
doing parameter mangling method = hash2
doing parameter character set = iso8859-1
load_unicode_map: loading unicode map for codepage ISO8859-1.
doing parameter client code page = 850
load_unicode_map: loading unicode map for codepage ISO8859-1.
load_client_codepage: loading codepage 850.
load_unicode_map: loading unicode map for codepage 850.
doing parameter domain logons = no
doing parameter add user script =
/var/install/bin/samba-add-domain-auto-user %u
doing parameter os level = 0
doing parameter preferred master = no
doing parameter local master = no
doing parameter domain master = no
doing parameter wins support = no
doing parameter wins server = 192.168.0.1
wins_srv_load_list(): Building WINS server list:
192.168.0.1,
1 WINS server listed.
doing parameter wins proxy = yes
doing parameter kernel oplocks = no
doing parameter message command = /bin/mail -s 'message from %f on %m'
root < %s; rm %s
doing parameter dfree command = /usr/local/bin/samba-dfree
doing parameter admin users = root
doing parameter printer admin = root
doing parameter hosts allow = 127.0.0. 192.168.0.0/255.255.255.0
doing parameter printing = lprng
doing parameter print command = chmod 666 %s;
name="`echo '%J' | sed "s/^.*- //"`" ; /usr/bin/lpr
-P%p -J"$name" %s; rm %s
doing parameter lpq command = /usr/bin/lpq -P%p -L
doing parameter lprm command = /usr/bin/lprm -P%p %j
doing parameter lppause command = /usr/sbin/lpc hold %p %j
doing parameter lpresume command = /usr/sbin/lpc release %p %j
doing parameter queuepause command = /usr/sbin/lpc stop %p
doing parameter queueresume command = /usr/sbin/lpc start %p
doing parameter dos filetimes = yes
doing parameter dos filetime resolution = yes
pm_process() returned Yes
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
added interface ip=192.168.0.2 bcast=192.168.0.255
nmask=255.255.255.0
cli_establish_connection: EIS-ONE<00> connecting to PAPAS-SERVER<20>
(0.0.0.0) - administrator [COMPUTERSERVICE]
resolve_wins: Attempting wins lookup for name papas-server<0x20>
resolve_wins: WINS server == <192.168.0.1>
bind succeeded on port 0
Sending a packet of len 50 to (192.168.0.1) on port 137
Received a packet of len 62 from (192.168.0.1) port 137
nmb packet from 192.168.0.1(137) header: id=12883 opcode=Query(0)
response=Yes
header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No
auth=Yes
header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
answers: nmb_name=PAPAS-SERVER<20> rr_type=32 rr_class=1
ttl=0
answers 0 char `..... hex 6000C0A80001
Got a positive name query response from 192.168.0.1 ( 192.168.0.1 )
Connecting to 192.168.0.1 at port 445
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 16384
socket option SO_RCVBUF = 87380
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
size=135
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=2122
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=7 (0x7)
smb_vwv[1]=12815 (0x320F)
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]=499 (0x1F3)
smb_vwv[11]=40960 (0xA000)
smb_vwv[12]=2690 (0xA82)
smb_vwv[13]=40221 (0x9D1D)
smb_vwv[14]=50138 (0xC3DA)
smb_vwv[15]=50177 (0xC401)
smb_vwv[16]=2303 (0x8FF)
smb_bcc=66
size=135
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=2122
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=7 (0x7)
smb_vwv[1]=12815 (0x320F)
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]=499 (0x1F3)
smb_vwv[11]=40960 (0xA000)
smb_vwv[12]=2690 (0xA82)
smb_vwv[13]=40221 (0x9D1D)
smb_vwv[14]=50138 (0xC3DA)
smb_vwv[15]=50177 (0xC401)
smb_vwv[16]=2303 (0x8FF)
smb_bcc=66
size=171
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=49153
smb_tid=0
smb_pid=2122
smb_uid=34817
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=171 (0xAB)
smb_vwv[2]=0 (0x0)
smb_bcc=130
size=171
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=49153
smb_tid=0
smb_pid=2122
smb_uid=34817
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=171 (0xAB)
smb_vwv[2]=0 (0x0)
smb_bcc=130
session setup ok
Domain=[COMPUTERSERVICEC] OS=[Windows Server 2003 3790]
^^^^^^^^^^^^^^^^
This is not correct. The domain name is COMPUTERSERVICE and not
COMPUTERSERVICE_C_. Anybody has a tip, why the tcon_X failed? Is the name of the domain
to long?
Server=[Windows Server 2003 5.2]
size=35
smb_com=0x75
smb_rcls=34
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=49153
smb_tid=0
smb_pid=2122
smb_uid=34817
smb_mid=1
smt_wct=0
smb_bcc=0
failed tcon_X
Error connecting to papas-server - NT_STATUS_ACCESS_DENIED
Unable to join domain COMPUTERSERVICE.
der tom
--
der tom
More information about the samba
mailing list