Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: darmasanthi on February 11, 2008, 09:25:30 AM

Title: Z Drive
Post by: darmasanthi 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
Title: Re: Z Drive
Post by: cactus 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.
Title: Re: Z Drive
Post by: darmasanthi 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