LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-04-2010, 08:40 AM   #1
fahadaziz
LQ Newbie
 
Registered: Aug 2008
Posts: 27

Rep: Reputation: 15
Question Getting problem in authenticating winxp machine with samba server.


Hi All,

I have configured samba server on fedora machine and i am trying to authenticate a winxp machine through samba server but the issue is winxp machine is not becoming the part of the domain. The error is

A domain controller for the domain HOMEDOMAIN could not be contacted.
Ensure that the domain name is typed correctly.
If the name is correct, click Details for troubleshooting information.
-------------------------------------------------
here is the configuration file text..

# Samba config file created using SWAT
# from UNKNOWN (8)
# Date: 2010/01/31 18:51:36



[global]

workgroup = HOMEDOMAIN

server string = Samba as Domain Controller.

passdb backend = tdbsam
log file = /var/log/samba/log.%m

max log size = 50

domain logons = Yes

os level = 64

preferred master = Yes

domain master = Yes

wins support = Yes

hosts allow = 192.186.72.1

cups options = raw


[homes]

comment = Home Directories

read only = No
browseable = No


[printers]

comment = All Printers

path = /var/spool/samba

printable = Yes
browseable = No


[netlogon]

comment = Network Logon Service

path = /var/lib/samba/netlogon

guest ok = Yes

share modes = No


[Profiles]

path = /var/lib/samba/profiles

guest ok = Yes

browseable = No


[temp]

comment = common temperory folder.

path = /home/fahadaziz/temp

read only = No

guest ok = Yes


[public]

comment = Public Stuff

path = /home/samba

write list = +staff

read only = No

guest ok = Yes

[homes]

comment = Home Directories

read only = No

browseable = No
+++++++++++++++++++++++++++++++++++++++++++++++++++
I appreciate the sooner replies.

Thanks and regards,
Fadi...
 
Old 02-07-2010, 08:17 AM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
Have you posted the complete smb.conf? The reason I ask is that at no point in what you have posted is there a name for your samba server. You have defined the domain name, but that is not the same as the server name! You need to look around at how others approach this. There is an example smb.conf file here: http://ubuntuforums.org/archive/index.php/t-624901.html
 
Old 02-07-2010, 09:51 AM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by fahadaziz View Post
Hi All,

I have configured samba server on fedora machine and i am trying to authenticate a winxp machine through samba server but the issue is winxp machine is not becoming the part of the domain. The error is

A domain controller for the domain HOMEDOMAIN could not be contacted.
Ensure that the domain name is typed correctly.
If the name is correct, click Details for troubleshooting information.
-------------------------------------------------
here is the configuration file text..

# Samba config file created using SWAT
# from UNKNOWN (8)
# Date: 2010/01/31 18:51:36



[global]

workgroup = HOMEDOMAIN

server string = Samba as Domain Controller.

passdb backend = tdbsam
log file = /var/log/samba/log.%m

max log size = 50

domain logons = Yes

os level = 64

preferred master = Yes

domain master = Yes

wins support = Yes

hosts allow = 192.186.72.1

cups options = raw


[homes]

comment = Home Directories

read only = No
browseable = No


[printers]

comment = All Printers

path = /var/spool/samba

printable = Yes
browseable = No


[netlogon]

comment = Network Logon Service

path = /var/lib/samba/netlogon

guest ok = Yes

share modes = No


[Profiles]

path = /var/lib/samba/profiles

guest ok = Yes

browseable = No


[temp]

comment = common temperory folder.

path = /home/fahadaziz/temp

read only = No

guest ok = Yes


[public]

comment = Public Stuff

path = /home/samba

write list = +staff

read only = No

guest ok = Yes

[homes]

comment = Home Directories

read only = No

browseable = No
+++++++++++++++++++++++++++++++++++++++++++++++++++
I appreciate the sooner replies.

Thanks and regards,
Fadi...

For authenticating a winxp machine you dont have to configure the smb.conf file.
Post the command line by which you were trying to authenticate a winxp machine .
 
  


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
Centos samba server authenticating with windows LDAP server GuodMan Linux - Server 4 10-03-2008 01:56 AM
Ubuntu Samba Server Difficulties Authenticating WINXP Client carl0ski Linux - Server 0 08-09-2007 07:49 PM
no permission to access shares on a samba server from a SPECIFIC only, winXP machine nass Linux - Server 3 05-17-2007 08:20 PM
no permission to access shares on a samba server from a SPECIFIC only, winXP machine nass Linux - Server 0 05-17-2007 02:50 PM
samba member server as fileserver authenticating samba PDC activeq Linux - Networking 0 11-17-2006 09:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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