From: krischeu on

Hi,
till last week i was runnung my w2k3 Terminalserver (Name is TAURUS) as
Memberserverserver of my Sambadomain on a Ubuntu 6.06 LTS.

After some Geeks do an Updatesession on the MACintosh, working with
sambashares was not possible anymore.

Well, i installed a fresh ubuntu 10.04 lts on another hardware, with dhcp
and dns services. I installed samba with most of the smb.conf file on the
old ubuntusystem. This work fine for all the MACs and WinXP-PCs. The
WinXP-PSs are joined into the Domain. Same to the Win2k3-Server. But the
W2k3-Server do not find after reboot the domain. Not domainlogon is
possible.

Does anybody have any idea? My thoughts on this --> BIG BUG with samba 3.4.7
on Ubuntu 10.04 LTS

Any help are welcome ....


HEINZ


Attached some logs of the samba-server at the failed logon of the
Memberserver w2k3!

smb.conf
[global]
adminusers = Administrator,root
load printers =
usershare path =
prefered master = yes
domain master = yes
wins support = true
netbios name = carhs5
server string = server5
logon script = logon.bat
local master = yes
workgroup = CARHS
logon path =
os level = 99
security = user
domain logons = yes
oplocks = yes
log level = 10
log file = /var/log/samba/log.%m

[netlogon]
comment = LogonService
path = /etc/samba/logon/
public = yes
writeable = no
browsable = yes

[home]
valid users = @carhs
browseable = no
writeable = yes
path = /net/home
create mask = 0751
comment = Homeverzeichnisse
directory mask = 0751
create mode = 0751



nmbd.log
[2010/07/29 15:30:17, 4]
nmbd/nmbd_workgroupdb.c:170(find_workgroup_on_subnet)
find_workgroup_on_subnet: workgroup search for CARHS on subnet
UNICAST_SUBNET: found.
[2010/07/29 15:30:17, 4]
nmbd/nmbd_workgroupdb.c:170(find_workgroup_on_subnet)
find_workgroup_on_subnet: workgroup search for CARHS on subnet
UNICAST_SUBNET: found.
[2010/07/29 15:30:17, 4] nmbd/nmbd_winsserver.c:2384(wins_write_database)
wins_write_database: Dump of WINS name list.
*<20> TTL = PERMANENT 192.168.0.13 64
ARBEITSGRUPPE<1b> TTL = Fri Jul 30 08:31:10 2010 192.168.0.13 64
CARHS1<1b> TTL = Sat Jul 31 08:59:38 2010 192.168.0.13 64
CARHS5<1b> TTL = Sat Jul 31 10:28:14 2010 192.168.0.13 66
CARHS1<1c> TTL = Sat Jul 31 08:59:38 2010 192.168.0.13 e4
CARHS<1b> TTL = Sun Aug 1 15:17:00 2010 192.168.0.13 64
ARBEITSGRUPPE<00> TTL = Fri Jul 30 08:31:10 2010 0.0.0.0 e4
CARHS1<00> TTL = Sat Jul 31 08:59:38 2010 0.0.0.0 e4
CARHS5<1c> TTL = Sat Jul 31 10:28:14 2010 192.168.0.13 e6
ARBEITSGRUPPE<1c> TTL = Fri Jul 30 08:31:10 2010 192.168.0.13 e4
CARHS5<00> TTL = Sun Aug 1 15:17:00 2010 192.168.0.13 66
CARHS<00> TTL = Sun Aug 1 15:17:00 2010 0.0.0.0 e4
__SAMBA__<20> TTL = PERMANENT 192.168.0.13 64
CARHS<1c> TTL = Sun Aug 1 15:17:00 2010 192.168.0.13 e4
WORKGROUP<1b> TTL = Thu Jul 29 15:47:35 2010 192.168.0.13 64
WORKGROUP<1c> TTL = Thu Jul 29 15:47:35 2010 192.168.0.13 e4
WORKGROUP<00> TTL = Thu Jul 29 15:47:35 2010 0.0.0.0 e4
CARHS1<1e> TTL = Sat Jul 31 08:59:38 2010 0.0.0.0 e4
*<00> TTL = PERMANENT 192.168.0.13 64
CARHS5<1e> TTL = Sat Jul 31 10:28:14 2010 0.0.0.0 e6
ARBEITSGRUPPE<1e> TTL = Fri Jul 30 08:31:10 2010 0.0.0.0 e4
CARHS5<03> TTL = Sun Aug 1 15:17:00 2010 192.168.0.13 66
CARHS<1e> TTL = Sun Aug 1 15:17:00 2010 0.0.0.0 e4
__SAMBA__<00> TTL = PERMANENT 192.168.0.13 64
WORKGROUP<1e> TTL = Thu Jul 29 15:47:35 2010 0.0.0.0 e4
CARHS5<20> TTL = Sun Aug 1 15:17:00 2010 192.168.0.13 66
[2010/07/29 15:30:17, 4]
nmbd/nmbd_workgroupdb.c:170(find_workgroup_on_subnet)
find_workgroup_on_subnet: workgroup search for CARHS on subnet
192.168.0.13: found.
[2010/07/29 15:30:17, 10]
nmbd/nmbd_sendannounce.c:381(announce_myself_to_domain_master_browser)
announce_myself_to_domain_master_browser: t (1280410217) -
last(1280409944) < 900
[2010/07/29 15:30:17, 4] nmbd/nmbd_workgroupdb.c:281(dump_workgroups)
dump_workgroups()
dump workgroup on subnet 192.168.0.13: netmask= 255.255.255.0:



