Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Can the Agent write to a samba share?

Hi guys

I'm having problems getting the OCS Agent to write to a samba share (chmod 777).

It runs as username: computer$ which is a service account on windows machines.

I have no active directory or domain (Linux backend).

Does anybody have any experience with the OCS Agent writing to samba shares?
in OCS Inventory NG agent for Windows by (220 points)

1 Answer

0 votes
Ok, what I did to get this working on short term is:

In smb.conf I made a guest user.

And default a bad user to guest.

This allows the bad user serviceaccount$ to write as guest.

I do not like this though because it allows non-users to access the share I write to with OCS.
by (220 points)
Powered by Question2Answer