View | Details | Raw Unified | Return to bug 45063
Collapse All | Expand All

(-)samba/4.2-0-0-ucs/2:4.6.1-1-errata4.2-1/97_bug29665.quilt (-1 / +1 lines)
 Lines 282-288    Link Here 
282
             gid_number=None, gecos=None, login_shell=None,
282
             gid_number=None, gecos=None, login_shell=None,
283
             smartcard_required=False):
283
             smartcard_required=False):
284
 
284
 
285
+        if upn is not None and no-upn:
285
+        if upn is not None and no_upn:
286
+            raise CommandError("Can't use Options --upn and --no-upn at the same time")
286
+            raise CommandError("Can't use Options --upn and --no-upn at the same time")
287
+
287
+
288
         if smartcard_required:
288
         if smartcard_required:

Return to bug 45063