Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpupdate use hostname instead netbios name #142

Open
x09 opened this issue Aug 18, 2021 · 1 comment
Open

gpupdate use hostname instead netbios name #142

x09 opened this issue Aug 18, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@x09
Copy link

x09 commented Aug 18, 2021

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'

@ghost
Copy link

ghost commented Aug 18, 2021

I suppose the patch #141 will fix this problem.

@ghost ghost self-assigned this Aug 18, 2021
@ghost ghost added the bug Something isn't working label Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant