[Samba] netlogon sccript

luigi.augello at tin.it luigi.augello at tin.it
Thu Sep 17 03:48:44 MDT 2009


 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 






 


More information about the samba mailing list