Re: [Fwd: Re: [Samba] Error reading logon.bat sript]

2004-12-03 Thread Christoph Stoettner
SORRY! I don't know why my text was lost after sending. Here again:

Hi,
i think default of logon-path is wrong in this case. Here a part of my
smb.conf with testparm -v

logon script =
logon path = \\%N\%U\profile
logon drive =

I didn't configure anything until now, so i think this is default. And
Samba is looking for your logon.bat at the wrong path.

Bye
Chris

Am Fr, den 03.12.2004 schrieb Christoph Stoettner um 17:10:
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Fwd: Re: [Samba] Error reading logon.bat sript]

2004-12-03 Thread Christoph Stoettner



signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Error reading logon.bat sript

2004-12-03 Thread Stephan Holl
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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba