Command | Function |
---|---|
smbldap-usercert | Add/Modify/Delete objectClass and attribute (support user mode) |
# add public key Usage: /usr/local/sbin/smbldap-usercert [-a] username publickey set: smbldap-usercert user1 "ssh-rsa AAAAB3..." add: smbldap-usercert -a user1 "ssh-rsa AAAAB3..." # delete public key Usage: /usr/local/sbin/smbldap-usercert -d username [publickey] all: smbldap-usercert -d user1 one: smbldap-usercert -d user1 "ssh-rsa AAAAB3..." # help -h,? show this help message
# smbldap-usercert user1 "ssh-rsa AAAAB3..." $ smbldap-usercert user1 "ssh-rsa AAAAB3..."
This means to support managing multiple public keys.
# smbldap-usercert -a user1 "ssh-rsa AAAAB3..." $ smbldap-usercert -a user1 "ssh-rsa AAAAB3..."
# smbldap-usercert -d user1 $ smbldap-usercert -d user1
# smbldap-usercert -d user1 "ssh-rsa AAAAB3..." $ smbldap-usercert -d user1 "ssh-rsa AAAAB3..."