LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 07-30-2007, 06:14 AM   #1
taiwf
Member
 
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194

Rep: Reputation: 31
Question how to stop samba re-authentication pop-up window


Hi,

I have setup an samba (samba-3.0.10-1.4E.12.2) file server everything is running fine on my rhel4 server. But what worry me is whenever user click on the directory whom use no access right, it pop up for re-authentication. This kinda indirectly encourage user to guess password. Is there anyway I can simply stop such pop up but simply return access deny for those whom have no access right?


My samba config file:
Code:
[global]
   workgroup = GROUP1
   server string = File-Share Scalix server
   netbios name = File-Share
   hosts allow = 192.168.50. 127.
   printcap name = /etc/printcap
   load printers = yes
   name resolve order = lmhosts host bcast
   smb ports = 139
   veto oplock files = /*.xls/
cups options = raw
 log file = /var/log/samba/%m.log
   max log size = 50
   security = user
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   dns proxy = no
   idmap uid = 16777216-33554431
   idmap gid = 16777216-33554431
   template shell = /bin/false
   winbind use default domain = no
[homes]
   comment = Home Directories
   browseable = no
   writable = yes
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writable = no
   printable = yes
[accounts]
    path = /fda-share/accounts
    valid users = @accounts @accounts_read_only
    read only = Yes
    write list = @accounts
    force group = accounts
    create mask = 0775
    directory mask = 0775
    vfs object = recycle
    recycle:keeptree = yes
    recycle:versions = yes
    recycle:repository = ../Garbage/%u

[sales]
    path = /fda-share/sales
    valid users = @sales
    force group = sales
    writable = yes
    create mask = 0775
    directory mask = 0775
    vfs object = recycle
    recycle:keeptree = yes
    recycle:versions = yes
    recycle:repository = ../Garbage/%u


[Garbage]
    comment = samba recycle bin
    path = /fda-share/Garbage/%u
    read only = No
 
Old 07-30-2007, 11:36 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Without asking the user for credentials, how would it know if access is denied?
 
Old 07-31-2007, 01:05 AM   #3
taiwf
Member
 
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194

Original Poster
Rep: Reputation: 31
Code:
 	Without asking the user for credentials, how would it know if access is denied?
from previous result....

I don't want it to keep giving user chance to try out different password. I want it to simply take user's windows login as credential , if they not match no 2nd chance.

Last edited by taiwf; 07-31-2007 at 01:06 AM.
 
Old 09-05-2007, 01:11 AM   #4
taiwf
Member
 
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194

Original Poster
Rep: Reputation: 31
anyone got any suggestion? I remember when i use windows file-server, it simply give access deny if the user credential is wrong. There should be sth i can config on either windows or linux side to make it happen. Can someone throw me some tip, plz?
 
  


Reply

Tags
authentication, samba


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
How to stop plug-in installation pop up? Randux Linux - Software 3 04-09-2007 09:34 PM
kmail pop-up won't stop... jsheffie Linux - Software 1 04-05-2006 09:13 AM
pop up a window manojg Linux - Newbie 6 03-07-2006 09:01 AM
pop authentication error manicajk Linux - General 0 08-17-2004 06:22 PM
Samba - Window/Linux RH authentication tornadoburn Linux - Networking 3 11-25-2003 01:55 AM


All times are GMT -5. The time now is 08:58 PM.

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