dificulties to log in domain

Mike Harris mike at psand.net
Wed Jan 12 13:12:50 GMT 2000


Don't know whether this helps, but suddenly it works for me:

PERSEUS - Samba 2.1 TNG Server
NT4WKS-1 - NT 4 Workstation

Domain is MYDOMAIN

Commands:

smbpasswd -a -m PERSEUS
smbpasswd -j MYDOMAIN
smbpasswd -a -m NT4WKS-1

The 'join' command now works fine and then the NT4 Workstation can join the
domain and browse.  Here's my smb.conf global settings for reference.

        workgroup = MYDOMAIN
           netbios name = PERSEUS
           interfaces = 192.168.100.2/255.255.255.0
           bind interfaces only = Yes
           encrypt passwords = Yes
           username map = /usr/local/samba/lib/smbusers
           log level = 5
           announce version = 5.0
           printcap name = /etc/printcap
           domain logons = Yes
           os level = 34
           wins support = Yes
           printing = bsd
           vfs option =

   [homes]
           guest ok = Yes
           vfs option =

   [public]
           path = /home/public
           guest ok = Yes
           vfs option =

Hope that's useful,

Mike.
----- Original Message -----
From: Ulf Mehlig <umehlig at uni-bremen.de>
To: Multiple recipients of list SAMBA-NTDOM <samba-ntdom at samba.org>
Sent: Wednesday, January 12, 2000 10:16 AM
Subject: Re: dificulties to log in domain


> Luke Kenneth Casson Leighton <lkcl at samba.org> wrote:
>
> > hi, you also need to do smbpasswd -j OLYMP.
>
> Many thanks! I already had tried that, it's somewhere below in my much
> too-long previuos mail (BTW, this information should maybe go into
> Lars Keschke's FAQ and in source/README, shouldn't it?):
>
> > > After that, I did a "smbpasswd -j OLYMP" on pandora3, which reported
> > > having joined domain OLYMP as PDC and produced a file
> > > OLYMP.PANDORA3.mac in .../private:
> > >
> > >   036A12A4DF74CC4668C3E64C5237FFD4:TLC-387B20FEpandora3:
> > >
> > > Nevertheless, I was not able to join the domain with the client.
>
> Today, I deleted the .../private/OLYMP.* files and included an
> "interfaces = ..."  option in smb.conf which was missing:
>
>    netbios name = PANDORA3
>    interfaces = 192.168.1.8/255.255.255.0 192.168.0.1/255.255.255.0
>
> (192.168.0.1/255.255.255.0: vmware net, 192.168.1.8/255.255.255.0: my
> "real" network card, not connected to other machines in the moment)
>
> Afterwards I re-generated the machine entries in smbpasswd and then
> got the following message when giving the "smbpasswd -j OLYMP":
>
>   Joining Domain as PDC
>   socket connect to /tmp/.smb.0/agent failed
>   error connecting to 192.168.1.8:445 (Verbindungsaufbau abgelehnt)
>   2000/01/12 10:43:14 : change_trust_account_password: Changed password
for domain OLYMP.
>   Joined domain OLYMP.
>
> ("Verbindungsaufbau abgelehnt" = "rejected to establish connection";
> from where comes this German message?! My inetd? I uncommented
> everything in hosts.allow/hosts.deny and HUPed inetd, but no change
> occurred. telnet to port 445 doesn't work. Who should be listening
> there?)
>
> There is nothing like ".smb.0" in /tmp. Do you have any idea what's
> going wrong? Which additional information do I have to send?
>
> Many thanks for your attention & patience!
> Ulf
>
> --
> ======================================================================
> Ulf Mehlig    <umehlig at zmt.uni-bremen.de>
>               Center for Tropical Marine Ecology/ZMT, Bremen, Germany
> ----------------------------------------------------------------------



More information about the samba-ntdom mailing list