[Samba] unable to run login scripts in [netlogon]

Jeremy Allison jra at samba.org
Fri Jul 11 18:38:25 GMT 2008


On Fri, Jul 11, 2008 at 08:36:48AM -0500, Adam Williams wrote:
> My Windows XP SP3 clients aren't loading their logged_in_username.bat 
> from my netlogon share, and I can't figure out why.  It looks like in 
> the log file the Windows PCs are loading the script, its just not 
> executing it on the windows PCs for some reason, but if I click start, 
> run, and type in \\roark\netlogon\scripts\jholland.bat it runs fine.  
> Running samba 3.0.31 and here's the excerpt from the log file:
> 
> [2008/07/11 08:23:18, 3] smbd/msdfs.c:dfs_redirect(557)
>  dfs_redirect: Not redirecting \roark\netlogon\scripts\jholland.bat.
> [2008/07/11 08:23:18, 3] smbd/msdfs.c:dfs_redirect(562)
>  dfs_redirect: Path converted to non-dfs path scripts/jholland.bat
> [2008/07/11 08:23:18, 3] smbd/trans2.c:call_trans2qfilepathinfo(3355)
>  call_trans2qfilepathinfo scripts/jholland.bat (fnum = -1) level=1004 
> call=5 total_data=0
> [2008/07/11 08:23:18, 3] smbd/process.c:process_smb(1069)
>  Transaction 8 of length 152
> [2008/07/11 08:23:18, 3] smbd/process.c:switch_message(927)
>  switch message SMBtrans2 (pid 21442) conn 0x2aaaaaea24c0
> [2008/07/11 08:23:18, 3] smbd/sec_ctx.c:set_sec_ctx(241)
>  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
> [2008/07/11 08:23:18, 3] smbd/trans2.c:call_trans2qfilepathinfo(3304)
>  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
> [2008/07/11 08:23:18, 3] smbd/msdfs.c:dfs_redirect(557)
>  dfs_redirect: Not redirecting \roark\netlogon\scripts\jholland.bat.
> [2008/07/11 08:23:18, 3] smbd/msdfs.c:dfs_redirect(562)
>  dfs_redirect: Path converted to non-dfs path scripts/jholland.bat
> [2008/07/11 08:23:18, 3] smbd/trans2.c:call_trans2qfilepathinfo(3355)
>  call_trans2qfilepathinfo scripts/jholland.bat (fnum = -1) level=1005 
> call=5 total_data=0
> [2008/07/11 08:23:18, 3] smbd/process.c:process_smb(1069)
>  Transaction 9 of length 152
> [2008/07/11 08:23:18, 3] smbd/process.c:switch_message(927)
>  switch message SMBtrans2 (pid 21442) conn 0x2aaaaaea24c0
> [2008/07/11 08:23:18, 3] smbd/sec_ctx.c:set_sec_ctx(241)
>  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
> [2008/07/11 08:23:18, 3] smbd/trans2.c:call_trans2qfilepathinfo(3304)
>  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1034
> [2008/07/11 08:23:18, 3] smbd/msdfs.c:dfs_redirect(557)
>  dfs_redirect: Not redirecting \roark\netlogon\scripts\jholland.bat.
> [2008/07/11 08:23:18, 3] smbd/msdfs.c:dfs_redirect(562)
>  dfs_redirect: Path converted to non-dfs path scripts/jholland.bat
> [2008/07/11 08:23:18, 3] smbd/trans2.c:call_trans2qfilepathinfo(3355)
>  call_trans2qfilepathinfo scripts/jholland.bat (fnum = -1) level=1034 
> call=5 total_data=0
> [2008/07/11 08:23:18, 3] smbd/process.c:process_smb(1069)
>  Transaction 10 of length 136

None of these log entries show an error in accessing the files.
We'd need to see much more of the log before understanding what
is going on here. Do you want to log a bug and upload complete
debug level 10 logfiles ?

Jeremy.


More information about the samba mailing list