Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-05-2011, 12:55 PM   #1
LQ Newbie
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
Set Samba server to prompt for password before viewing shares

I need to setup a samba server to act like a windows machine when you have set password protected sharing up. In windows, if you have your pc set to password protected sharing, then when you see that server in network neighborhood and click it, it asks for a password and then you see the shares, but I can't find the comparable setting in smb.conf. I want to browse to a linux box with a tool like smbtree, and then get prompted to provide a user/pass, then see the shares depending on the user pass I provided. I need to do this from another linux box.

Old 12-05-2011, 02:03 PM   #2
Registered: Oct 2011
Location: New Delhi
Posts: 229
Blog Entries: 3

Rep: Reputation: 17
or you can use this
in smb.conf
browseable = yes
valid user = dk or what ever


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba shares suddenly requiring password? uhcafigdc Linux - Software 1 06-17-2011 10:15 AM
[SOLVED] Creating a Samba-Server: Error: Password prompt pops up again and forever. VolvoxNo9 Linux - Newbie 4 12-23-2010 08:31 PM
how do i set samba to password certain shares or ip restrict them mrgreaper Linux - Newbie 3 09-26-2009 03:24 PM
samba - password prompt jude7homas Linux - Networking 1 11-23-2004 03:40 PM
how to get rid of Password prompt in Samba? lu543285 Linux - Networking 1 01-09-2004 05:48 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration