samba-users May 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: [Samba] pdbedit: unable to delete machine

[Samba] pdbedit: unable to delete machine

From: Joseph Metzler <joseph.metzler_at_nospam>
Date: Wed May 12 2010 - 09:26:39 GMT
To: <samba@lists.samba.org>

Hi,

i am unable to delete a machine account:
pdbedit -x -m myMachine$
unable to delete machine myMachine$

there is still an account in /etc/passwd for this machine.
pdbedit -L | grep myMachine
does not find the account but

pdbedit -Lv myMachine$
Unix username: myMachine$
NT username:
Account Flags: [W ]
User SID: S-1-5-21-3806833646-4237951892-2933512824-23108
Primary Group SID: S-1-5-21-3806833646-4237951892-2933512824-513
Full Name: Machine
Home Directory: \\serv-01\profiles\myMachine_\Eigene Dateien
HomeDir Drive: H:
Logon Script: myMachine_.cmd
Profile Path: \\serv-01\profiles\myMachine_
Domain: XYZ
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: Sun, 07 Feb 2106 07:28:15 CET
Kickoff time: Sun, 07 Feb 2106 07:28:15 CET
Password last set: Thu, 18 Jun 2009 13:48:49 CEST
Password can change: Thu, 18 Jun 2009 13:48:49 CEST
Password must change: never
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

is the passdb.tbd corrupt, or did I miss something

Using Samba 3.2.5 on debian lenny

joseph

-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba