Knowledge Partner
Knowledge Partner
903 views

automate folder creation on NSS volume

We have a LAMP based intranet. Employees request project numbers
through this intranet. The project number request page is a php
script that stores the project number and related information in a
MySQL db and notifies the appropriate people via email. When a
project number is pulled a project folder (with a default sub-folder
structure) needs to be created on one or both of two OES servers.
Right now I get an email when the project number is requested and I
create the folder structure. Which consists of copying a prebuilt
folder tree into the "PROJECTS" volume on the server(s), renaming it
to the project name, and assigning rights. I assign rights via the
Novell client (right-click the folder, add the appropriate eDirectory
group, and give that group the appropriate rights). I would like to
automate this process so when a project number is requested, the
project folder is automatically created. This means a process that
right now just consists of those PHP scripts running on a separate
SLES 11 box needs to somehow create folders on OES 11/2015 NSS volumes
and assign eDirectory rights to them. Is this possible? If so, what
tools/commands should I use? Thanks for any pointers!
Ken

--------------------------------------------------------
Create and vote for enhancements!
https://www.novell.com/products/enhancement-request.html
--
Ken
Knowledge Partner

Create and vote for enhancements!
https://www.microfocus.com/products/enhancement-request.html
Labels (2)
0 Likes
2 Replies
Knowledge Partner
Knowledge Partner

Re: automate folder creation on NSS volume

A little digging and I found the rights and attrib commands. So is it
possible to have a PHP script on a SLES box execute those on an OES
box? If so, what would be the best method?

Thanks,
Ken

--------------------------------------------------------
Create and vote for enhancements!
https://www.novell.com/products/enhancement-request.html
--
Ken
Knowledge Partner

Create and vote for enhancements!
https://www.microfocus.com/products/enhancement-request.html
0 Likes
Knowledge Partner
Knowledge Partner

Re: automate folder creation on NSS volume

Whoops...just realized I posted this in the Netware forum. No wonder
there aren't any responses. I'll repost in the correct forum.

--------------------------------------------------------
Create and vote for enhancements!
https://www.novell.com/products/enhancement-request.html
--
Ken
Knowledge Partner

Create and vote for enhancements!
https://www.microfocus.com/products/enhancement-request.html
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.