Installing NT BDC in a samba PDC domain?

Greg Dickie greg at discreet.com
Thu Feb 25 12:03:20 GMT 1999


I'm totally guessing here but did you reset the machine password in smbpasswd
to the default?

Greg

On 25-Feb-99 Palle Girgensohn wrote:
> Hi!
> 
> I'm trying to do a fresh installation of an NT server as a BDC in a
> domain controlled by a samba-2.0.2-release PDC. After setting the IP
> address (static) on the NT machine, it can't find any domain, and cannot
> be pinged. So, I tried setting it through DHCP, and then it shows up and
> can be pinged. (Strange, but this is NT and has nothing to do with
> samba, I guess). 
> 
> This has, though:
> 
> When trying to connect to the domain, with userid adminstrator and
> passwd, I get:
> 
>  This computer already configured as a workstation or server 
>  in the domain. Contact your system administrator. (hey, that's me :)
> 
> This is a fresh install!!! It has been installed before, but that was
> days ago, and it's been shut off in the mean time. Then it was a
> "stand-alone server" and could join the domain (as a workstation, since
> it was "stand-alone" server). Still, read on the list about moving a
> running machine to a domain, and having to disconnect (via DOS) all
> connected net drives, but this is during installation of NT, so there's
> no DOS window... :(  I did try to kill off the smbd daemons to
> disconnect, but it hasn't helped.
> 
> I have followed the NT dom faq, with the latest add-ons in the nt-dom
> mailing list. the machine account is there, and administrator group and
> password. the group mapping. But since I run 2.0.2-release, the domain
> users map config param isn't available, but should matter here?
> 
> Any ideas? I'm running debug at level 3, and attach some logs here.
> 
> uname -a:
> FreeBSD trumpet.partitur.se 3.1-STABLE FreeBSD 3.1-STABLE #0: Fri Feb 19
> 23:35:59 CET 1999
> 
> Thanks for any help!
> 
> /Palle
> 
> 
> Here's the sambalog.triangel when trying to connect:
> 
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 1 of length 174
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBnegprot (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/negprot.c:reply_negprot(332)
>   Requested protocol [PC NETWORK PROGRAM 1.0]
> [1999/02/25 03:17:56, 3] smbd/negprot.c:reply_negprot(332)
>   Requested protocol [XENIX CORE]
> [1999/02/25 03:17:56, 3] smbd/negprot.c:reply_negprot(332)
>   Requested protocol [MICROSOFT NETWORKS 1.03]
> [1999/02/25 03:17:56, 3] smbd/negprot.c:reply_negprot(332)
>   Requested protocol [LANMAN1.0]
> [1999/02/25 03:17:56, 3] smbd/negprot.c:reply_negprot(332)
>   Requested protocol [Windows for Workgroups 3.1a]
> [1999/02/25 03:17:56, 3] smbd/negprot.c:reply_negprot(332)
>   Requested protocol [LM1.2X002]
> [1999/02/25 03:17:56, 3] smbd/negprot.c:reply_negprot(332)
>   Requested protocol [LANMAN2.1]
> [1999/02/25 03:17:56, 3] smbd/negprot.c:reply_negprot(332)
>   Requested protocol [NT LM 0.12]
> [1999/02/25 03:17:56, 3] smbd/negprot.c:reply_negprot(409)
>   Selected protocol NT LM 0.12
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 2 of length 197
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBsesssetupX (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/reply.c:reply_sesssetup_and_X(675)
>   Domain=[MUSIK]  NativeOS=[Windows NT 1381] NativeLanMan=[]
> [1999/02/25 03:17:56, 3] smbd/reply.c:reply_sesssetup_and_X(679)
>   sesssetupX:name=[administrator]
> [1999/02/25 03:17:56, 3] param/loadparm.c:lp_add_home(1445)
>   adding home directory administrator at /
> [1999/02/25 03:17:56, 3] smbd/password.c:setup_groups(192)
>   administrator is in 3 groups: 4001, 4001, 21
> [1999/02/25 03:17:56, 3] smbd/password.c:register_vuid(270)
>   uid 4001 registered to name administrator
> [1999/02/25 03:17:56, 3] smbd/password.c:register_vuid(272)
>   Clearing default real name
> [1999/02/25 03:17:56, 3] smbd/process.c:chain_reply(715)
>   Chained message
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtconX (pid 1526)
> [1999/02/25 03:17:56, 2] lib/access.c:check_access(249)
>   Allowed connection from e-string.partitur.se (193.219.246.235)
> [1999/02/25 03:17:56, 3] smbd/password.c:authorise_login(737)
>   ACCEPTED: validated uid ok as non-guest
> [1999/02/25 03:17:56, 3] smbd/service.c:make_connection(386)
>   Connect path is /tmp
> [1999/02/25 03:17:56, 3] lib/doscalls.c:dos_ChDir(327)
>   dos_ChDir to /tmp
> [1999/02/25 03:17:56, 3] lib/doscalls.c:dos_ChDir(327)
>   dos_ChDir to /
> [1999/02/25 03:17:56, 3] smbd/service.c:make_connection(488)
>   triangel (193.219.246.235) connect to service IPC$ as user
> administrator (uid=4001, gid=4001) (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/reply.c:reply_tcon_and_X(340)
>   tconX service=ipc$ user=administrator
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 3 of length 95
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBntcreateX (pid 1526)
> [1999/02/25 03:17:56, 3] lib/doscalls.c:dos_ChDir(327)
>   dos_ChDir to /tmp
> [1999/02/25 03:17:56, 3] smbd/nttrans.c:nt_open_pipe(528)
>   nt_open_pipe: Known pipe srvsvc opening.
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 4 of length 152
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=72 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "srvsvc" (pnum 7022)api_pipe_bind_req:
> \PIPE\srvsvc -> \PIPE\ntsvcs
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 5 of length 144
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=64 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "srvsvc" (pnum 7022)Doing \PIPE\srvsvc
> [1999/02/25 03:17:56, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SRV_NET_SRV_GET_INFO
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 6 of length 46
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBclose (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 7 of length 93
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBntcreateX (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/nttrans.c:nt_open_pipe(528)
>   nt_open_pipe: Known pipe samr opening.
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 8 of length 152
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=72 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)api_pipe_bind_req:
> \PIPE\samr -> \PIPE\lsass
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 9 of length 144
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=64 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)Doing \PIPE\samr
> [1999/02/25 03:17:56, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SAMR_CONNECT
> [1999/02/25 03:17:56, 3]
> rpc_server/srv_lsa_hnd.c:set_lsa_policy_samr_pol_status(195)
>   Setting policy status=20 pnum=1
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 10 of length 95
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBntcreateX (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/nttrans.c:nt_open_pipe(528)
>   nt_open_pipe: Known pipe lsarpc opening.
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 11 of length 152
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=72 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "lsarpc" (pnum 7024)api_pipe_bind_req:
> \PIPE\lsarpc -> \PIPE\lsass
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 12 of length 168
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=88 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "lsarpc" (pnum 7024)Doing \PIPE\lsarpc
> [1999/02/25 03:17:56, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: LSA_OPENPOLICY2
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 13 of length 126
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=46 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "lsarpc" (pnum 7024)Doing \PIPE\lsarpc
> [1999/02/25 03:17:56, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: LSA_QUERYINFOPOLICY
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 14 of length 124
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=44 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "lsarpc" (pnum 7024)Doing \PIPE\lsarpc
> [1999/02/25 03:17:56, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: LSA_CLOSE
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 15 of length 46
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBclose (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 16 of length 156
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=76 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)Doing \PIPE\samr
> [1999/02/25 03:17:56, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SAMR_OPEN_DOMAIN
> [1999/02/25 03:17:56, 3]
> rpc_server/srv_lsa_hnd.c:set_lsa_policy_samr_sid(216)
>   Setting policy sid=S-1-5-21-3984286113-2146044006-1873831581 pnum=2
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 17 of length 172
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=92 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)Doing \PIPE\samr
> [1999/02/25 03:17:56, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SAMR_0x32
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 18 of length 178
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=98 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)Doing \PIPE\samr
> [1999/02/25 03:17:56, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SAMR_LOOKUP_NAMES
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 19 of length 132
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=52 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)Doing \PIPE\samr
> [1999/02/25 03:17:56, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SAMR_OPEN_USER
> [1999/02/25 03:17:56, 3]
> rpc_server/srv_lsa_hnd.c:set_lsa_policy_samr_rid(175)
>   Setting policy device rid=203d0 pnum=3
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 20 of length 126
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=46 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)Doing \PIPE\samr
> [1999/02/25 03:17:56, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SAMR_QUERY_USERINFO
> [1999/02/25 03:17:56, 3]
> rpc_server/srv_lsa_hnd.c:get_lsa_policy_samr_rid(258)
>   Getting policy device rid=203d0 pnum=3
> [1999/02/25 03:17:56, 3] rpc_server/srv_samr.c:get_user_info_10(1034)
>   User:[triangel$]
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 21 of length 124
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=44 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)Doing \PIPE\samr
> [1999/02/25 03:17:56, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SAMR_CLOSE_HND
> [1999/02/25 03:17:56, 3]
> rpc_server/srv_lsa_hnd.c:close_lsa_policy_hnd(298)
>   Closed policy name pnum=3
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 22 of length 124
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=44 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)Doing \PIPE\samr
> [1999/02/25 03:17:56, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SAMR_CLOSE_HND
> [1999/02/25 03:17:56, 3]
> rpc_server/srv_lsa_hnd.c:close_lsa_policy_hnd(298)
>   Closed policy name pnum=2
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 23 of length 156
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=76 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)Doing \PIPE\samr
> [1999/02/25 03:17:56, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SAMR_OPEN_DOMAIN
> [1999/02/25 03:17:56, 3]
> rpc_server/srv_lsa_hnd.c:set_lsa_policy_samr_sid(216)
>   Setting policy sid=S-1-5-21-3984286113-2146044006-1873831581 pnum=2
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 24 of length 144
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=64 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)Doing \PIPE\samr
> [1999/02/25 03:17:56, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SAMR_OPEN_DOMAIN
> [1999/02/25 03:17:56, 3]
> rpc_server/srv_lsa_hnd.c:set_lsa_policy_samr_sid(216)
>   Setting policy sid=S-1-5-32 pnum=3
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 25 of length 178
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=98 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)Doing \PIPE\samr
> [1999/02/25 03:17:56, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SAMR_LOOKUP_NAMES
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 26 of length 132
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=52 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)Doing \PIPE\samr
> [1999/02/25 03:17:56, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SAMR_OPEN_USER
> [1999/02/25 03:17:56, 3]
> rpc_server/srv_lsa_hnd.c:set_lsa_policy_samr_rid(175)
>   Setting policy device rid=203d0 pnum=4
> [1999/02/25 03:17:56, 3] smbd/process.c:process_smb(565)
>   Transaction 27 of length 126
> [1999/02/25 03:17:56, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:56, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=46 params=0 setup=2
> [1999/02/25 03:17:56, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:56, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)Doing \PIPE\samr
> [1999/02/25 03:17:56, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SAMR_QUERY_USERINFO
> [1999/02/25 03:17:56, 3]
> rpc_server/srv_lsa_hnd.c:get_lsa_policy_samr_rid(258)
>   Getting policy device rid=203d0 pnum=4
> [1999/02/25 03:17:57, 3] rpc_server/srv_samr.c:get_user_info_21(1067)
>   User:[triangel$]
> [1999/02/25 03:17:57, 0] rpc_server/srv_samr.c:get_user_info_21(1072)
>   get_user_info_21 - TODO: convert unix times to NTTIMEs
> [1999/02/25 03:17:57, 3] smbd/process.c:process_smb(565)
>   Transaction 28 of length 128
> [1999/02/25 03:17:57, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:57, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=48 params=0 setup=2
> [1999/02/25 03:17:57, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:57, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)Doing \PIPE\samr
> [1999/02/25 03:17:57, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SAMR_UNKNOWN_3
> [1999/02/25 03:17:57, 3]
> rpc_server/srv_lsa_hnd.c:get_lsa_policy_samr_rid(258)
>   Getting policy device rid=203d0 pnum=4
> [1999/02/25 03:17:57, 3] smbd/process.c:process_smb(565)
>   Transaction 29 of length 124
> [1999/02/25 03:17:57, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:57, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=44 params=0 setup=2
> [1999/02/25 03:17:57, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:57, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)Doing \PIPE\samr
> [1999/02/25 03:17:57, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SAMR_CLOSE_HND
> [1999/02/25 03:17:57, 3]
> rpc_server/srv_lsa_hnd.c:close_lsa_policy_hnd(298)
>   Closed policy name pnum=4
> [1999/02/25 03:17:57, 3] smbd/process.c:process_smb(565)
>   Transaction 30 of length 124
> [1999/02/25 03:17:57, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:57, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=44 params=0 setup=2
> [1999/02/25 03:17:57, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:57, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)Doing \PIPE\samr
> [1999/02/25 03:17:57, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SAMR_CLOSE_HND
> [1999/02/25 03:17:57, 3]
> rpc_server/srv_lsa_hnd.c:close_lsa_policy_hnd(298)
>   Closed policy name pnum=2
> [1999/02/25 03:17:57, 3] smbd/process.c:process_smb(565)
>   Transaction 31 of length 124
> [1999/02/25 03:17:57, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:57, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=44 params=0 setup=2
> [1999/02/25 03:17:57, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:57, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)Doing \PIPE\samr
> [1999/02/25 03:17:57, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SAMR_CLOSE_HND
> [1999/02/25 03:17:57, 3]
> rpc_server/srv_lsa_hnd.c:close_lsa_policy_hnd(298)
>   Closed policy name pnum=3
> [1999/02/25 03:17:57, 3] smbd/process.c:process_smb(565)
>   Transaction 32 of length 124
> [1999/02/25 03:17:57, 3] smbd/process.c:switch_message(402)
>   switch message SMBtrans (pid 1526)
> [1999/02/25 03:17:57, 3] smbd/ipc.c:reply_trans(3624)
>   trans <\PIPE\> data=44 params=0 setup=2
> [1999/02/25 03:17:57, 3] smbd/ipc.c:named_pipe(3479)
>   named pipe command on <> name
> [1999/02/25 03:17:57, 3] smbd/ipc.c:api_fd_reply(3264)
>   Got API command 0x26 on pipe "samr" (pnum 7023)Doing \PIPE\samr
> [1999/02/25 03:17:57, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
>   api_rpc_command: SAMR_CLOSE_HND
> [1999/02/25 03:17:57, 3]
> rpc_server/srv_lsa_hnd.c:close_lsa_policy_hnd(298)
>   Closed policy name pnum=1
> [1999/02/25 03:17:57, 3] smbd/process.c:process_smb(565)
>   Transaction 33 of length 46
> [1999/02/25 03:17:57, 3] smbd/process.c:switch_message(402)
>   switch message SMBclose (pid 1526)
> [1999/02/25 03:17:57, 3] smbd/process.c:process_smb(565)
>   Transaction 34 of length 39
> [1999/02/25 03:17:57, 3] smbd/process.c:switch_message(402)
>   switch message SMBtdis (pid 1526)
> [1999/02/25 03:17:57, 3] lib/doscalls.c:dos_ChDir(327)
>   dos_ChDir to /
> [1999/02/25 03:17:57, 3] smbd/service.c:close_cnum(514)
>   triangel (193.219.246.235) closed connection to service IPC$
> [1999/02/25 03:17:57, 3] smbd/connection.c:yield_connection(40)
>   Yielding connection to IPC$
> [1999/02/25 03:17:57, 3] smbd/process.c:process_smb(565)
>   Transaction 35 of length 43
> [1999/02/25 03:17:57, 3] smbd/process.c:switch_message(402)
>   switch message SMBulogoffX (pid 1526)
> [1999/02/25 03:17:57, 3] smbd/reply.c:reply_ulogoffX(1597)
>   ulogoffX vuid=100
> [1999/02/25 03:17:57, 3] smbd/process.c:timeout_processing(755)
>   end of file from client
> [1999/02/25 03:17:57, 2] smbd/server.c:exit_server(406)
>   Closing connections
> [1999/02/25 03:17:57, 3] smbd/server.c:exit_server(431)
>   Server exit (normal exit)
> 
> 
> 
> .....................
> 
> and log.nmb:
> 
> [1999/02/25 03:17:40, 3]
> nmbd/nmbd_incomingrequests.c:process_name_registration_request(231)
>   process_name_registration_request: Name registration for name
> TRIANGEL<00> IP 193.219.246.235 on subnet 193.219.246.210
> [1999/02/25 03:17:41, 3]
> nmbd/nmbd_incomingrequests.c:process_name_registration_request(231)
>   process_name_registration_request: Name registration for name
> TRIANGEL<00> IP 193.219.246.235 on subnet 193.219.246.210
> [1999/02/25 03:17:42, 3]
> nmbd/nmbd_incomingrequests.c:process_name_registration_request(231)
>   process_name_registration_request: Name registration for name
> TRIANGEL<00> IP 193.219.246.235 on subnet 193.219.246.210
> [1999/02/25 03:17:42, 3]
> nmbd/nmbd_incomingrequests.c:process_name_registration_request(231)
>   process_name_registration_request: Name registration for name
> TRIANGEL<00> IP 193.219.246.235 on subnet 193.219.246.210
> [1999/02/25 03:17:43, 3]
> nmbd/nmbd_incomingrequests.c:process_name_registration_request(231)
>   process_name_registration_request: Name registration for name
> WORKGROUP<00> IP 193.219.246.235 on subnet 193.219.246.210
> [1999/02/25 03:17:44, 3]
> nmbd/nmbd_incomingrequests.c:process_name_registration_request(231)
>   process_name_registration_request: Name registration for name
> WORKGROUP<00> IP 193.219.246.235 on subnet 193.219.246.210
> [1999/02/25 03:17:45, 3]
> nmbd/nmbd_incomingrequests.c:process_name_registration_request(231)
>   process_name_registration_request: Name registration for name
> WORKGROUP<00> IP 193.219.246.235 on subnet 193.219.246.210
> [1999/02/25 03:17:45, 3]
> nmbd/nmbd_incomingrequests.c:process_name_registration_request(231)
>   process_name_registration_request: Name registration for name
> WORKGROUP<00> IP 193.219.246.235 on subnet 193.219.246.210
> [1999/02/25 03:17:46, 3]
> nmbd/nmbd_incomingrequests.c:process_name_registration_request(231)
>   process_name_registration_request: Name registration for name
> WORKGROUP<1c> IP 193.219.246.235 on subnet 193.219.246.210
> [1999/02/25 03:17:47, 3]
> nmbd/nmbd_incomingrequests.c:process_name_registration_request(231)
>   process_name_registration_request: Name registration for name
> WORKGROUP<1c> IP 193.219.246.235 on subnet 193.219.246.210
> [1999/02/25 03:17:48, 3]
> nmbd/nmbd_incomingrequests.c:process_name_registration_request(231)
>   process_name_registration_request: Name registration for name
> WORKGROUP<1c> IP 193.219.246.235 on subnet 193.219.246.210
> [1999/02/25 03:17:48, 3]
> nmbd/nmbd_incomingrequests.c:process_name_registration_request(231)
>   process_name_registration_request: Name registration for name
> WORKGROUP<1c> IP 193.219.246.235 on subnet 193.219.246.210
> [1999/02/25 03:17:56, 3]
> nmbd/nmbd_incomingrequests.c:process_name_query_request(466)
>   process_name_query_request: Name query from 193.219.246.235 on subnet
> 193.219.246.210 for name MUSIK<1b>
> [1999/02/25 03:17:56, 3]
> nmbd/nmbd_incomingrequests.c:process_name_query_request(603)
>   OK
> [1999/02/25 03:17:56, 1]
> nmbd/nmbd_processlogon.c:process_logon_packet(69)
>   process_logon_packet: Logon from 193.219.246.235: code = 7
> [1999/02/25 03:17:56, 3]
> nmbd/nmbd_processlogon.c:process_logon_packet(160)
>   process_logon_packet: GETDC request from TRIANGEL at IP
> 193.219.246.235, reporting TRUMPET domain MUSIK 0xc ntversion=1 lm_nt
> token=ffff lm_20 token=ffff
> [1999/02/25 03:17:56, 3]
> nmbd/nmbd_incomingrequests.c:process_name_query_request(466)
>   process_name_query_request: Name query from 193.219.246.235 on subnet
> 193.219.246.210 for name TRUMPET<20>
> [1999/02/25 03:17:56, 3]
> nmbd/nmbd_incomingrequests.c:process_name_query_request(603)
>   OK
> [1999/02/25 03:17:56, 1]
> nmbd/nmbd_processlogon.c:process_logon_packet(69)
>   process_logon_packet: Logon from 193.219.246.235: code = 7
> [1999/02/25 03:17:56, 3]
> nmbd/nmbd_processlogon.c:process_logon_packet(160)
>   process_logon_packet: GETDC request from TRIANGEL at IP
> 193.219.246.235, reporting TRUMPET domain MUSIK 0xc ntversion=1 lm_nt
> token=ffff lm_20 token=ffff

---------------------------------------------------------------------
Greg Dickie
Just A Guy*
*from discreet logic
Montreal 
(514) 954-7171
greg at discreet.com



More information about the samba-ntdom mailing list