The Samba-Bugzilla – Attachment 12661 Details for
Bug 12426
samba-tool user syncpasswords and deleted accounts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
This does not fix nothing but it can help on solving the issue.
try-fix.patch (text/plain), 940 bytes, created by
EOLE Team
on 2016-11-14 13:22:07 UTC
(
hide
)
Description:
This does not fix nothing but it can help on solving the issue.
Filename:
MIME Type:
Creator:
EOLE Team
Created:
2016-11-14 13:22:07 UTC
Size:
940 bytes
patch
obsolete
>--- > python/samba/netcmd/user.py | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) >diff --git a/python/samba/netcmd/user.py b/python/samba/netcmd/user.py >index 5adc287..2284ec9 100644 >--- a/python/samba/netcmd/user.py >+++ b/python/samba/netcmd/user.py >@@ -1656,7 +1656,16 @@ samba-tool user syncpasswords --terminate \\ > self.outf.write("%s" % (ldif)) > return > self.outf.write("# attrs=%s\n" % (sorted(obj.keys()))) >- run_sync_command(obj.dn, ldif) >+ if 'isDeleted' in obj.keys(): >+ self.outf.write("DEBUG ICI BORDEL\n") >+ isDeleted = obj['isDeleted'].get(0) >+ else: >+ isDeleted = "FALSE" >+ >+ if isDeleted == "TRUE": >+ return >+ else: >+ run_sync_command(obj.dn, ldif) > def check_current_pid_conflict(terminate): > flags = os.O_RDWR
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 12426
: 12661