[Samba] pdbedit: unable to delete machine

Joseph Metzler joseph.metzler at zim-markdorf.de
Wed May 12 03:26:39 MDT 2010


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



More information about the samba mailing list