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 07-12-2006, 08:18 AM   #1
tek_adm
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Rep: Reputation: 0
problem in making linux as primary domain controller


Hi All,
I had a problem in configuring my linux system as primary domain controller, I configured samba server using swat to make linux as domain controller for all our windows xp client systems. I am able to change xp client system domain name to linux domain name and when it asks for username/password its accepting root and password and the domain is added. But after restarting I am not able to enter in to that domain with the same username and password that I had entered when changing the domain and even with other users. Its giving me error "the system cannot log you on now because the domain XXX is not available" I will be thankful if anyone can help me please.........

Thanks & Regards,

tek_adm
 
Old 07-12-2006, 11:02 AM   #2
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
tek wat does your logs say ?
(clear your logs & then try log in with some user from windows box & then copy paste watever your logs say over to this thread)

n one more thing, hav you added these users in samba password database too ?
 
Old 07-13-2006, 01:47 AM   #3
tek_adm
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I had already added users to samba password database.
And the log in windows shows
Type as Information
source as Service Control Manager
Event as 7035
User as system


U can suggest what more and how to do....Hope u can help me..

Thankyou & Regards,
tek.
 
Old 07-13-2006, 07:43 AM   #4
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Quote:
Originally Posted by amitsharma_26
tek wat does your logs say ?
(clear your logs & then try log in with some user from windows box & then copy paste watever your logs say over to this thread)
I meant your samba logs. Clear them & then log on to your windows box once; let the error comes & then checkback at your samba logs, what does they say ? Post them here.
 
Old 07-13-2006, 08:04 AM   #5
tek_adm
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Original Poster
Rep: Reputation: 0
3 files are created
0.0.0.0.log cadtest.log smbd.log
cadtest is the system name of xp client system.

In 0.0.0.0.log
[2006/07/13 18:34:15, 0] lib/util_sock.c:get_peer_addr(1150)
getpeername failed. Error was Transport endpoint is not connected
[2006/07/13 18:34:15, 0] lib/access.c:check_access(328)
[2006/07/13 18:34:15, 0] lib/util_sock.c:get_peer_addr(1150)
getpeername failed. Error was Transport endpoint is not connected
Denied connection from (0.0.0.0)
[2006/07/13 18:34:15, 1] smbd/process.crocess_smb(1084)
[2006/07/13 18:34:15, 0] lib/util_sock.c:get_peer_addr(1150)
getpeername failed. Error was Transport endpoint is not connected
Connection denied from 0.0.0.0
[2006/07/13 18:34:15, 0] lib/util_sock.c:write_socket_data(430)
write_socket_data: write failure. Error = Connection reset by peer
[2006/07/13 18:34:15, 0] lib/util_sock.c:write_socket(455)
write_socket: Error writing 5 bytes to socket 5: ERRNO = Connection reset by peer
[2006/07/13 18:34:15, 0] lib/util_sock.c:send_smb(647)
Error writing 5 bytes to client. -1. (Connection reset by peer)

In cadtest.log
[2006/07/13 18:34:16, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(786)
api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.

In smbd.log
2006/07/13 18:34:15, 0] lib/util_sock.c:get_peer_addr(1150)
getpeername failed. Error was Transport endpoint is not connected


Hope now you can help me....If u need any more information let me know please...

With Regards,
tek.

Last edited by tek_adm; 07-13-2006 at 08:17 AM.
 
Old 07-13-2006, 10:58 AM   #6
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
add the following in your smb.conf file's global section.

Quote:
smb ports = 139
then restart smb.
 
Old 07-13-2006, 11:01 AM   #7
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
also try using
Quote:
use sendfile = yes
& tell me what is the update on your side after this & smb ports option.
 
Old 07-14-2006, 05:38 AM   #8
tek_adm
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Original Poster
Rep: Reputation: 0
No change I am getting the same error even after adding the two.
And in logs I had cleared log and when I try to connect my client system to server nothing is shown in log files but when I restart smb service its getting 2 files nmbd.log smbd.log
In nmbd.log many same lines are repeated for same time 16:11:05

[2006/07/14 16:11:05, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
*****
Samba name server ELOGLINUX is now a local master browser for workgroup ELOGLINUX on subnet 192.168.0.20

In smbd.log

2006/07/14 16:10:42, 0] smbd/server.c:main(798)
smbd version 3.0.14a-2 started.
Copyright Andrew Tridgell and the Samba Team 1992-2004

I dont know whats going up..will these errors help u to solve my problem....

Last edited by tek_adm; 07-14-2006 at 05:39 AM.
 
  


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
windows primary domain controller with samba 3.x giorgiotheone Mandriva 1 07-04-2011 06:02 AM
RedHat Primary Domain controller Prakaash Linux - Networking 4 07-04-2011 06:00 AM
suse enterprise as Primary Domain Controller marcbachman SUSE / openSUSE 1 12-31-2005 04:13 AM
Establish a Primary Domain Controller tthai01 Linux - Networking 1 11-27-2002 10:04 AM
primary domain controller question chens_83 Linux - Networking 4 07-23-2002 10:56 AM

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

All times are GMT -5. The time now is 07:09 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