The Samba-Bugzilla – Attachment 248 Details for
Bug 763
pdbedit command returns wrong status by account delete.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
attached a patch for 3.0.1pre2
pdbedit.c.delete.patch (text/plain), 783 bytes, created by
TAKEDA yasuma (mail address dead)
on 2003-11-12 03:22:57 UTC
(
hide
)
Description:
attached a patch for 3.0.1pre2
Filename:
MIME Type:
Creator:
TAKEDA yasuma (mail address dead)
Created:
2003-11-12 03:22:57 UTC
Size:
783 bytes
patch
obsolete
>--- pdbedit.c.org 2003-11-12 19:28:52.000000000 +0900 >+++ pdbedit.c 2003-11-12 19:34:10.000000000 +0900 >@@ -489,7 +489,11 @@ > return -1; > } > >- return NT_STATUS_IS_OK(in->pdb_delete_sam_account (in, samaccount)); >+ if (!NT_STATUS_IS_OK(in->pdb_delete_sam_account (in, samaccount))) { >+ fprintf (stderr, "Unable to delete user %s\n", username); >+ return -1; >+ } >+ return 0; > } > > /********************************************************* >@@ -515,7 +519,12 @@ > return -1; > } > >- return NT_STATUS_IS_OK(in->pdb_delete_sam_account (in, samaccount)); >+ if (!NT_STATUS_IS_OK(in->pdb_delete_sam_account (in, samaccount))) { >+ fprintf (stderr, "Unable to delete machine %s\n", name); >+ return -1; >+ } >+ >+ return 0; > } > > /*********************************************************
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 763
: 248