From: Joseph Sutton Date: Thu, 23 Nov 2023 07:53:41 +0000 (+1300) Subject: python: Remove unused parameters ‘maxuid’ and ‘maxgid’ X-Git-Tag: talloc-2.4.2~310 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c288c6beb634654da33193a1b7333e19f2bd0e2;p=thirdparty%2Fsamba.git python: Remove unused parameters ‘maxuid’ and ‘maxgid’ Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/provision/__init__.py b/python/samba/provision/__init__.py index c40c809f398..4267a1e410b 100644 --- a/python/samba/provision/__init__.py +++ b/python/samba/provision/__init__.py @@ -2086,8 +2086,7 @@ def sanitize_server_role(role): raise ValueError(role) -def provision_fake_ypserver(logger, samdb, domaindn, netbiosname, nisdomain, - maxuid, maxgid): +def provision_fake_ypserver(logger, samdb, domaindn, netbiosname, nisdomain): """Create AD entries for the fake ypserver. This is needed for being able to manipulate posix attrs via ADUC. @@ -2468,7 +2467,7 @@ def provision(logger, session_info, smbconf=None, if use_rfc2307: provision_fake_ypserver(logger=logger, samdb=samdb, domaindn=names.domaindn, netbiosname=names.netbiosname, - nisdomain=names.domain.lower(), maxuid=maxuid, maxgid=maxgid) + nisdomain=names.domain.lower()) return result