markfritz

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-02-15
01:22
2088 views
CLI NSS Volume owner information
Hi everyone,
I've been struggling to find any information on wether this is possible or not. Is there a tool that will show me who the owner of a file on an NSS volume from the linux command line.
I've looked through the nsscon and tried rights, attrib, metamig and ncpcon and have not been able to see where it shows who the owner of a file is.
I'm trying to script and automated file checker that will notify people close to their quota where all their files are.
I've been struggling to find any information on wether this is possible or not. Is there a tool that will show me who the owner of a file on an NSS volume from the linux command line.
I've looked through the nsscon and tried rights, attrib, metamig and ncpcon and have not been able to see where it shows who the owner of a file is.
I'm trying to script and automated file checker that will notify people close to their quota where all their files are.
5 Replies
markfritz

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-02-15
01:23
Forgot the info:
Running x64 OES2 SP1
Running x64 OES2 SP1
Anonymous_User

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-02-15
09:13
* markfritz (Mon, 15 Feb 2010 01:26:02 GMT)
> I've been struggling to find any information on wether this is possible
> or not. Is there a tool that will show me who the owner of a file on an
> NSS volume from the linux command line.
>
> I've looked through the nsscon and tried rights, attrib, metamig and
> ncpcon and have not been able to see where it shows who the owner of a
> file is.
ls -l
> I've been struggling to find any information on wether this is possible
> or not. Is there a tool that will show me who the owner of a file on an
> NSS volume from the linux command line.
>
> I've looked through the nsscon and tried rights, attrib, metamig and
> ncpcon and have not been able to see where it shows who the owner of a
> file is.
ls -l
markfritz

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-02-15
23:37
That only shows me either 'admin' or 'nobody' and not the edirectory owner of the file.
Thorsten Kampe;1933231 wrote:
* markfritz (Mon, 15 Feb 2010 01:26:02
ls -l
Anonymous_User

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-02-16
05:11
hi,
I think if the owners are LUM enabled ll and other Linux tools to show them. Otherwise you'll have to use NSS zAPIs or the VFS interface to get them off NSS(I think). The VFS is a lot easier. You pass in a XML request and it sends out a XML reply... Its doced here:http://developer.novell.com/documentation/vfs/vfs__enu/index.html?page=/documentation/vfs/vfs__enu/data/bktitle.html
Look at the "getFileInfo" request in the "files.cmd Definitions" heading...
Good Luck!
Oza
>>> On 2/16/2010 at 05:16 AM, in message
<markfritz.46g8en@no-mx.forums.novell.com>,
markfritz<markfritz@no-mx.forums.novell.com> wrote:
> That only shows me either 'admin' or 'nobody' and not the edirectory
> owner of the file.
>
> Thorsten Kampe;1933231 Wrote:
>> * markfritz (Mon, 15 Feb 2010 01:26:02
>> ls -l
I think if the owners are LUM enabled ll and other Linux tools to show them. Otherwise you'll have to use NSS zAPIs or the VFS interface to get them off NSS(I think). The VFS is a lot easier. You pass in a XML request and it sends out a XML reply... Its doced here:http://developer.novell.com/documentation/vfs/vfs__enu/index.html?page=/documentation/vfs/vfs__enu/data/bktitle.html
Look at the "getFileInfo" request in the "files.cmd Definitions" heading...
Good Luck!
Oza
>>> On 2/16/2010 at 05:16 AM, in message
<markfritz.46g8en@no-mx.forums.novell.com>,
markfritz<markfritz@no-mx.forums.novell.com> wrote:
> That only shows me either 'admin' or 'nobody' and not the edirectory
> owner of the file.
>
> Thorsten Kampe;1933231 Wrote:
>> * markfritz (Mon, 15 Feb 2010 01:26:02
>> ls -l
cmi-ayto

Cadet 3rd Class
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-11-24
08:37
We use nsschown for listing eDir information (owner and context)
The file sintax is Novell-like (Volume:\PATH\FILE)
Example for a folder (no recursive):
nsschown -l "VOLUME:/TEMP" -a -r no