Red-hat 8.1 Manual do Utilizador Página 203

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 292
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 202
Exa mple 6.4 . User Authenticating Wit h a User Certifica te a nd Changing His Password
A user, tuser4 , authenticates with the user certificate and changes the password to new_password
over SSL.
ldappasswd -Z -h myhost -P /etc/dirsrv/slapd-instance_name/cert8.db -W
dbpassword -N "uid=tuser4"
-K /etc/dirsrv/slapd-instance_name/key3.db -s new_password
Exa mple 6.5. User Authenticating with DIGEST _MD5 and Changing His Pa ssword
A user, tuser5, authenticates with DIGEST -MD5 and changes the password to new_password.
ldappasswd -h myhost -o “mech=DIGEST-MD5” -o
“authid=dn:uid=tuser5,ou=People,dc=example,dc=com
-w old_password -s new_password
Exa mple 6.6. User Alrea dy Authenticating by Kerbe ros Prompt s for a New Password
A user, who has already authenticated by Kerberos, prompts for the new password. T his is not
performed over SSL.
ldappasswd -h myhost -o "mech=GSSAPI" -S
6.8. ldif
ldif automatically formats LDIF files and creates base-64 encoded attribute values. Base-64 encoding
makes it possible to represent binary data, such as a JPEG image, in LDIF. Base-64 encoded data is
represented using a double colon (::) symbol. For example:
jpegPhoto:: encoded data
In addition to binary data, other values that must be base-64 encoded can identified with other symbols,
including the following:
Any value that begins with a space.
Any value that begins with a single colon (:).
Any value that contains non-ASCII data, including newlines.
The ldif command-line utility will take any input and format it with the correct line continuation and
appropriate attribute information. The ldif utility also senses whether the input requires base-64
encoding.
Syntax
Options
Synta x
The ldif command has the following format:
ldif [ -b ] [ attrtypes ] [ optional_options ]
Options
Red Hat Directory Server 8.1 Configuration and Command Reference 203
Vista de página 202
1 2 ... 198 199 200 201 202 203 204 205 206 207 208 ... 291 292

Comentários a estes Manuais

Sem comentários