[Samba] Problem loading login.bat on a windows 7 machine

John Drescher drescherjm at gmail.com
Tue Nov 27 10:34:33 MST 2012


On 1 windows 7 workstation in my work samba 3 domain roaming profiles
are not loading. The problem seems to be a failure in loading the
login.bat

Samba version 3.5.19
PID     Username      Group         Machine
-------------------------------------------------------------------
8078      jdrescher     Domain Users  radimgws70   (192.168.2.157)

Service      pid     machine       Connected at
-------------------------------------------------------
IPC$         8199   datastore2    Tue Nov 27 12:29:05 2012
IPC$         8180   datastore1    Tue Nov 27 12:28:07 2012
IPC$         8229   radimgws68    Tue Nov 27 12:31:10 2012
netlogon     8078   radimgws70    Tue Nov 27 12:22:26 2012

Locked files:
Pid          Uid        DenyMode   Access      R/W        Oplock
    SharePath   Name   Time
--------------------------------------------------------------------------------------------------
8078         1000       DENY_WRITE 0xa1        RDONLY     NONE
    /home/netlogon   login.bat   Tue Nov 27 12:22:26 2012


[2012/11/27 12:24:02.704884,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (1000, 513) - sec_ctx_stack_ndx = 0
[2012/11/27 12:24:02.705305,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name
[login.bat.34308300201211260203TTTTNT7TT.{10E39A49-4531-4496-A08E-842D4C440D20}]
[/home/netlogon]
[2012/11/27 12:24:02.705338,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name:
login.bat.34308300201211260203TTTTNT7TT.{10E39A49-4531-4496-A08E-842D4C440D20}
reduced to /home/netlogon/login.bat.34308300201211260203TTTTNT7TT.{10E39A49-4531-4496-A08E-842D4C440D20}
[2012/11/27 12:24:02.705362,  3] smbd/dosmode.c:166(unix_mode)
  unix_mode(login.bat.34308300201211260203TTTTNT7TT.{10E39A49-4531-4496-A08E-842D4C440D20})
returning 0744
[2012/11/27 12:24:02.705381,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/error.c(160) cmd=162 (SMBntcreateX)
NT_STATUS_OBJECT_NAME_NOT_FOUND
[2012/11/27 12:24:14.064825,  3] smbd/process.c:1489(process_smb)


For me an interesting thing from the above output is
login.bat.34308300201211260203TTTTNT7TT.{10E39A49-4531-4496-A08E-842D4C440D20}

why is it trying to append
.34308300201211260203TTTTNT7TT.{10E39A49-4531-4496-A08E-842D4C440D20}
to the filename? Or am I reading this wrong?

-- 
John M. Drescher


More information about the samba mailing list