bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SCO + NIS + ls


From: Chris Gleba
Subject: SCO + NIS + ls
Date: Wed, 1 Nov 2000 17:24:09 -0500 (EST)

This may or may not be a bug. . . 

I use SCO OpenServer SVR5 as a NIS client.  I successfully compiled
fileutils with gcc, although when I use "ls", "chown", "chgrp", etc, these
programs can not resolve numeric UIDs and GIDs to user names and group
names.

The SCO native programs work fine. . . I searched through the config
files, the newsgroups and this mailing list's archive, although I could
not find anyone with this same problem not any config options in regards
to this.

It looks like OpenServer does not use libc / nsswitch.conf for NIS. . .it
seems as if they use a hacked home-brew setup.  Thus it seems as if a
program needs to be writen for NIS in order to use it rather then just
simply using libc transparently like every other UNIX. . I may be wrong,
though.

Does anyone have any experience with this?  Is this an easy fix or will it
require some coding?  If the latter case, I will be willing to give a shot
at fixing this, just let me know the proper procedure for doing so (aka
who do I submit diffs to, etc).

I have attached a "truss" of OpenServer native "ls" and GNU fileutils
"ls". . . the OpenServer native ls opens and reads /etc/default/security,
interprets the line "NIS_ENABLED=Y", then opens /etc/yp/binding/<domain>,
which I assume it gets the yp server from, then it opens
/etc/auth/system/gr_id_map, which I think it somehow uses to conver GID
numbers to GID names.  The GNU fileutils ls directly opens /etc/passwd and
/etc/group and figures out the UID and GID from there.

As an aside, would it be possible to compile glibc for SCO, point
fileutils to use glibc and have glibc do the NIS lookups transparently
(like every other UNIX) or is NIS partially kernel based?

I appreciate any help and I thank you in advance!

--Chris Gleba

address@hidden
address@hidden
(978) 694-2563
(978) 455-3302

PS  (I only use SCO because I have to at work)

Attachment: openserverls
Description: Text document

Attachment: gnuls
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]