[Samba] Error reading logon.bat sript

Stephan Holl sholl at gmx.net
Fri Dec 3 10:32:57 GMT 2004


Dear Samba-users,

I cannot manage to make samba read my logon.script for windows clients
where basicaly networkdrive-mapping is done.
Samba complaines about not having permission...

Error:
switch message SMBntcreateX (pid 28286)
[2004/12/03 11:27:31, 3] smbd/dosmode.c:unix_mode(110)
  unix_mode(logon.bat) returning 0744
[2004/12/03 11:27:31, 3] smbd/open.c:open_file(173)
  Error opening file logon.bat (Keine Berechtigung) (local_flags=0)
(flags=0)[2004/12/03 11:27:31, 3] smbd/error.c:error_packet(94)
  error string = Keine Berechtigung
[2004/12/03 11:27:31, 3] smbd/error.c:error_packet(118)
  error packet at smbd/trans2.c(1823) cmd=162 (SMBntcreateX)
NT_STATUS_ACCESS_DENIED[2004/12/03 11:27:31, 3]
smbd/process.c:process_smb(890)  Transaction 2598 of length 110
[2004/12/03 11:27:31, 3] smbd/process.c:switch_message(685)
  switch message SMBntcreateX (pid 28286)
[2004/12/03 11:27:31, 3] smbd/dosmode.c:unix_mode(110)
  unix_mode(logon.bat) returning 0744
[2004/12/03 11:27:31, 3] smbd/open.c:open_file(173)
  Error opening file logon.bat (Keine Berechtigung) (local_flags=0)
(flags=0)[2004/12/03 11:27:31, 3] smbd/error.c:error_packet(94)
  error string = Keine Berechtigung

I am using samba-3.0.2a-51 on Suse 9.1 as a PDC

My Conf:
logon script = logon.bat
[netlogon]
# path just for testing set to /tmp
   path = /tmp
   writable = yes
   browseable = yes
   guest ok = no
   printable = no
   directory mask = 777

Unix-permission of /tmp/logon.bat:
la /tmp/logon.bat
-rwxrwxrwx  1 root root 96 2004-12-03 11:19 /tmp/logon.bat

This is really anoying..

I do not know where to look else.
Thank you for any hints

Cheers
	Stephan



More information about the samba mailing list