log.smbd
root(a)carhs5:/etc# tail -f /var/log/samba/log.smbd
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_SNDBUF = 16384
SO_RCVBUF = 87380
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
[2010/07/29 15:31:21, 5] lib/util_sock.c:371(print_socket_options)
Socket options:
SO_KEEPALIVE = 1
SO_REUSEADDR = 1
SO_BROADCAST = 0
TCP_NODELAY = 1
TCP_KEEPCNT = 9
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_SNDBUF = 16384
SO_RCVBUF = 87380
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
[2010/07/29 15:31:21, 5] lib/util_sock.c:371(print_socket_options)
Socket options:
SO_KEEPALIVE = 1
SO_REUSEADDR = 1
SO_BROADCAST = 0
TCP_NODELAY = 1
TCP_KEEPCNT = 9
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_SNDBUF = 16384
SO_RCVBUF = 87380
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
[2010/07/29 15:31:21, 5] lib/util_sock.c:371(print_socket_options)
Socket options:
SO_KEEPALIVE = 1
SO_REUSEADDR = 1
SO_BROADCAST = 0
TCP_NODELAY = 1
TCP_KEEPCNT = 9
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_SNDBUF = 16384
SO_RCVBUF = 87380
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
[2010/07/29 15:31:21, 5] lib/util_sock.c:


log.TAURUS
0200 sig : 77 00 7a 00 ff ff 00 00
0208 seq_num: f8 18 01 05 9f 50 82 ab
0210 packet_digest: 90 7c 79 5d f0 49 58 1a
0218 confounder: c7 ee e4 2c 88 7b 8e 3c
[2010/07/29 15:31:32, 10] lib/events.c:287(s3_event_debug)
s3_event: Schedule immediate event "tevent_req_trigger": 0x7f91364abfa0
[2010/07/29 15:31:32, 10] lib/events.c:287(s3_event_debug)
s3_event: Run immediate event "tevent_req_trigger": 0x7f91364abfa0
[2010/07/29 15:31:32, 3] smbd/pipes.c:435(pipe_read_andx_done)
readX-IPC min=1024 max=1024 nread=544
[2010/07/29 15:32:21, 10] lib/events.c:105(run_events)
Running timed event "smbd_idle_event_handler" 0x7f91364a54c0
[2010/07/29 15:32:21, 10] lib/events.c:287(s3_event_debug)
s3_event: Destroying timer event 0x7f91364a54c0 "smbd_idle_event_handler"
[2010/07/29 15:32:21, 10] smbd/process.c:663(smbd_idle_event_handler)
smbd_idle_event_handler: idle_evt(deadtime) (nil) called
[2010/07/29 15:32:21, 10] smbd/process.c:674(smbd_idle_event_handler)
smbd_idle_event_handler: idle_evt(deadtime) (nil) rescheduled
[2010/07/29 15:32:21, 10] lib/events.c:287(s3_event_debug)
s3_event: Added timed event "smbd_idle_event_handler": 0x7f913648ad80
[2010/07/29 15:32:21, 10] lib/events.c:105(run_events)
Running timed event "smbd_idle_event_handler" 0x7f913648ddc0
[2010/07/29 15:32:21, 10] lib/events.c:287(s3_event_debug)
s3_event: Destroying timer event 0x7f913648ddc0 "smbd_idle_event_handler"
[2010/07/29 15:32:21, 10] smbd/process.c:663(smbd_idle_event_handler)
smbd_idle_event_handler: idle_evt(housekeeping) (nil) called
[2010/07/29 15:32:21, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/07/29 15:32:21, 5] auth/token_util.c:522(debug_nt_user_token)
NT user token: (NULL)
[2010/07/29 15:32:21, 5] auth/token_util.c:548(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2010/07/29 15:32:21, 5] smbd/uid.c:368(change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2010/07/29 15:32:21, 10] smbd/process.c:674(smbd_idle_event_handler)
smbd_idle_event_handler: idle_evt(housekeeping) (nil) rescheduled
[2010/07/29 15:32:21, 10] lib/events.c:287(s3_event_debug)
s3_event: Added timed event "smbd_idle_event_handler": 0x7f91364a2400
[2010/07/29 15:32:51, 10]
lib/util_sock.c:789(read_smb_length_return_keepalive)
got smb length of 41
[2010/07/29 15:32:51, 6] smbd/process.c:1456(process_smb)
got message type 0x0 of len 0x29
[2010/07/29 15:32:51, 3] smbd/process.c:1459(process_smb)
Transaction 11 of length 45 (0 toread)
[2010/07/29 15:32:51, 5] lib/util.c:632(show_msg)
[2010/07/29 15:32:51, 5] lib/util.c:642(show_msg)
size=41
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=1
smb_pid=65279
smb_uid=100
smb_mid=704
smt_wct=3
smb_vwv[ 0]=20349 (0x4F7D)
smb_vwv[ 1]=65535 (0xFFFF)
smb_vwv[ 2]=65535 (0xFFFF)
smb_bcc=0
[2010/07/29 15:32:51, 3] smbd/process.c:1273(switch_message)
switch message SMBclose (pid 32212) conn 0x7f91364a61a0
[2010/07/29 15:32:51, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2010/07/29 15:32:51, 5] auth/token_util.c:528(debug_nt_user_token)
NT user token of user S-1-5-21-3593643813-2932987821-1431450875-501
contains 5 SIDs
SID[ 0]: S-1-5-21-3593643813-2932987821-1431450875-501
SID[ 1]: S-1-1-0
SID[ 2]: S-1-5-2
SID[ 3]: S-1-5-32-546
SID[ 4]: S-1-22-1-65534
SE_PRIV 0x0 0x0 0x0 0x0
[2010/07/29 15:32:51, 5] auth/token_util.c:548(debug_unix_user_token)
UNIX token of user 65534
Primary group is 65534 and contains 0 supplementary groups
[2010/07/29 15:32:51, 5] smbd/uid.c:353(change_to_user)
change_to_user uid=(0,65534) gid=(0,65534)
[2010/07/29 15:32:51, 3] smbd/reply.c:4488(reply_close)
close fd=-1 fnum=20349 (numopen=1)
[2010/07/29 15:32:51, 6] smbd/close.c:454(set_close_write_time)
close_write_time: Sun Feb 7 07:28:15 2106
[2010/07/29 15:32:51, 10] rpc_server/srv_lsa_hnd.c:249(close_policy_by_pipe)
close_policy_by_pipe: deleted handle list for pipe \NETLOGON
[2010/07/29 15:32:51, 5] smbd/files.c:474(file_free)
freed files structure 20349 (0 used)
[2010/07/29 15:32:51, 5] lib/util.c:632(show_msg)
[2010/07/29 15:32:51, 5] lib/util.c:642(show_msg)
size=35
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=65279
smb_uid=100
smb_mid=704
smt_wct=0
smb_bcc=0
[2010/07/29 15:33:02, 10]
lib/util_sock.c:789(read_smb_length_return_keepalive)
got smb length of 39
[2010/07/29 15:33:02, 6] smbd/process.c:1456(process_smb)
got message type 0x0 of len 0x27
[2010/07/29 15:33:02, 3] smbd/process.c:1459(process_smb)
Transaction 12 of length 43 (0 toread)
[2010/07/29 15:33:02, 5] lib/util.c:632(show_msg)
[2010/07/29 15:33:02, 5] lib/util.c:642(show_msg)
size=39
smb_com=0x74
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=0
smb_pid=65279
smb_uid=100
smb_mid=768
smt_wct=2
smb_vwv[ 0]= 255 (0xFF)
smb_vwv[ 1]= 0 (0x0)
smb_bcc=0
[2010/07/29 15:33:02, 3] smbd/process.c:1273(switch_message)
switch message SMBulogoffX (pid 32212) conn 0x0
[2010/07/29 15:33:02, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/07/29 15:33:02, 5] auth/token_util.c:522(debug_nt_user_token)
NT user token: (NULL)
[2010/07/29 15:33:02, 5] auth/token_util.c:548(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2010/07/29 15:33:02, 5] smbd/uid.c:368(change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2010/07/29 15:33:02, 3] smbd/reply.c:1948(reply_ulogoffX)
ulogoffX vuid=100
[2010/07/29 15:33:02, 10]
lib/util_sock.c:789(read_smb_length_return_keepalive)
got smb length of 35
[2010/07/29 15:33:02, 6] smbd/process.c:1456(process_smb)
got message type 0x0 of len 0x23
[2010/07/29 15:33:02, 3] smbd/process.c:1459(process_smb)
Transaction 13 of length 39 (0 toread)
[2010/07/29 15:33:02, 5] lib/util.c:632(show_msg)
[2010/07/29 15:33:02, 5] lib/util.c:642(show_msg)
size=35
smb_com=0x71
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=1
smb_pid=65279
smb_uid=100
smb_mid=832
smt_wct=0
smb_bcc=0
[2010/07/29 15:33:02, 3] smbd/process.c:1273(switch_message)
switch message SMBtdis (pid 32212) conn 0x7f91364a61a0
[2010/07/29 15:33:02, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/07/29 15:33:02, 5] auth/token_util.c:522(debug_nt_user_token)
NT user token: (NULL)
[2010/07/29 15:33:02, 5] auth/token_util.c:548(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2010/07/29 15:33:02, 5] smbd/uid.c:368(change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)



log.192.168.0.24 (ip-Adress of TAURUS)
[2010/07/29 15:31:21, 10]
lib/util_sock.c:789(read_smb_length_return_keepalive)
got smb length of 68
[2010/07/29 15:31:21, 6] smbd/process.c:1456(process_smb)
got message type 0x81 of len 0x44
[2010/07/29 15:31:21, 3] smbd/process.c:1459(process_smb)
Transaction 0 of length 72 (0 toread)
[2010/07/29 15:31:21, 2] smbd/reply.c:456(reply_special)
netbios connect: name1=CARHS5 name2=TAURUS
[2010/07/29 15:31:21, 2] smbd/reply.c:463(reply_special)
netbios connect: local=carhs5 remote=taurus, name type = 0

--
View this message in context: http://old.nabble.com/Terminalserver-w2k3-is-no-longer-dancing-samba-3.4.7-anymore-tp29296471p29296471.html
Sent from the Samba - General mailing list archive at Nabble.com.

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba