Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Netboot uploading NetSUS 5 #124

Open
dptech opened this issue Jan 11, 2019 · 8 comments
Open

Netboot uploading NetSUS 5 #124

dptech opened this issue Jan 11, 2019 · 8 comments

Comments

@dptech
Copy link

dptech commented Jan 11, 2019

I've got a fresh install of NetSUS 5 on Ubuntu 16.04.5. It looks like the install when fine.
I'm trying to get NetBoot to let me upload a new image. When I click "Upload" from the netboot server section, the server presents me with a login prompt for an SMB share. I enter the default creds and get a blank box where I would expect to see the NetBootSP0 folder (or maybe be connected directly to the SP0 folder - Not sure) Instead, what I'm seeing is a smb dialog box that only lists "Cancel" as a choice. (screenshot is attached). Has anyone seen this before? It seems like a simple smb config issue, but the samba config looks right to me and if I manually connect to the share I can write to /srv/NetBoot/NetBootSP0 folder.

Is anyone else seing this? All answers appreciated.

connecting_to_server_and_new_issue_ _jamf_netsus

@sharrist
Copy link

I'm seeing the same thing

@shanehull
Copy link

Same issue here

@dptech
Copy link
Author

dptech commented Jan 17, 2019

Looks like this is a thing. I've got a case open with JAMF and I've been watching this thread:
[https://www.jamf.com/jamf-nation/discussions/26726/netsus-cannot-connect-to-smb-share]
If I get an answer, I'll be sure to share it.

Out of curiosity are you guys using the appliance or building a server and using the installer?

@shanehull
Copy link

Looks like this is a thing. I've got a case open with JAMF and I've been watching this thread:
[https://www.jamf.com/jamf-nation/discussions/26726/netsus-cannot-connect-to-smb-share]
If I get an answer, I'll be sure to share it.

Out of curiosity are you guys using the appliance or building a server and using the installer?

I've just tried both this morning both produce the same results. I've resulted to using scp for any file transfers, but I can connect to "smb://my-server.domain.com/NetBoot" manually via Finder.

@dptech
Copy link
Author

dptech commented Jan 17, 2019

I suspect that the script that builds the share has a path error in it. I can manually mount the share and write to it. But when I try to use the web interface to upload an image, I get the same error you're getting.

The engineers at JAMF are supposed to be getting back to me sometime today.

@duncan-mccracken
Copy link
Collaborator

duncan-mccracken commented Jan 17, 2019

Hi Guys, sorry for the delayed response (on vacation).

When we built the last release of this, we weren't seeing this error, the share appeared and shares on the server were browsable.

We'll have a look at this next week, and issue a subsequent update, but in the short term you can connect to the share using the following connection url from the Finder:
smb://smbuser@<NetSUS IP or Hostname>/NetBoot
This will prompt for authentication and work.

Another thing that should be noted is that while NetSUS was originally created by a couple of Jamf employees, it is not a Jamf Product. It is a Jamf Community Project, hosted in Jamf's Open Source git repo, and maintained by non-Jamfs on their own time to assist the community.
Please be aware that Jamf Engineering do not develop this project.
Your best troubleshooting resources are here (obviously), Jamf Nation, or the NetSUS channel on MacAdmins Slack, but since this is developed by individuals on their own time, responses / fixes may be sporadic.

For the reasons outlined above, codes fixes / pull requests are always welcome ;)

@duncan-mccracken

@duncan-mccracken
Copy link
Collaborator

Hi all,

The fix is pretty simple.

SSH to the NetSUS, using an account with sudo access.
Type the following command:
sudo sed -i 's/browseable.*/browseable = yes/' /etc/samba/conf.d/netboot.conf

The NetBoot share was immediately visible with a simple Command-K connection, or using the link in the browser.

My test NetSUS didn't even require a restart of the smbd service for the change to take effect.

The base code will be updated shortly, and this fix will be incorporated in the next release.

@dptech
Copy link
Author

dptech commented Jan 23, 2019

@duncan-mccracken, Thank you so much for the fix. I totally appreciate the work you do to maintain this project.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants