Hi folks,

I have implemented ypldap and it is working quite well. But i am having a
hard time getting netgroups to work locally.

In my user database i have adding the following entry using vipw:

+@we:*::::::::/bin/ksh

My netgroup file is:

we (,grios,mojave)

When i issue a finger command, it works well:

obsd# finger grios
Login: grios                            Name: Gustavo Rios
Directory: /home/grios                  Shell: /bin/ksh
On since Wed Apr  9 08:20 (BRT) on ttyp0 from gustav.cpd.ufv.br
No Mail.
No Plan.
obsd#

But when i issue a ls command :

sioux@obsd$ ls -l
total 8
drwxr-xr-x  3 2000   ord  512 Mar 12 08:25 grios
drwxr-xr-x  7 sioux  its  512 Apr  9 07:59 sioux
sioux@obsd$

Take a close look and you will see the owner of grios directory is the
number 2000. (there seems not to have a mapping from uid to login.

But, if i take the netgroup group entry and put, using vipw:
+:*::::::::/bin/ksh

Everything works well :

sioux@obsd$ ls -l
total 8
drwxr-xr-x  3 grios  ord  512 Mar 12 08:25 grios
drwxr-xr-x  7 sioux  its  512 Apr  9 07:59 sioux
sioux@obsd$

May someone here explain my mistaken ?

Thanks a lot for your time and cooperation.

Reply via email to