| Command | Function |
|---|---|
| smbldap-ssh | add/modify/delete an attribute for ldapPublicKey entry (support user mode) |
| smbldap-migrate-usercert_to_ssh | migrate from strongAuthenticationUser to ldapPublicKey entry |
# add public key (support multiple public keys)
Usage: /usr/local/sbin/smbldap-ssh username publickey
add key1: smbldap-ssh user1 "ssh-rsa AAAAB3...1"
add key2: smbldap-ssh user1 "ssh-rsa AAAAB3...2"
# delete public key
Usage: /usr/local/sbin/smbldap-ssh -d username [publickey]
delete all: smbldap-ssh -d user1
delete one: smbldap-ssh -d user1 "ssh-rsa AAAAB3...1"
# help
-h,? show this help message
This command support managing multiple public keys.
# smbldap-ssh user1 "ssh-rsa AAAAB3...1" $ smbldap-ssh user1 "ssh-rsa AAAAB3...2"
# smbldap-ssh -d user1 $ smbldap-ssh -d user1
# smbldap-ssh -d user1 "ssh-rsa AAAAB3...1" $ smbldap-ssh -d user1 "ssh-rsa AAAAB3...2"
# migrate from strongAuthenticationUser to ldapPublicKey
smbldap-migrate-usercert_to_ssh
# migrate from strongAuthenticationUser to ldapPublicKey with delete strongAuthenticationUser attributes
smbldap-migrate-usercert_to_ssh -d
# help
-h,? show this help message
# smbldap-migrate-usercert_to_ssh
# smbldap-migrate-usercert_to_ssh -d