LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-07-2004, 08:02 AM   #1
hellblade
Member
 
Registered: Jan 2004
Location: Greece
Distribution: Debian Sid
Posts: 58

Rep: Reputation: 15
Can't access samba server from windows machine


Hi.

I have a linux box set as samba server in my network. I can access it from other linux machines but when try from a windows XP it asks for password. Whatever i try it asks again. From my linux clients it doesn't ask for authentication (that's what I want).

This is my smb.conf:
Code:
[global]
   workgroup = home340
   server string = %h server (Samba %v)
   dns proxy = no
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d
   security = user
   encrypt passwords = true
   passdb backend = tdbsam guest
   invalid users = root
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .

[Downloads]
    common = Shared files on sauron
    writeable = yes
    browseable = yes
    public = yes
    path = /var/lib/mldonkey/incoming
    create mask = 0770
    directory mask = 0770
    force group = users
I don't know what's wrong with that...
 
Old 09-07-2004, 08:09 AM   #2
egyptian
Member
 
Registered: Aug 2003
Location: egypt
Distribution: Fedora,SuSE9
Posts: 47

Rep: Reputation: 15
do your windows machines login to this linux server?
in other words is this samba server work as domain controller?
then you should add in your smb.conf:
[global]
.
.
.
domain logon = yes
.
.
if no problem with login,the password required can be entered as:

domain-name\user1
password-of-user1

user1 must be added on samba server by:
useradd user1
smbpasswd -a user1

Last edited by egyptian; 09-07-2004 at 08:10 AM.
 
Old 09-07-2004, 11:15 AM   #3
silvereye
LQ Newbie
 
Registered: Aug 2004
Location: latvia
Posts: 7

Rep: Reputation: 0
change
security=user to security=share

must work
 
  


Reply



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
Ubuntu Server with Samba, Windows PC's cant access server! elliotfuller Linux - Networking 1 09-10-2005 06:40 AM
Windows XP access to Samba Server Jack11 Linux - Networking 2 06-25-2004 12:09 PM
Cant Access Windows 2003 Server Shares Thru Samba tobias_r33per Linux - Software 4 05-22-2004 10:54 PM
Remote GUI access to Fedora Server from Windows machine astitva Linux - Software 1 04-04-2004 02:12 PM
Cannot access Samba server from Windows digiplaya Linux - Networking 7 12-29-2003 12:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:22 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
Open Source Consulting | Domain Registration