The branch, master has been updated
via 0dd2a27347b python: Fix userPrincipalName in
GetPasswordCommand.get_account_attributes()
from e45e0912d99 s3-libads: use dns name to open a ldap session
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 0dd2a27347ba8fcd9c26aa54f36df8d33e5005ed
Author: Jonathon Reinhart <[email protected]>
Date: Wed Feb 5 00:32:02 2020 -0500
python: Fix userPrincipalName in GetPasswordCommand.get_account_attributes()
Signed-off-by: Jonathon Reinhart <[email protected]>
Reviewed-by: Andreas Schneider <[email protected]>
Reviewed-by: Alexander Bokovoy <[email protected]>
Autobuild-User(master): Andreas Schneider <[email protected]>
Autobuild-Date(master): Thu Mar 5 16:27:50 UTC 2020 on sn-devel-184
-----------------------------------------------------------------------
Summary of changes:
python/samba/netcmd/user.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Changeset truncated at 500 lines:
diff --git a/python/samba/netcmd/user.py b/python/samba/netcmd/user.py
index 26db3105da0..7d4464e2aa9 100644
--- a/python/samba/netcmd/user.py
+++ b/python/samba/netcmd/user.py
@@ -1182,7 +1182,7 @@ class GetPasswordCommand(Command):
add_sAMAcountName = True
add_userPrincipalName = False
- upn = "usePrincipalName"
+ upn = "userPrincipalName"
if upn.lower() not in lower_attrs:
search_attrs += [upn]
add_userPrincipalName = True
--
Samba Shared Repository