Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for addUser (0.27 sec)

  1. src/packaging/deb/scripts/control

    Package: fess
    Version: [[version]]
    Architecture: all
    Maintainer: Fess Team
    Depends: libc6, adduser
    Section: web
    Priority: optional
    Homepage: https://github.com/codelibs/fess
    Description: Enterprise Search Server: Fess
    Plain Text
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Dec 10 01:24:02 GMT 2015
    - 420 bytes
    - Viewed (0)
  2. cmd/iam-etcd-store.go

    			return errNoSuchUser
    		}
    		return err
    	}
    	user := extractPathPrefixAndSuffix(string(userkv.Key), basePrefix, path.Base(string(userkv.Key)))
    	return ies.addUser(ctx, user, userType, u, m)
    }
    
    func (ies *IAMEtcdStore) addUser(ctx context.Context, user string, userType IAMUserType, u UserIdentity, m map[string]UserIdentity) error {
    	if u.Credentials.IsExpired() {
    		// Delete expired identity.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. src/packaging/common/scripts/preinst

                echo " OK"
            fi
    
            # Create fess user if not existing
            if ! id $FESS_USER > /dev/null 2>&1 ; then
                echo -n "Creating $FESS_USER user..."
                adduser --quiet \
                        --system \
                        --no-create-home \
                        --ingroup "$FESS_GROUP" \
                        --disabled-password \
                        --shell /bin/false \
    Plain Text
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Dec 01 09:48:15 GMT 2016
    - 2.3K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users_test.go

    }
    
    func (c *check) mustCreateIAMUser(ctx context.Context, admClnt *madmin.AdminClient) madmin.Credentials {
    	c.Helper()
    	randUser := mustGetUUID()
    	randPass := mustGetUUID()
    	err := admClnt.AddUser(ctx, randUser, randPass)
    	if err != nil {
    		c.Fatalf("should be able to create a user: %v", err)
    	}
    	return madmin.Credentials{
    		AccessKey: randUser,
    		SecretKey: randPass,
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  5. cmd/admin-router.go

    		adminRouter.Methods(http.MethodPut).Path(adminVersion+"/add-user").HandlerFunc(adminMiddleware(adminAPI.AddUser)).Queries("accessKey", "{accessKey:.*}")
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  6. cmd/iam-store.go

    				v.SecretKey = ""
    				v.SessionToken = ""
    				stsAccounts = append(stsAccounts, v)
    			}
    		}
    	}
    
    	return stsAccounts, nil
    }
    
    // AddUser - adds/updates long term user account to storage.
    func (store *IAMStoreSys) AddUser(ctx context.Context, accessKey string, ureq madmin.AddOrUpdateUserReq) (updatedAt time.Time, err error) {
    	cache := store.lock()
    	defer store.unlock()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  7. cmd/admin-handlers-users.go

    			IsDeleteReq: false,
    			UserReq: &madmin.AddOrUpdateUserReq{
    				Status: madmin.AccountStatus(status),
    			},
    		},
    		UpdatedAt: updatedAt,
    	}))
    }
    
    // AddUser - PUT /minio/admin/v3/add-user?accessKey=<access_key>
    func (a adminAPIHandlers) AddUser(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	vars := mux.Vars(r)
    	accessKey := vars["accessKey"]
    
    	// Get current object layer instance.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    	if !gotBuckets.Equals(shouldHaveBuckets) {
    		c.Fatalf("root user should have access to all buckets")
    	}
    
    	// This must fail.
    	if err := userAdmClient.AddUser(ctx, globalActiveCred.AccessKey, globalActiveCred.SecretKey); err == nil {
    		c.Fatal("AddUser() for root credential must fail via root STS creds")
    	}
    }
    
    // SetUpLDAP - expects to setup an LDAP test server using the test LDAP
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  9. cmd/iam.go

    		return updatedAt, auth.ErrInvalidAccessKeyLength
    	}
    
    	if !auth.IsSecretKeyValid(ureq.SecretKey) {
    		return updatedAt, auth.ErrInvalidSecretKeyLength
    	}
    
    	updatedAt, err = sys.store.AddUser(ctx, accessKey, ureq)
    	if err != nil {
    		return updatedAt, err
    	}
    
    	sys.notifyForUser(ctx, accessKey, false)
    	return updatedAt, nil
    }
    
    // SetUserSecretKey - sets user secret key
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  10. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

        private final Adder adder;
    
        FailsToForwardReturnValue(Adder adder) {
          this.adder = adder;
        }
    
        @Override
        public int add(int a, int b) {
          return adder.add(a, b) + 1;
        }
    
        @Override
        public String toString() {
          return adder.toString();
        }
      }
    
      private static class FailsToPropagateException implements Adder {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
Back to top