can't find the PDC

Matthew Geddes mgeddes at xavier.sa.edu.au
Wed Dec 15 05:19:04 GMT 1999


Margarita Parker wrote:

> Hi,
>
> I have configured samba 2.0.6 as a PDC on my solaris 2.6 box.
> I am able to join the domain from an NT 4.0 workstation but when I log
> on I get an error :
> "can't find profile" and then I cannot log on.
> When I look in the error log it says:
> "No Windows NT Domain Controller is available for domain ITALY. (This
> event is expected and can be ignored when booting with the 'No Net'
> Hardware Profile.)  The following error occurred:
> There are currently no logon servers available to service the logon
> request."
>
> In the log.nmb it says:
> "[1999/12/14 13:39:00, 0] lib/util_sock.c:set_socket_options(148)
>   Failed to set socket option TCP_NODELAY (Error Bad file number)
> [1999/12/14 13:39:12, 0] smbd/service.c:make_connection(209)
>   durango (142.44.2.53) couldn't find service test
> [1999/12/14 13:39:12, 0] smbd/service.c:make_connection(209)
>   durango (142.44.2.53) couldn't find service test"
>

Hi,

I have the same errors in my log files when everything is working OK
(maybe I'm just broken). As for the Domain Controller thing, do you have
a WINS Server on your network? Windows uses a WINS server to find out the
address of the Domain Controller. If there are no WINS servers specified
on the client, Windows will resort to broadcasting, which doesn't always
work. If you haven't got a WINS server, add the wins support = yes line
to smb.conf and put the IP address of the Samba server in the primary and
secondary WINS server box on the client. If you don't want a WINS server,
you can create an LMHOSTS file on the clients. This is stored in
<%winroot%> on Win9x clients, or <%winroot%>\system32\drivers\etc (I
think) on Windows NT. Here's an example

10.3.2.2     Samba_Server        #PRE #DOM:ITALY

Where ITALY is the Domain, Samba_Server is the NetBIOS name of the Samba
DC and 10.3.2.2 is it's IP. Then run nbtstat -R on the client that has
the LMHOSTS file. Repeat for all clients.....

Hope it helps,
Matt



More information about the samba-ntdom mailing list