LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   problem in making linux as primary domain controller (https://www.linuxquestions.org/questions/linux-networking-3/problem-in-making-linux-as-primary-domain-controller-463288/)

tek_adm 07-12-2006 08:18 AM

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

amitsharma_26 07-12-2006 11:02 AM

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 ?

tek_adm 07-13-2006 01:47 AM

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.

amitsharma_26 07-13-2006 07:43 AM

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.

tek_adm 07-13-2006 08:04 AM

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.c:process_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.

amitsharma_26 07-13-2006 10:58 AM

add the following in your smb.conf file's global section.

Quote:

smb ports = 139
then restart smb.

amitsharma_26 07-13-2006 11:01 AM

also try using
Quote:

use sendfile = yes
& tell me what is the update on your side after this & smb ports option.

tek_adm 07-14-2006 05:38 AM

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....


All times are GMT -5. The time now is 11:10 AM.