Forum Discussion

Marcelko's avatar
Marcelko
Level 4
8 years ago

why cannot add old alias to new client

why cannot add old alias to new client

#bpclient -client stoner -list_all_aliases
stoner
h01952799

# bpclient -client stoner.festnetz -delete_all_aliases

#bpclient -client stoner -list_all_aliases
stoner

#bpclient -client dns -add_alias H01952799
bpclient: invalid command parameter (20)


Error code 20 : invalid command parameter

#

  • You have a client called 'dns'?

    Where does this client name exist in NBU config?

    Please bear in mind that Policy Database (containing clients) and the Client Attributes database are 2 separate databases.

    You first need to add Client names to Clients Attributes database. 

    So, if you have not yet added client name 'dns' to Host Properties -> Clients Attributes or via cmd: 
    bpclient -client dns -add
    you need to do this before adding an alias.

     

    • Marcelko's avatar
      Marcelko
      Level 4

      Hi Marianne,

      a i added to clent attributes, but it didn't help

      • Marianne's avatar
        Marianne
        Level 6

        Please show us output of: bpclient -client dns -L

        Just out of curiosity - what is your reason for adding aliases here?
        I have honestly never seen anyone using it...