[Samba] netlogon sccript

2009-09-17 Thread luigi.auge...@tin.it
 Hello

I would use a  login  script  in  a XP pro  client SP3 and my samba server is 
samba-3.0.33-3.7.el5_3.1 (Cent OS 5.3) samba is configured as PDC and I use  a 
ldap database for auth.

All work fine, client is a part of domain and use remote profile stored in the 
server samba but the logon script didn't  run. This is part of my smb.conf file
   workgroup = AMMINISTRAZIONE
netbios name =SERVER02

   local master = yes
os level = 99



domain master = yes


preferred master = yes


domain logons = yes


   logon script =orario.cmd

   wins support = yes
[]

 [netlogon]
   comment = Network Logon Service
path = /var/lib/samba/netlogon
writable = yes


my  file orario.cmd 
on /var/lib/samba/netlogon

net use w: \\server02\prova2


the permis  of directory

drwxr-xr-x  2 prova2   Domain Users 4096 17 set 11:37 netlogon

and of the file

-rwxrwxrwx 1 prova2 Domain Users  29 17 set 09:26 orario.cmd

if I do a login process dont work, but  if I try

\\server02\netlogon\orario.cmd 

after login process  it job why dont' job at logon process?

I'm dispair what is wrong?

Tanks for all help
Luigi 






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


Re: [Samba] netlogon sccript

2009-09-17 Thread Liutauras Adomaitis
On Thu, Sep 17, 2009 at 12:48 PM, luigi.auge...@tin.it
luigi.auge...@tin.it wrote:
  Hello

 I would use a  login  script  in  a XP pro  client SP3 and my samba server is 
 samba-3.0.33-3.7.el5_3.1 (Cent OS 5.3) samba is configured as PDC and I use  
 a ldap database for auth.

 All work fine, client is a part of domain and use remote profile stored in 
 the server samba but the logon script didn't  run. This is part of my 
 smb.conf file
   workgroup = AMMINISTRAZIONE
        netbios name =SERVER02

       local master = yes
        os level = 99



        domain master = yes


        preferred master = yes


        domain logons = yes


       logon script =orario.cmd

       wins support = yes
 []

  [netlogon]
   comment = Network Logon Service
    path = /var/lib/samba/netlogon
    writable = yes


 my  file orario.cmd
 on /var/lib/samba/netlogon

 net use w: \\server02\prova2


 the permis  of directory

 drwxr-xr-x  2 prova2       Domain Users 4096 17 set 11:37 netlogon

 and of the file

 -rwxrwxrwx 1 prova2 Domain Users      29 17 set 09:26 orario.cmd

 if I do a login process dont work, but  if I try

 \\server02\netlogon\orario.cmd

 after login process  it job why dont' job at logon process?

 I'm dispair what is wrong?

 Tanks for all help
 Luigi


Try searching in logs. You may need to raise loging verbosity.

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