Skip to content

gpupdate use hostname instead netbios name #142

@x09

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'

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