[Samba] REMOVING A MACHINE ACCOUNT

Martyn Ranyard ranyardm at lineone.net
Mon Feb 11 05:22:04 GMT 2002


Hmmm...

   In that case I don't really think there's a way, maybe one of the team 
can comment.

Martyn

At 01:48 PM 2/11/02 -0100, you wrote:
>I'm sorry, I didn't want to confuse issues.
>I hope that is clear that I just want nobody can logon from a particular
>machine.
>I tried, first, to disable a machine with the command
>smbpasswd -d MACHINENAME$
>Result:
>I can logon
>So I tried to delete the machine with the command:
>smbpasswd -x MACHINENAME$
>and:
>userdel MACHINENAME$
>Result:
>I still logon.
>
>
> > To remove the account just confuses issues, what you want is to disable
> > it  with the following command :
> >
> >smbpasswd -d MACHINENAME$
> >
> > This afaik should disable logons to the domain.
> >
> > At 10:29 AM 2/11/02 -0100, Fabrizio Celli wrote:
> >>Hi everybody,
> >>I installed samba-2.2.3a on a Red Hat 7.2 and I succesfully joined the
> >>samba domain with some w2k clients.
> >>I need to remove a machine account from the domain in order to deny the
> >>access to the domain to a particular client.
> >>I tried removing the machine entry from the smbpasswd and the
> >>/etc/passwd but I continue logging on without any problem.
> >>What's wrong ?
> >>
> >>
> >>
> >>--
> >>To unsubscribe from this list go to the following URL and read the
> >>instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
> > ==============
> > Martyn Ranyard

==============
Martyn Ranyard





More information about the samba mailing list