Skip to content

gpupdate use hostname instead netbios name #142

Description

@x09

My hostname like this altp9-ansible-node100
But netbios name in smb.conf altp9-ansible-1
gpupdate tried use altp9-ansible-node100 , - it's wrong
right way get from smb,conf
grep -iP 'netbios\s+name\s+=' /etc/samba/smb.conf | awk -F '=' '{print $2}' | sed -r 's/^\s+|\s+$//g'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions