only a FEW clients coul find PDC

Drak drak at mdm-net.it
Fri Mar 16 21:57:06 GMT 2001


Hi everybody,
I have network (192.168.0.1 with a NT PDC (domain=NCDOMAIN) 192.168.0.2 with
LINUX, 192.168.0.3 to 192.168.0.27) with NT4 and NT2000 clients that I want
to add to a domain controlled by samba 2.0.7 (included in Linux Mandrake 7.2
distribution. IP: 192.168.0.2/255.255.255.0). I tried to add a NT4 client (a
firewall at this time DISABLED with 3 network interfaces. IP:
192.168.0.5/255.255.255.0) in the domain, and after a few tries the client
joined the domain. The other NT4 clients complain they cant' find a PDC for
that domain. They don' t show it in network neighbourhood and they can' t
find it even with find computer. They can find it only after having
restarted samba services by find computer. I made a machine account for each
client (adduser -g machines -c WorkstationNT -d /dev/null -s /bin/false -m
machine$  ;  smbpasswd -a -m machine$. notice that i had to add manually
entries for the machines group in /etc/group). After made an entry in
smbpasswd file for administrator, I log on the client with a local account
that has the same username/password pair of the domain admin user and try to
make the client to joi the domain. The client always respond it cannot find
the domain controller

Here is my smb.conf file

[global]
debug level = 4
available = yes
time server = true
remote announce = 192.168.0.255
default service = reference
nt acl support = yes
nt smb support = yes
nt pipe support  = yes
preferred master = yes
dead time = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
getwd cache = yes
log file = /var/log/samba/log.%m
security = user
status = yes
netbios name = linux
announce as = NT Server
protocol = NT1
workgroup = dominio
wins support = yes
smbpasswd file = /usr/local/samba/private/smbpasswd
encrypt passwords = yes
domain logons = yes
logon script = scripts\%U.bat
logon path = //%L/profiles/%U
domain admin users = administrator
domain admin group = @domainadmin
add user script = /usr/sbin/adduser -n -g machines -c Machine -d
/dev/null -s /bin/false -n %m$
guest account = nobody
share modes = no
os level = 65
domain master = yes

[homes]
    guest ok = no
    read only = no
    create mask = 0700
    directory mask = 0700
    oplocks = false
    locking = no
[netlogon]
    path = /home/netlogon
    writeable = no
    guest ok = no
[profiles]
    browseable = yes
    public = yes
    guest only = no
    writeable = yes
    only user = no
    create mask = 0777
    directory mask = 0777
    path = /home/profiles

[GraficaNuova]
    write list = @grafici
    create mask = 0775
    directory mask = 0755
    path = /home/samba/grafica_nuova

[GraficaFatta]
    write list = @scasi
    create mask = 0775
    directory mask = 0755
    path = /home/samba/grafica_esistente

[ArchivioCDR]
    write list = @scasi
    create mask = 0775
    directory mask = 0755
    path = /home/samba/cdr_operativi

[ArchivioEXP]
    write list = @scasi
    create mask = 0775
    directory mask = 0755
    path = /home/samba/export_operativi

I set debug level to 4. here are log.smb and log.nmb after starting services

LOG.SMB
[2001/03/16 19:00:44, 1] smbd/server.c:main(641)
  smbd version 2.0.7 started.
  Copyright Andrew Tridgell 1992-1998
  doing parameter available = yes
  doing parameter time server = true
  doing parameter remote announce = 192.168.0.255
  doing parameter default service = reference
  doing parameter nt acl support = yes
  doing parameter nt smb support = yes
  doing parameter nt pipe support = yes
  doing parameter preferred master = yes
  doing parameter dead time = 0
  doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  doing parameter getwd cache = yes
  doing parameter log file = /var/log/samba/log.%m
  doing parameter security = user
  doing parameter status = yes
  doing parameter netbios name = linux
[2001/03/16 19:00:44, 4] param/loadparm.c:handle_netbios_name(1930)
  handle_netbios_name: set global_myname to: LINUX
  doing parameter announce as = NT Server
  doing parameter protocol = NT1
  doing parameter workgroup = dominio
  doing parameter wins support = yes
  doing parameter smbpasswd file = /usr/local/samba/private/smbpasswd
  doing parameter encrypt passwords = yes
  doing parameter domain logons = yes
  doing parameter logon script = scripts\%U.bat
  doing parameter logon path = //%L/profiles/%U
  doing parameter domain admin users = administrator
  doing parameter domain admin group = @domainadmin
  doing parameter add user script = /usr/sbin/adduser -n -g machines -c
Machine -d /dev/null -s /bin/false -n %m$
  doing parameter guest account = nobody
  doing parameter share modes = no
  doing parameter os level = 65
  doing parameter domain master = yes
[2001/03/16 19:00:44, 2] param/loadparm.c:do_section(2481)
  Processing section "[homes]"
  doing parameter guest ok = no
  doing parameter read only = no
  doing parameter create mask = 0700
  doing parameter directory mask = 0700
  doing parameter oplocks = false
  doing parameter locking = no
[2001/03/16 19:00:44, 2] param/loadparm.c:do_section(2481)
  Processing section "[netlogon]"
  doing parameter path = /home/netlogon
  doing parameter writeable = no
  doing parameter guest ok = no
[2001/03/16 19:00:44, 2] param/loadparm.c:do_section(2481)
  Processing section "[profiles]"
  doing parameter browseable = yes
  doing parameter public = yes
  doing parameter guest only = no
  doing parameter writeable = yes
  doing parameter only user = no
  doing parameter create mask = 0777
  doing parameter directory mask = 0777
  doing parameter path = /home/profiles
[2001/03/16 19:00:44, 2] param/loadparm.c:do_section(2481)
  Processing section "[GraficaNuova]"
  doing parameter write list = @grafici
  doing parameter create mask = 0775
  doing parameter directory mask = 0755
  doing parameter path = /home/samba/grafica_nuova
[2001/03/16 19:00:44, 2] param/loadparm.c:do_section(2481)
  Processing section "[GraficaFatta]"
  doing parameter write list = @scasi
  doing parameter create mask = 0775
  doing parameter directory mask = 0755
  doing parameter path = /home/samba/grafica_esistente
[2001/03/16 19:00:44, 2] param/loadparm.c:do_section(2481)
  Processing section "[ArchivioCDR]"
  doing parameter write list = @scasi
  doing parameter create mask = 0775
  doing parameter directory mask = 0755
  doing parameter path = /home/samba/cdr_operativi
[2001/03/16 19:00:44, 2] param/loadparm.c:do_section(2481)
  Processing section "[ArchivioEXP]"
  doing parameter write list = @scasi
  doing parameter create mask = 0775
  doing parameter directory mask = 0755
  doing parameter path = /home/samba/export_operativi
[2001/03/16 19:00:44, 3] param/loadparm.c:lp_load(2805)
  pm_process() returned Yes
[2001/03/16 19:00:44, 3] param/loadparm.c:lp_add_ipc(1594)
  adding IPC service
[2001/03/16 19:00:44, 2] lib/interface.c:add_interface(83)
  added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
[2001/03/16 19:00:44, 1] smbd/files.c:file_init(216)
  file_init: Information only: requested 10000 open files, 1014 are
available.
[2001/03/16 19:00:44, 3] smbd/server.c:main(704)
  loaded services
[2001/03/16 19:00:44, 3] smbd/server.c:main(712)
  Becoming a daemon.
[2001/03/16 19:00:44, 3] lib/util_sock.c:open_socket_in(875)
  bind succeeded on port 139
[2001/03/16 19:00:44, 2] smbd/server.c:open_sockets(181)
  waiting for a connection

and here things seems fine
here is LOG.NMB after starting service

**** various log message above reportin startup of service, then ...
Samba name server LINUX is now a local master browser for workgroup DOMINIO
on subnet 192.168.0.2


*****

[2001/03/16 19:01:07, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for DOMINIO on subnet
UNICAST_SUBNET: found.
[2001/03/16 19:01:07, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for DOMINIO on subnet
192.168.0.2: found.
[2001/03/16 19:01:07, 3]
nmbd/nmbd_sendannounce.c:send_local_master_announcement(176)
send_local_master_announcement: type c9b2b for name LINUX on subnet
192.168.0.2 for workgroup DOMINIO
[2001/03/16 19:01:07, 4] nmbd/nmbd_packets.c:send_mailslot(1959)
send_mailslot: Sending to mailslot \MAILSLOT\BROWSE from LINUX<00> IP
192.168.0.2 to DOMINIO<1e> IP 192.168.0.255
[2001/03/16 19:01:07, 4] nmbd/nmbd_packets.c:debug_browse_data(103)
debug_browse_data():
0 char ......LINUX..... hex 0f 03 c0 d4 01 00 4c 49 4e 55 58 00 00 00 00 00
10 char ........+.....U. hex 00 00 00 00 00 00 04 02 2b 9b 0c 00 0f 01 55 aa
20 char Samba 2.0.7. hex 53 61 6d 62 61 20 32 2e 30 2e 37 00
[2001/03/16 19:01:07, 3]
nmbd/nmbd_sendannounce.c:send_workgroup_announcement(195)
send_workgroup_announcement: on subnet 192.168.0.2 for workgroup DOMINIO
[2001/03/16 19:01:07, 4] nmbd/nmbd_packets.c:send_mailslot(1959)
send_mailslot: Sending to mailslot \MAILSLOT\BROWSE from LINUX<00> IP
192.168.0.2 to __MSBROWSE__<01> IP 192.168.0.255
[2001/03/16 19:01:07, 4] nmbd/nmbd_packets.c:debug_browse_data(103)
debug_browse_data():
0 char ......DOMINIO... hex 0c 03 c0 d4 01 00 44 4f 4d 49 4e 49 4f 00 00 00
10 char ..............U. hex 00 00 00 00 00 00 04 02 00 10 00 80 0f 01 55 aa
20 char LINUX. hex 4c 49 4e 55 58 00
[2001/03/16 19:01:07, 4]
nmbd/nmbd_sendannounce.c:announce_myself_to_domain_master_browser(422)
announce_myself_to_domain_master_browser: I am a local master browser for
workgroup DOMINIO on subnet 192.168.0.2
[2001/03/16 19:01:07, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for DOMINIO on subnet
UNICAST_SUBNET: found.
[2001/03/16 19:01:07, 2]
nmbd/nmbd_browsesync.c:announce_local_master_browser_to_domain_master_browse
r(120)
announce_local_master_browser_to_domain_master_browser:
We are both a domain and a local master browser for workgroup DOMINIO. Do
not announce to ourselves.
[2001/03/16 19:01:07, 2] nmbd/nmbd_browsesync.c:sync_with_dmb(159)
sync_with_dmb:
Initiating sync with domain master browser LINUX<20> at IP 192.168.0.2 for
workgroup DOMINIO
[2001/03/16 19:01:07, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for DOMINIO on subnet
UNICAST_SUBNET: found.
[2001/03/16 19:01:07, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for DOMINIO on subnet
UNICAST_SUBNET: found.
[2001/03/16 19:01:07, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for DOMINIO on subnet
192.168.0.2: found.
[2001/03/16 19:01:07, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for DOMINIO on subnet
UNICAST_SUBNET: found.
[2001/03/16 19:01:07, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for DOMINIO on subnet
UNICAST_SUBNET: found.
[2001/03/16 19:01:07, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for DOMINIO on subnet
192.168.0.2: found.
[2001/03/16 19:01:07, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for DOMINIO on subnet
UNICAST_SUBNET: found.
[2001/03/16 19:01:07, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for DOMINIO on subnet
UNICAST_SUBNET: found.
[2001/03/16 19:01:07, 4] nmbd/nmbd_packets.c:process_dgram(1244)
process_dgram: datagram from FABRIZIO<20> to DOMINIO<1d> IP 192.168.0.5 for
\MAILSLOT\BROWSE of type 1 len=33
[2001/03/16 19:01:07, 4] nmbd/nmbd_packets.c:debug_browse_data(103)
debug_browse_data():
0 char ......FABRIZIO.. hex 01 00 80 fc 0a 00 46 41 42 52 49 5a 49 4f 00 00
10 char ..............U. hex 00 00 00 00 00 00 04 00 03 10 01 00 0f 01 55 aa
20 char . hex 00
[2001/03/16 19:01:07, 3]
nmbd/nmbd_incomingdgrams.c:process_host_announce(117)
process_host_announce: from FABRIZIO<00> IP 192.168.0.5 to DOMINIO<1d> for
server FABRIZIO.
[2001/03/16 19:01:07, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for DOMINIO on subnet
192.168.0.2: found.
[2001/03/16 19:01:07, 3]
nmbd/nmbd_serverlistdb.c:create_server_on_workgroup(173)
create_server_on_workgroup: Created server entry FABRIZIO of type 40011003
() on workgroup DOMINIO.
[2001/03/16 19:01:07, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for DOMINIO on subnet
192.168.0.2: found.
[2001/03/16 19:01:07, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for DOMINIO on subnet
UNICAST_SUBNET: found.
[2001/03/16 19:01:07, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for DOMINIO on subnet
UNICAST_SUBNET: found.

I think also this is OK. But why at this point other clients (out of the
domain)could not view the samba server in network neighboorhood and with
find computer?

I restarted services and finally clients see the server with find computer
her is the transcription after find computer from NT client

[2001/03/16 19:15:29, 0] lib/util_sock.c:read_socket_data(477)
[2001/03/16 19:15:29, 3] smbd/process.c:process_smb(618)
  Transaction 1 of length 174
  read_socket_data: recv failure for 4. Error = Connessione abbattuta dal
corrispondente
[2001/03/16 19:15:29, 3] smbd/process.c:switch_message(448)
  switch message SMBnegprot (pid 3815)
[2001/03/16 19:15:29, 3] smbd/process.c:timeout_processing(863)
  receive_smb error (Connessione abbattuta dal corrispondente) exiting
[2001/03/16 19:15:29, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2001/03/16 19:15:29, 2] smbd/server.c:exit_server(408)
[2001/03/16 19:15:29, 3] smbd/negprot.c:reply_negprot(341)
  Closing connections
  Requested protocol [XENIX CORE]
[2001/03/16 19:15:29, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [MICROSOFT NETWORKS 1.03]
[2001/03/16 19:15:29, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [LANMAN1.0]
[2001/03/16 19:15:29, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [Windows for Workgroups 3.1a]
[2001/03/16 19:15:29, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [LM1.2X002]
[2001/03/16 19:15:29, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [LANMAN2.1]
[2001/03/16 19:15:29, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [NT LM 0.12]
[2001/03/16 19:15:29, 3] smbd/negprot.c:reply_negprot(424)
  Selected protocol NT LM 0.12
[2001/03/16 19:15:29, 3] smbd/process.c:process_smb(618)
  Transaction 2 of length 130
[2001/03/16 19:15:29, 3] smbd/process.c:switch_message(448)
  switch message SMBsesssetupX (pid 3815)
[2001/03/16 19:15:29, 3] smbd/server.c:exit_server(435)
[2001/03/16 19:15:29, 3] smbd/reply.c:reply_sesssetup_and_X(805)
  Server exit (normal exit)
  Domain=[]  NativeOS=[Windows NT 1381] NativeLanMan=[]
[2001/03/16 19:15:29, 3] smbd/reply.c:reply_sesssetup_and_X(809)
  sesssetupX:name=[]
[2001/03/16 19:15:29, 3] smbd/password.c:setup_groups(192)
  nobody is in 1 groups: 99
[2001/03/16 19:15:29, 3] smbd/password.c:register_vuid(270)
  uid 99 registered to name nobody
[2001/03/16 19:15:29, 3] smbd/password.c:register_vuid(272)
  Clearing default real name
[2001/03/16 19:15:29, 3] smbd/process.c:chain_reply(775)
  Chained message
[2001/03/16 19:15:29, 3] smbd/process.c:switch_message(448)
  switch message SMBtconX (pid 3815)
[2001/03/16 19:15:29, 4] smbd/reply.c:reply_tcon_and_X(311)
  Got device type IPC
[2001/03/16 19:15:29, 3] smbd/password.c:authorise_login(816)
  ACCEPTED: guest account and guest ok
[2001/03/16 19:15:29, 3] smbd/service.c:make_connection(441)
  Connect path is /tmp
[2001/03/16 19:15:29, 3] lib/doscalls.c:dos_ChDir(342)
  dos_ChDir to /tmp
[2001/03/16 19:15:29, 3] smbd/service.c:make_connection(550)
  fabrizio (217.56.63.3) connect to service IPC$ as user nobody (uid=99,
gid=99) (pid 3815)
[2001/03/16 19:15:29, 3] lib/doscalls.c:dos_ChDir(342)
  dos_ChDir to /var/log/samba
[2001/03/16 19:15:29, 3] lib/doscalls.c:dos_ChDir(342)
  dos_ChDir to /var/log/samba
[2001/03/16 19:15:29, 3] smbd/reply.c:reply_tcon_and_X(358)
  tconX service=ipc$ user=nobody
[2001/03/16 19:15:29, 3] smbd/process.c:process_smb(618)
  Transaction 3 of length 95
[2001/03/16 19:15:29, 3] smbd/process.c:switch_message(448)
  switch message SMBntcreateX (pid 3815)
[2001/03/16 19:15:29, 3] lib/doscalls.c:dos_ChDir(342)
  dos_ChDir to /tmp
[2001/03/16 19:15:29, 4] smbd/nttrans.c:nt_open_pipe(560)
  nt_open_pipe: Opening pipe \srvsvc.
[2001/03/16 19:15:29, 3] smbd/nttrans.c:nt_open_pipe(576)
  nt_open_pipe: Known pipe srvsvc opening.
[2001/03/16 19:15:29, 4] rpc_server/srv_pipe_hnd.c:open_rpc_pipe_p(116)
  Open pipe requested srvsvc (pipes_open=0)
[2001/03/16 19:15:29, 4] rpc_server/srv_pipe_hnd.c:open_rpc_pipe_p(205)
  Opened pipe srvsvc with handle 7036 (pipes_open=1)
[2001/03/16 19:15:29, 3] smbd/process.c:process_smb(618)
  Transaction 4 of length 152
[2001/03/16 19:15:29, 3] smbd/process.c:switch_message(448)
  switch message SMBtrans (pid 3815)
[2001/03/16 19:15:29, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:15:29, 3] smbd/ipc.c:reply_trans(3659)
  trans <\PIPE\> data=72 params=0 setup=2
[2001/03/16 19:15:29, 3] smbd/ipc.c:named_pipe(3516)
  named pipe command on <> name
[2001/03/16 19:15:29, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(817)
  search for pipe pnum=7036
[2001/03/16 19:15:29, 3] smbd/ipc.c:api_fd_reply(3318)
  Got API command 0x26 on pipe "srvsvc" (pnum 7036)api_pipe_bind_req:
\PIPE\srvsvc -> \PIPE\ntsvcs
[2001/03/16 19:15:29, 3] smbd/process.c:process_smb(618)
  Transaction 5 of length 140
[2001/03/16 19:15:29, 3] smbd/process.c:switch_message(448)
  switch message SMBtrans (pid 3815)
[2001/03/16 19:15:29, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:15:29, 3] smbd/ipc.c:reply_trans(3659)
  trans <\PIPE\> data=60 params=0 setup=2
[2001/03/16 19:15:29, 3] smbd/ipc.c:named_pipe(3516)
  named pipe command on <> name
[2001/03/16 19:15:29, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(817)
  search for pipe pnum=7036
[2001/03/16 19:15:29, 3] smbd/ipc.c:api_fd_reply(3318)
  Got API command 0x26 on pipe "srvsvc" (pnum 7036)Doing \PIPE\srvsvc
[2001/03/16 19:15:29, 4] rpc_server/srv_pipe.c:api_rpcTNP(1084)
  api_rpcTNP: api_srvsvc_rpc op 0x15 - api_rpcTNP: rpc command:
SRV_NET_SRV_GET_INFO
[2001/03/16 19:15:29, 3] smbd/process.c:process_smb(618)
  Transaction 6 of length 46
[2001/03/16 19:15:29, 3] smbd/process.c:switch_message(448)
  switch message SMBclose (pid 3815)
[2001/03/16 19:15:29, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:15:29, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(817)
  search for pipe pnum=7036
[2001/03/16 19:15:29, 4] rpc_server/srv_pipe_hnd.c:close_rpc_pipe_hnd(784)
  closed pipe name srvsvc pnum=7036 (pipes_open=0)
[2001/03/16 19:15:29, 3] smbd/process.c:process_smb(618)
  Transaction 7 of length 95
[2001/03/16 19:15:29, 3] smbd/process.c:switch_message(448)
  switch message SMBntcreateX (pid 3815)
[2001/03/16 19:15:29, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:15:29, 4] smbd/nttrans.c:nt_open_pipe(560)
  nt_open_pipe: Opening pipe \srvsvc.
[2001/03/16 19:15:29, 3] smbd/nttrans.c:nt_open_pipe(576)
  nt_open_pipe: Known pipe srvsvc opening.
[2001/03/16 19:15:29, 4] rpc_server/srv_pipe_hnd.c:open_rpc_pipe_p(116)
  Open pipe requested srvsvc (pipes_open=0)
[2001/03/16 19:15:29, 4] rpc_server/srv_pipe_hnd.c:open_rpc_pipe_p(205)
  Opened pipe srvsvc with handle 7037 (pipes_open=1)
[2001/03/16 19:15:29, 3] smbd/process.c:process_smb(618)
  Transaction 8 of length 152
[2001/03/16 19:15:29, 3] smbd/process.c:switch_message(448)
  switch message SMBtrans (pid 3815)
[2001/03/16 19:15:29, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:15:29, 3] smbd/ipc.c:reply_trans(3659)
  trans <\PIPE\> data=72 params=0 setup=2
[2001/03/16 19:15:29, 3] smbd/ipc.c:named_pipe(3516)
  named pipe command on <> name
[2001/03/16 19:15:29, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(817)
  search for pipe pnum=7037
[2001/03/16 19:15:29, 3] smbd/ipc.c:api_fd_reply(3318)
  Got API command 0x26 on pipe "srvsvc" (pnum 7037)api_pipe_bind_req:
\PIPE\srvsvc -> \PIPE\ntsvcs
[2001/03/16 19:15:29, 3] smbd/process.c:process_smb(618)
  Transaction 9 of length 140
[2001/03/16 19:15:29, 3] smbd/process.c:switch_message(448)
  switch message SMBtrans (pid 3815)
[2001/03/16 19:15:29, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:15:29, 3] smbd/ipc.c:reply_trans(3659)
  trans <\PIPE\> data=60 params=0 setup=2
[2001/03/16 19:15:29, 3] smbd/ipc.c:named_pipe(3516)
  named pipe command on <> name
[2001/03/16 19:15:29, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(817)
  search for pipe pnum=7037
[2001/03/16 19:15:29, 3] smbd/ipc.c:api_fd_reply(3318)
  Got API command 0x26 on pipe "srvsvc" (pnum 7037)Doing \PIPE\srvsvc
[2001/03/16 19:15:29, 4] rpc_server/srv_pipe.c:api_rpcTNP(1084)
  api_rpcTNP: api_srvsvc_rpc op 0x15 - api_rpcTNP: rpc command:
SRV_NET_SRV_GET_INFO
[2001/03/16 19:15:29, 3] smbd/process.c:process_smb(618)
  Transaction 10 of length 46
[2001/03/16 19:15:29, 3] smbd/process.c:switch_message(448)
  switch message SMBclose (pid 3815)
[2001/03/16 19:15:29, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:15:29, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(817)
  search for pipe pnum=7037
[2001/03/16 19:15:29, 4] rpc_server/srv_pipe_hnd.c:close_rpc_pipe_hnd(784)
  closed pipe name srvsvc pnum=7037 (pipes_open=0)
[2001/03/16 19:15:29, 3] smbd/process.c:process_smb(618)
  Transaction 11 of length 96
[2001/03/16 19:15:29, 3] smbd/process.c:switch_message(448)
  switch message SMBntcreateX (pid 3815)
[2001/03/16 19:15:29, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:15:29, 4] smbd/nttrans.c:nt_open_pipe(560)
  nt_open_pipe: Opening pipe \browser.
[2001/03/16 19:15:29, 3] smbd/error.c:error_packet(138)
  error packet at line 568 cmd=162 (SMBntcreateX) eclass=2 ecode=4
[2001/03/16 19:16:29, 3] lib/doscalls.c:dos_ChDir(342)
  dos_ChDir to /var/log/samba
[2001/03/16 19:16:29, 3] lib/doscalls.c:dos_ChDir(342)
  dos_ChDir to /var/log/samba

I dont know if the above log says everything is right or not :(

HERE IS THE LOG OF THE CLIENT AFTER TRYING TO JOIN THE DOMAIN

log.fabrizio

[2001/03/16 19:06:37, 3] smbd/process.c:process_smb(618)
  Transaction 1 of length 174
[2001/03/16 19:06:37, 3] smbd/process.c:switch_message(448)
  switch message SMBnegprot (pid 3742)
[2001/03/16 19:06:37, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2001/03/16 19:06:37, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [XENIX CORE]
[2001/03/16 19:06:37, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [MICROSOFT NETWORKS 1.03]
[2001/03/16 19:06:37, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [LANMAN1.0]
[2001/03/16 19:06:37, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [Windows for Workgroups 3.1a]
[2001/03/16 19:06:37, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [LM1.2X002]
[2001/03/16 19:06:37, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [LANMAN2.1]
[2001/03/16 19:06:37, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [NT LM 0.12]
[2001/03/16 19:06:37, 3] smbd/negprot.c:reply_negprot(424)
  Selected protocol NT LM 0.12
[2001/03/16 19:06:37, 3] smbd/process.c:process_smb(618)
  Transaction 2 of length 196
[2001/03/16 19:06:37, 3] smbd/process.c:switch_message(448)
  switch message SMBsesssetupX (pid 3742)
[2001/03/16 19:06:37, 3] smbd/reply.c:reply_sesssetup_and_X(805)
  Domain=[STUDIOVIDEO]  NativeOS=[Windows NT 1381] NativeLanMan=[]
[2001/03/16 19:06:37, 3] smbd/reply.c:reply_sesssetup_and_X(809)
  sesssetupX:name=[mcarcano]
[2001/03/16 19:06:37, 4] smbd/password.c:smb_password_ok(400)
  Checking SMB password for user mcarcano
[2001/03/16 19:06:37, 4] smbd/password.c:smb_password_ok(427)
  smb_password_ok: Checking NT MD4 password
[2001/03/16 19:06:37, 4] smbd/password.c:smb_password_ok(431)
  NT MD4 password check succeeded
[2001/03/16 19:06:37, 3] param/loadparm.c:lp_add_home(1553)
  adding home directory mcarcano at /home/mcarcano
[2001/03/16 19:06:37, 3] smbd/password.c:setup_groups(192)
  mcarcano is in 2 groups: 530, 532
[2001/03/16 19:06:37, 3] smbd/password.c:register_vuid(270)
  uid 513 registered to name mcarcano
[2001/03/16 19:06:37, 3] smbd/password.c:register_vuid(272)
  Clearing default real name
[2001/03/16 19:06:37, 3] smbd/process.c:chain_reply(775)
  Chained message
[2001/03/16 19:06:37, 3] smbd/process.c:switch_message(448)
  switch message SMBtconX (pid 3742)
[2001/03/16 19:06:37, 4] smbd/reply.c:reply_tcon_and_X(311)
  Got device type IPC
[2001/03/16 19:06:37, 3] smbd/password.c:authorise_login(759)
  ACCEPTED: validated uid ok as non-guest
[2001/03/16 19:06:37, 3] smbd/service.c:make_connection(441)
  Connect path is /tmp
[2001/03/16 19:06:37, 3] lib/doscalls.c:dos_ChDir(342)
  dos_ChDir to /tmp
[2001/03/16 19:06:37, 3] smbd/service.c:make_connection(550)
  studiovideo (192.168.0.254) connect to service IPC$ as user mcarcano
(uid=513, gid=530) (pid 3742)
[2001/03/16 19:06:37, 3] lib/doscalls.c:dos_ChDir(342)
  dos_ChDir to /var/log/samba
[2001/03/16 19:06:37, 3] lib/doscalls.c:dos_ChDir(342)
  dos_ChDir to /var/log/samba
[2001/03/16 19:06:37, 3] smbd/reply.c:reply_tcon_and_X(358)
  tconX service=ipc$ user=mcarcano
[2001/03/16 19:06:37, 3] smbd/process.c:process_smb(618)
  Transaction 3 of length 95
[2001/03/16 19:06:37, 3] smbd/process.c:switch_message(448)
  switch message SMBntcreateX (pid 3742)
[2001/03/16 19:06:37, 3] lib/doscalls.c:dos_ChDir(342)
  dos_ChDir to /tmp
[2001/03/16 19:06:37, 4] smbd/nttrans.c:nt_open_pipe(560)
  nt_open_pipe: Opening pipe \wkssvc.
[2001/03/16 19:06:37, 3] smbd/nttrans.c:nt_open_pipe(576)
  nt_open_pipe: Known pipe wkssvc opening.
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe_hnd.c:open_rpc_pipe_p(116)
  Open pipe requested wkssvc (pipes_open=0)
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe_hnd.c:open_rpc_pipe_p(205)
  Opened pipe wkssvc with handle 7023 (pipes_open=1)
[2001/03/16 19:06:37, 3] smbd/process.c:process_smb(618)
  Transaction 4 of length 152
[2001/03/16 19:06:37, 3] smbd/process.c:switch_message(448)
  switch message SMBtrans (pid 3742)
[2001/03/16 19:06:37, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:06:37, 3] smbd/ipc.c:reply_trans(3659)
  trans <\PIPE\> data=72 params=0 setup=2
[2001/03/16 19:06:37, 3] smbd/ipc.c:named_pipe(3516)
  named pipe command on <> name
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(817)
  search for pipe pnum=7023
[2001/03/16 19:06:37, 3] smbd/ipc.c:api_fd_reply(3318)
  Got API command 0x26 on pipe "wkssvc" (pnum 7023)api_pipe_bind_req:
\PIPE\wkssvc -> \PIPE\ntsvcs
[2001/03/16 19:06:37, 3] smbd/process.c:process_smb(618)
  Transaction 5 of length 140
[2001/03/16 19:06:37, 3] smbd/process.c:switch_message(448)
  switch message SMBtrans (pid 3742)
[2001/03/16 19:06:37, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:06:37, 3] smbd/ipc.c:reply_trans(3659)
  trans <\PIPE\> data=60 params=0 setup=2
[2001/03/16 19:06:37, 3] smbd/ipc.c:named_pipe(3516)
  named pipe command on <> name
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(817)
  search for pipe pnum=7023
[2001/03/16 19:06:37, 3] smbd/ipc.c:api_fd_reply(3318)
  Got API command 0x26 on pipe "wkssvc" (pnum 7023)Doing \PIPE\wkssvc
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe.c:api_rpcTNP(1084)
  api_rpcTNP: api_wkssvc_rpc op 0x0 - api_rpcTNP: rpc command:
WKS_Q_QUERY_INFO
[2001/03/16 19:06:37, 3] smbd/process.c:process_smb(618)
  Transaction 6 of length 46
[2001/03/16 19:06:37, 3] smbd/process.c:switch_message(448)
  switch message SMBclose (pid 3742)
[2001/03/16 19:06:37, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(817)
  search for pipe pnum=7023
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe_hnd.c:close_rpc_pipe_hnd(784)
  closed pipe name wkssvc pnum=7023 (pipes_open=0)
[2001/03/16 19:06:37, 3] smbd/process.c:process_smb(618)
  Transaction 7 of length 95
[2001/03/16 19:06:37, 3] smbd/process.c:switch_message(448)
  switch message SMBntcreateX (pid 3742)
[2001/03/16 19:06:37, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:06:37, 4] smbd/nttrans.c:nt_open_pipe(560)
  nt_open_pipe: Opening pipe \srvsvc.
[2001/03/16 19:06:37, 3] smbd/nttrans.c:nt_open_pipe(576)
  nt_open_pipe: Known pipe srvsvc opening.
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe_hnd.c:open_rpc_pipe_p(116)
  Open pipe requested srvsvc (pipes_open=0)
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe_hnd.c:open_rpc_pipe_p(205)
  Opened pipe srvsvc with handle 7024 (pipes_open=1)
[2001/03/16 19:06:37, 3] smbd/process.c:process_smb(618)
  Transaction 8 of length 152
[2001/03/16 19:06:37, 3] smbd/process.c:switch_message(448)
  switch message SMBtrans (pid 3742)
[2001/03/16 19:06:37, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:06:37, 3] smbd/ipc.c:reply_trans(3659)
  trans <\PIPE\> data=72 params=0 setup=2
[2001/03/16 19:06:37, 3] smbd/ipc.c:named_pipe(3516)
  named pipe command on <> name
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(817)
  search for pipe pnum=7024
[2001/03/16 19:06:37, 3] smbd/ipc.c:api_fd_reply(3318)
  Got API command 0x26 on pipe "srvsvc" (pnum 7024)api_pipe_bind_req:
\PIPE\srvsvc -> \PIPE\ntsvcs
[2001/03/16 19:06:37, 3] smbd/process.c:process_smb(618)
  Transaction 9 of length 140
[2001/03/16 19:06:37, 3] smbd/process.c:switch_message(448)
  switch message SMBtrans (pid 3742)
[2001/03/16 19:06:37, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:06:37, 3] smbd/ipc.c:reply_trans(3659)
  trans <\PIPE\> data=60 params=0 setup=2
[2001/03/16 19:06:37, 3] smbd/ipc.c:named_pipe(3516)
  named pipe command on <> name
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(817)
  search for pipe pnum=7024
[2001/03/16 19:06:37, 3] smbd/ipc.c:api_fd_reply(3318)
  Got API command 0x26 on pipe "srvsvc" (pnum 7024)Doing \PIPE\srvsvc
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe.c:api_rpcTNP(1084)
  api_rpcTNP: api_srvsvc_rpc op 0x15 - api_rpcTNP: rpc command:
SRV_NET_SRV_GET_INFO
[2001/03/16 19:06:37, 3] smbd/process.c:process_smb(618)
  Transaction 10 of length 46
[2001/03/16 19:06:37, 3] smbd/process.c:switch_message(448)
  switch message SMBclose (pid 3742)
[2001/03/16 19:06:37, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(817)
  search for pipe pnum=7024
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe_hnd.c:close_rpc_pipe_hnd(784)
  closed pipe name srvsvc pnum=7024 (pipes_open=0)
[2001/03/16 19:06:37, 3] smbd/process.c:process_smb(618)
  Transaction 11 of length 95
[2001/03/16 19:06:37, 3] smbd/process.c:switch_message(448)
  switch message SMBntcreateX (pid 3742)
[2001/03/16 19:06:37, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:06:37, 4] smbd/nttrans.c:nt_open_pipe(560)
  nt_open_pipe: Opening pipe \wkssvc.
[2001/03/16 19:06:37, 3] smbd/nttrans.c:nt_open_pipe(576)
  nt_open_pipe: Known pipe wkssvc opening.
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe_hnd.c:open_rpc_pipe_p(116)
  Open pipe requested wkssvc (pipes_open=0)
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe_hnd.c:open_rpc_pipe_p(205)
  Opened pipe wkssvc with handle 7025 (pipes_open=1)
[2001/03/16 19:06:37, 3] smbd/process.c:process_smb(618)
  Transaction 12 of length 152
[2001/03/16 19:06:37, 3] smbd/process.c:switch_message(448)
  switch message SMBtrans (pid 3742)
[2001/03/16 19:06:37, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:06:37, 3] smbd/ipc.c:reply_trans(3659)
  trans <\PIPE\> data=72 params=0 setup=2
[2001/03/16 19:06:37, 3] smbd/ipc.c:named_pipe(3516)
  named pipe command on <> name
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(817)
  search for pipe pnum=7025
[2001/03/16 19:06:37, 3] smbd/ipc.c:api_fd_reply(3318)
  Got API command 0x26 on pipe "wkssvc" (pnum 7025)api_pipe_bind_req:
\PIPE\wkssvc -> \PIPE\ntsvcs
[2001/03/16 19:06:37, 3] smbd/process.c:process_smb(618)
  Transaction 13 of length 140
[2001/03/16 19:06:37, 3] smbd/process.c:switch_message(448)
  switch message SMBtrans (pid 3742)
[2001/03/16 19:06:37, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:06:37, 3] smbd/ipc.c:reply_trans(3659)
  trans <\PIPE\> data=60 params=0 setup=2
[2001/03/16 19:06:37, 3] smbd/ipc.c:named_pipe(3516)
  named pipe command on <> name
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(817)
  search for pipe pnum=7025
[2001/03/16 19:06:37, 3] smbd/ipc.c:api_fd_reply(3318)
  Got API command 0x26 on pipe "wkssvc" (pnum 7025)Doing \PIPE\wkssvc
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe.c:api_rpcTNP(1084)
  api_rpcTNP: api_wkssvc_rpc op 0x0 - api_rpcTNP: rpc command:
WKS_Q_QUERY_INFO
[2001/03/16 19:06:37, 3] smbd/process.c:process_smb(618)
  Transaction 14 of length 46
[2001/03/16 19:06:37, 3] smbd/process.c:switch_message(448)
  switch message SMBclose (pid 3742)
[2001/03/16 19:06:37, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(817)
  search for pipe pnum=7025
[2001/03/16 19:06:37, 4] rpc_server/srv_pipe_hnd.c:close_rpc_pipe_hnd(784)
  closed pipe name wkssvc pnum=7025 (pipes_open=0)

I also got several errors like this when joining the domain

[2001/03/16 18:58:35, 4] locking/shmem_sysv.c:sysv_shm_open(547)
  Trying sysv shmem open of size 1048576
[2001/03/16 18:58:35, 0] locking/shmem_sysv.c:sysv_shm_open(667)
  Can't create or use IPC area. Error was Il file esiste (file exist)
[2001/03/16 18:58:35, 0] locking/locking.c:locking_init(174)
  ERROR: Failed to initialise share modes
[2001/03/16 18:58:35, 4] locking/shmem_sysv.c:sysv_shm_open(547)
  Trying sysv shmem open of size 1048576
[2001/03/16 18:58:35, 0] locking/shmem_sysv.c:sysv_shm_open(667)
  Can't create or use IPC area. Error was Il file esiste (file exist)
[2001/03/16 18:58:35, 0] locking/locking.c:locking_init(174)
  ERROR: Failed to initialise share modes

samba fans, how can I manage?

Any help muchly appreciated

thanks,

Marco






More information about the samba-ntdom mailing list