Yes,
smbpasswd -j
after you have created a machine account on the Windows
domain. (Server Manager for Domains)
On Fri, 2003-02-28 at 13:40, Igor Debacker wrote:> no problem..
>
> but how can i re-add each machine to the domain ?
>
> smbpasswd -j ???
>
> ----- Original Message -----
> From: "Thomas Klettke" <thomas@klettke.us>
> To: "Igor Debacker" <igor@ccj.ufsc.br>
> Sent: Friday, February 28, 2003 4:17 PM
> Subject: Re: [Samba] Weird..
>
>
> > Ooops, my fault. i guess it's time for the weekend - I must be too
> > stressed out :-)
> >
> > (Apparently I was under the impression that you were using Windows
boxes
> > to connect to a Linux Samba server. I must have been sleeping and not
> > read your first message correctly - my apologies.)
> >
> > Let's start over again then:
> >
> > See what happens if you remove the machine account for your alpha
> > machine from the Windows Domain, then add each Linux machine to the
> > domain again, thereby creating new, unique SIDs for them.
> >
> > Thomas
> >
> >
> >
> > On Fri, 2003-02-28 at 12:46, Igor Debacker wrote:
> > > 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@klettke.us>
> > > To: "Igor Debacker" <igor@ccj.ufsc.br>
> > > Cc: <samba@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@klettke.us>
> > > > > To: "Igor Debacker" <igor@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@houston.oilfield.slb.com>
> > > > > > > To: "Igor Debacker"
<igor@ccj.ufsc.br>; <samba@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