[Samba] Weird..

Igor Debacker igor at ccj.ufsc.br
Fri Feb 28 18:46:34 GMT 2003


but my machines are linux boxes..

well i realised what is happening
i'll re-write the story so new ppl can help me..

i had a linux box which was my alpha machine, after configuring winbind and
samba to log into the nt 2k server i cloned this linux box, so i could be
able to install it in other machines
i installed it in other 5 machines .. changed their netbios and ip, but when
i tryed to use these new machines .. only the last machine i turn on could
be able to log in.. in some way they were conflicting.. list members told me
it was something with SID, i tryed to delete MACHINE.SID and re-starting the
service, but it did not work.. so i looked for machines in my network
neighborhood using my win2k server, but they are not there.. only my alpha
machine name is there.. i looked into the active directory, and they are not
there either, so now i need to add each one of these new machines to the
domain.. i already tryed smbpasswd -j domain -r pdcname -U admin .. but it
did not create their registers in the active directory.

one more thing.. when i ping my alpha machine name (ping machine_name) it
always returns me the last turned on machine ip.

i think i just need an efective way of joining these machines to the domain,
an way which they'll be registered in the active directory, as i did with my
alpha machine .. i don't know what i am missing..

thanx for help..

any idea ?

Igor



----- Original Message -----
From: "Thomas Klettke" <thomas at klettke.us>
To: "Igor Debacker" <igor at ccj.ufsc.br>
Cc: <samba at samba.org>
Sent: Friday, February 28, 2003 3:36 PM
Subject: Re: [Samba] Weird..


> To take the machines off the domain yo have to change their network
> settings in Windows (My Computer/Properties/Computer Name/Change).Remove
> the entry under domain, then add something in workgroup. It doesn't
> matter what, because after you rebooted you will add the machine back to
> your domain.
> Make sure that you delete the old machine account on the Samba server.
> userdel win_machine$ where "win_machine" is the machine's current name
> should do it. If you are using the LDAP backend, you should use
> smbldap-userdel.pl win_machine$ instead.
>
> Reboot the Windows machine, then add it back to your domain. If your
> Samba server doesn't create an account automatically, you will have to
> create that machine account manually prior to adding the machine to the
> domain.
>
>
>
> On Fri, 2003-02-28 at 12:20, Igor Debacker wrote:
> > how can i do that in linux ?
> >
> > ----- Original Message -----
> > From: "Thomas Klettke" <thomas at klettke.us>
> > To: "Igor Debacker" <igor at ccj.ufsc.br>
> > Sent: Friday, February 28, 2003 2:57 PM
> > Subject: Re: [Samba] Weird..
> >
> >
> > > Take the machine off the domain (on the Windows client, move it to a
> > > workgroup), reboot, and add it back on to the domain (perhaps with a
new
> > > name, to be sure.) If that works, delete all old machine accounts, and
> > > proceed with the other ones the same way.
> > >
> > >
> > > On Fri, 2003-02-28 at 11:50, Igor Debacker wrote:
> > > > i deleted that file and the error goes on..
> > > >
> > > > any other idea ?
> > > >
> > > > ----- Original Message -----
> > > > From: "Tim Kubricht" <kubricht at houston.oilfield.slb.com>
> > > > To: "Igor Debacker" <igor at ccj.ufsc.br>; <samba at samba.org>
> > > > Sent: Thursday, February 27, 2003 8:27 PM
> > > > Subject: Re: [Samba] Weird..
> > > >
> > > >
> > > > > Igor,
> > > > >
> > > > >      1st shut down samba then look in the samba/private directory
> > > > >      for a file called MACHINE.SID and delete the file.
> > > > >
> > > > >      when you start Samba back up it will recreate the file.
> > > > >
> > > > > Regards,
> > > > > Tim
> > > > >
> > > >
> >
____________________________________________________________________________
> > > > ___
> > > > > At 07:03 PM 2/27/2003 -0300, Igor Debacker wrote:
> > > > > >I have a machine with 'samba + winbind' installed ... everything
> > works
> > > > fine.
> > > > > >
> > > > > >its my beta-machine.. so i used norton ghost to clone it to
another
> > > > > >computers, and as usual it works good, so i decided to do it with
5
> > > > > >machines. at the end of the procedure i changed the ip of each
one
> > and
> > > > the
> > > > > >netbios name....
> > > > > >
> > > > > >so i have 5 cloned machines with 'winbind+samba' and thats good..
but
> > if
> > > > i
> > > > > >turn all of them on, together, i can only log in at the last one
i
> > turned
> > > > > >on.. at all others machines i can't log in.. it shows me this
error
> > > > > >
> > > > > >cli_net_auth2: error nt_status_access_denied
> > > > > >
> > > > > >cli_nt_setup_setup_creds: auth2 challenge failed
> > > > > >
> > > > > >connect_to_domain_password_server: unable to setup the PDC
> > credentials to
> > > > > >machine KANT. error was: nt_status_ok
> > > > > >
> > > > > >domain_client_validate: domain password server not available.
> > > > > >
> > > > > >so.. individually the machines are working but in someway they
are
> > > > > >conflicting and i don't know where...
> > > > > >
> > > > > >Thanx in advance,
> > > > > >
> > > > > >Igor
> > > > > >
> > > > > >OBS.: KANT is my PDC machine name....
> > > > > >--
> > > > > >To unsubscribe from this list go to the following URL and read
the
> > > > > >instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list