Koozali.org: home of the SME Server

Z Drive

Offline darmasanthi

  • ****
  • 139
  • +0/-0
Z Drive
« on: February 11, 2008, 09:25:30 AM »
Hi All,
Does anybody know how to disable "Z" drive for user log on ,
i mean on permanently
when we create a new user it will automatically disable

regards,
darmasanthi

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Z Drive
« Reply #1 on: February 11, 2008, 11:02:58 AM »
Hi All,
Does anybody know how to disable "Z" drive for user log on ,
i mean on permanently
when we create a new user it will automatically disable

regards,
darmasanthi
You can only disable this for all users like this:
Create a custom-template for the 11logonDrive section and in the custom template fragment comment out the following line like this
Code: [Select]
    #return "logon drive = ${drive}:";
After that regenerate the smb.conf file
Code: [Select]
expand-template /etc/samba/smb.confand restart samba
Code: [Select]
service smb restartIf you want to do this for some users and not for all you will have to do some fancy scripting in the netlogon.bat file, provided you are running SME Server as domain controller and have Roaming Profiles enabled.
« Last Edit: February 11, 2008, 11:04:39 AM by cactus »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline darmasanthi

  • ****
  • 139
  • +0/-0
Re: Z Drive
« Reply #2 on: February 11, 2008, 11:54:35 AM »
You can only disable this for all users like this:
Create a custom-template for the 11logonDrive section and in the custom template fragment comment out the following line like this
Code: [Select]
    #return "logon drive = ${drive}:";
After that regenerate the smb.conf file
Code: [Select]
expand-template /etc/samba/smb.confand restart samba
Code: [Select]
service smb restartIf you want to do this for some users and not for all you will have to do some fancy scripting in the netlogon.bat file, provided you are running SME Server as domain controller and have Roaming Profiles enabled.

Thanks cactus,
Yes, i will do this for all user.
btw, how to enable this feture ...

regards,
darmasanthi