Hi All, I am using Samba to let my LINUX server to be accessed by my WINDOZE PC's. I have it configured to use share level config and use it as a Domain Controller. It works fine, but I would like it to automount the shares whenever a user logs in to the network.
It is possible in a WINDOZE NT or 2000 setup by using login scripts. But is it possible to use it in LINUX environment i.e. by using SAMBA.
Everytime I have to manually map it thru Net Neighbourhood or check the option of Auto Mapping so that it is available in the next login. It helps, but I want to control which user can access which share. The share available to the user shall appear mapped whenever he/she logs in.
I think you all understand my point. If not, let me know.
Any help is highly appreciated.
regards,
rc
Hi Richard,
Please take care of your line length.
On Thu, 2005-05-05 at 11:15, Richard Chang wrote:
Hi All, I am using Samba to let my LINUX server to be accessed by my WINDOZE PC's. I have it configured to use share level config and use it as a Domain Controller. It works fine, but I would like it to automount the shares whenever a user logs in to the network.
It is possible in a WINDOZE NT or 2000 setup by using login scripts. But is it possible to use it in LINUX environment i.e. by using SAMBA.
Search Samba docs for "NetLogon"
And remember to edit the logon script in DOS mode (with CRLF).
Any help is highly appreciated.
HTH With regards,
From: "Richard Chang" richard@hinditron.com
Everytime I have to manually map it thru Net Neighbourhood or check the option of Auto Mapping so that >it is available in the next login. It helps, but I want to control which user can access which share. The >share available to the user shall appear mapped whenever he/she logs in.
Ok, heres what you need to do. You need to create a user account on you Linux OS for each user on the windoze PC. Then, you need to create a samba account for each username (smbpasswd). Once you do that, then you will be able to make a share selectively available to users. For example:
[Music] comment = Music files on Linux PC path = /home/music valid users = my_favorite_user browseable = yes writable = no
So, on the network, the above share will be visible to all users BUT only my_favorite_user will be able to gain access to its contents ;)
Regards, Dinesh.
_________________________________________________________________ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement