Re: [gentoo-user] Samba basics
On Thursday 22 November 2007, dexter wrote: Mick pisze: Thanks Stroller, On Thursday 22 November 2007, Stroller wrote: On 22 Nov 2007, at 08:43, Mick wrote: ... My experience is that stuff like this is not completely-obvious-to- newcomers in Samba, and I wouldn't rely on it working just like you might expect. Hmm, I know what you mean! :) You might consider posting on the Samba mailing lists, which are quite busy. Thanks, I'll look into it. The Windows file manager still displays the (Linux) user home directory and a file called printers. Is there a way of removing these two items from the Windows client view? The easy way to do this is to remove the [homes] [printers] sections of your smb.conf (NOT smb.cfg, on my system), but of course that also prevents access to them. Is there a way to do this selectively for different users? Some cannot be trusted to even look after their own linux home directories and leaving them visible will give rise to unnecessary queries. I remember that there is an option to include selective config files based on conditions - it's been some time since my last samba installation (a complex one) but it looked something like this include /etc/samba/hostname.cfg It's just of the to of my head, but You should get the idea, in the example above, if a host with certain hostname was connecting to samba server, a specific file was included. Unfortunatelly I don't remeber exact syntax, and tons of other things - I just suggest looking in this direction Thank you all, I have most of it working now. Commenting out [homes] made the users' home directories disappear. The funny thing is that although I have commented out [printers], it is still visible in Windows Explorer. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Samba basics
On 22 Nov 2007, at 08:43, Mick wrote: ... I have set up a Samba server for a small office and used 'browseable No' extensively in the smb.cfg file, to remove a lot of otherwise visible to the Windows clients directories. My experience is that stuff like this is not completely-obvious-to- newcomers in Samba, and I wouldn't rely on it working just like you might expect. You might consider posting on the Samba mailing lists, which are quite busy. The Windows file manager still displays the (Linux) user home directory and a file called printers. Is there a way of removing these two items from the Windows client view? The easy way to do this is to remove the [homes] [printers] sections of your smb.conf (NOT smb.cfg, on my system), but of course that also prevents access to them. Stroller -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Samba basics
Thanks Stroller, On Thursday 22 November 2007, Stroller wrote: On 22 Nov 2007, at 08:43, Mick wrote: ... My experience is that stuff like this is not completely-obvious-to- newcomers in Samba, and I wouldn't rely on it working just like you might expect. Hmm, I know what you mean! :) You might consider posting on the Samba mailing lists, which are quite busy. Thanks, I'll look into it. The Windows file manager still displays the (Linux) user home directory and a file called printers. Is there a way of removing these two items from the Windows client view? The easy way to do this is to remove the [homes] [printers] sections of your smb.conf (NOT smb.cfg, on my system), but of course that also prevents access to them. Is there a way to do this selectively for different users? Some cannot be trusted to even look after their own linux home directories and leaving them visible will give rise to unnecessary queries. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Samba basics
On Nov 22, 2007 2:46 PM, Mick [EMAIL PROTECTED] wrote: Thanks Stroller, On Thursday 22 November 2007, Stroller wrote: On 22 Nov 2007, at 08:43, Mick wrote: ... My experience is that stuff like this is not completely-obvious-to- newcomers in Samba, and I wouldn't rely on it working just like you might expect. Hmm, I know what you mean! :) You might consider posting on the Samba mailing lists, which are quite busy. Thanks, I'll look into it. The Windows file manager still displays the (Linux) user home directory and a file called printers. Is there a way of removing these two items from the Windows client view? The easy way to do this is to remove the [homes] [printers] sections of your smb.conf (NOT smb.cfg, on my system), but of course that also prevents access to them. Is there a way to do this selectively for different users? Some cannot be trusted to even look after their own linux home directories and leaving them visible will give rise to unnecessary queries. What I'll suggest is not directly related to your Samba config problem. It is something I found very useful while setting up my own samba server. I guess there's even a USE flag for it. Its SWAT, its a web based management program to control Samba settings. It is very useful and user-friendly. You should give it a try. -- Daniel da Veiga Filosofia de TI: Programadores de verdade consideram o conceito o que você vê é o que você tem tão ruim em editores de texto quanto em mulheres. Não, o programador de verdade quer um editor de texto do estilo você pediu, você levou - complicado, indecifrável, poderoso, impiedoso, perigoso. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Samba basics
On Thu, 22 Nov 2007 16:06:37 -0200 Daniel da Veiga [EMAIL PROTECTED] wrote: SWAT, its a web based management program to control Samba settings. It is very useful and user-friendly. You should give it a try. ++! I am a config file editor generally, but samba is one of the 2 things I don't configure manually (the other being cups). swat is much easier. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Samba basics
Mick pisze: Thanks Stroller, On Thursday 22 November 2007, Stroller wrote: On 22 Nov 2007, at 08:43, Mick wrote: ... My experience is that stuff like this is not completely-obvious-to- newcomers in Samba, and I wouldn't rely on it working just like you might expect. Hmm, I know what you mean! :) You might consider posting on the Samba mailing lists, which are quite busy. Thanks, I'll look into it. The Windows file manager still displays the (Linux) user home directory and a file called printers. Is there a way of removing these two items from the Windows client view? The easy way to do this is to remove the [homes] [printers] sections of your smb.conf (NOT smb.cfg, on my system), but of course that also prevents access to them. Is there a way to do this selectively for different users? Some cannot be trusted to even look after their own linux home directories and leaving them visible will give rise to unnecessary queries. I remember that there is an option to include selective config files based on conditions - it's been some time since my last samba installation (a complex one) but it looked something like this include /etc/samba/hostname.cfg It's just of the to of my head, but You should get the idea, in the example above, if a host with certain hostname was connecting to samba server, a specific file was included. Unfortunatelly I don't remeber exact syntax, and tons of other things - I just suggest looking in this direction regards dexter -- [EMAIL PROTECTED] mailing list