gp: samba-tool manage gpo access add don't fail w/out upn
authorDavid Mulder <dmulder@samba.org>
Thu, 17 Nov 2022 19:37:20 +0000 (12:37 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 21 Nov 2022 21:01:31 +0000 (21:01 +0000)
commit9f6cf276e22b82601a81286fabeae5303f58339c
tree294b440802fb3accf9a60bcba562b6990eb4e36e
parent8d0d79ba3b317401cfe089c0df871189bb79c9dc
gp: samba-tool manage gpo access add don't fail w/out upn

The search response for the user could possibly
not include a upn (this happens with Administrator
for example).

Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
python/samba/netcmd/gpo.py