X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=ud-generate;h=7b9ca4cf21d562cf6930b2b8512e97dfb17093d7;hp=b438ece31448168a2fdfe03a29ec8364f52ed1ac;hb=871ab5f2e8bda25130c70834052fa8fb020a5373;hpb=9922726083ac0bb208315ec3d6918eece5293783 diff --git a/ud-generate b/ud-generate index b438ece..7b9ca4c 100755 --- a/ud-generate +++ b/ud-generate @@ -161,9 +161,6 @@ def IsRetired(account): return False -#def IsGidDebian(account): -# return account['gidNumber'] == 800 - # See if this user is in the group list def IsInGroup(account, allowed, current_host): # See if the primary group is in the list @@ -1195,7 +1192,6 @@ def generate_all(global_dir, ldap_conn): accounts_disabled = GenDisabledAccounts(accounts, global_dir + "disabled-accounts") accounts = filter(lambda x: not IsRetired(x), accounts) - #accounts_DDs = filter(lambda x: IsGidDebian(x), accounts) CheckForward(accounts)