Hi all, I have debian squeeze system installed, and samba server 3.5.6 installed. I need in some shares force to user put username and password to access data, but if I use share level, the system doesn?t ask for username, and if I use USER Level I need to make login to see all shares even public share. I need user level for each folder shared and for public share and first access to the computer without username or password (guest). How can I do that? I search and tried several configuration but, nothing works as I need. Thanks in advance Com os melhores cumprimentos, Manuel Santiago Sisinforma,lda Telf. +351 302 099 180 Skype: sisinforma2006 Visite-nos em www.sisinforma.com CONFIDENCIALIDADE: Esta mensagem e quaisquer documentos em anexo s?o confidenciais. Se n?o for o destinat?rio desta mensagem, agradecemos que avise imediatamente o remetente e que a elimine sem a reproduzir, armazenar ou divulgar a qualquer entidade. CONFIDENTIALITY: This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.
Am Donnerstag, 6. September 2012, 12:50:30 schrieb Manuel Santiago:> Hi all, > > > > I have debian squeeze system installed, and samba server 3.5.6 installed. > > > > I need in some shares force to user put username and password to access > data, but if I use share level, the system doesn?t ask for username, and if > I use USER Level I need to make login to see all shares even public share. > > > > I need user level for each folder shared and for public share and first > access to the computer without username or password (guest). > > > > How can I do that? I search and tried several configuration but, nothing > works as I need. > > > > Thanks in advance > > > > Com os melhores cumprimentos, > > Manuel Santiago > > > > Sisinforma,lda > > Telf. +351 302 099 180 > > Skype: sisinforma2006 > > Visite-nos em www.sisinforma.com > > > > CONFIDENCIALIDADE: Esta mensagem e quaisquer documentos em anexo s?o > confidenciais. Se n?o for o destinat?rio desta mensagem, agradecemos que > avise imediatamente o remetente e que a elimine sem a reproduzir, > armazenar ou divulgar a qualquer entidade. > CONFIDENTIALITY: This e-mail and any attachments are confidential and may > be privileged. If you are not a named recipient, please notify the sender > immediately and do not disclose the contents to another person, use it > for any purpose or store or copy the information in any medium.most of the detailed configuration issues are discussed interactively on IRC these days! :-) Join IRC on irc.freenode.net channel #samba Cheers, G?nter
From: "Manuel Santiago" <manuel.santiago at sapo.pt> Date: Thu, 6 Sep 2012 11:50:30 +0100> I have debian squeeze system installed, and samba server 3.5.6 installed. > > I need in some shares force to user put username and password to access > data, but if I use share level, the system doesn?t ask for username, and if > I use USER Level I need to make login to see all shares even public share. > > I need user level for each folder shared and for public share and first > access to the computer without username or password (guest).Samba cannot assosiate different username and password for each share as well as Windows. If you set as below, ----- [global] map to guest = bad user [public-share] guest ok = yes [private-share] guest ok = no [another-private-share] guest ok = no # "guest ok = no" is default. ----- you can access to the Samba box without username/password, list shares, access into the "public-share" and are asked about username/password when you try to access to "private-share". But once you input correct username/password for the share, you always access to another shares ("another-private-share" in the example above) with the input username/password. --- TAKAHASHI Motonobu <monyo at monyo.com>