Networking Forums

Networking Forums > Computer Networking > Linux Networking > problem with nis groups (debian)

Reply
Thread Tools Display Modes

problem with nis groups (debian)

 
 
Tim Kelley
Guest
Posts: n/a

 
      05-31-2005, 07:33 PM
I'm having a problem with nis groups under linux.

I've added some group in my /etc/group file, after the nis "+" entry

These group show up on a "ypcat group" from server or from any client, and
the gid's are correct. "getent group" returns all the nis groups.

On a particular export, a particular directory is group writeable; on the
server I can write in this directory given I'm a member of said group.

However, on a client, I cannot do a thing. NIS group resolution doesn't seem
to be working even though ypcat returns the group and gid, and ls -l
returns the right group. This group does not exist locally on either
machine. I just get "permission denied" whenever I try to modify / write a
file. The export is mounted rw. A nis user can modify a file if they own
it - i.e., passwd stuff seems to be working fine. It's only group.

If I do go ahead and create local groups on each machine with the same gid,
it of course works fine.

My nsswitch.conf to my knowledge is correct, with "compat" set for group.
 
Reply With Quote
 
 
 
 
rajumahala
Guest
Posts: n/a

 
      06-02-2005, 07:06 AM
Have you restarted nscd (cache daemon) daemon.
Also check output of command : %groups whether it shows this
group name.
Also check permission of file which you are trying to modify/write.

To restart nscd run following command :-

service nscd stop
service nscd start

let me know if it works. Otherwise tell me Linux vendor and version.

 
Reply With Quote
 
Tim Kelley
Guest
Posts: n/a

 
      06-08-2005, 07:56 AM
rajumahala wrote:

> Have you restarted nscd (cache daemon) daemon.
> Also check output of command : %groups whether it shows this
> group name.
> Also check permission of file which you are trying to modify/write.
>
> To restart nscd run following command :-
>
> service nscd stop
> service nscd start
>
> let me know if it works. Otherwise tell me Linux vendor and version.


It was a problem with nfs - there is a limit in the rpc standard of 16
groups or so. Over that, nfs doesn't understand them.
 
Reply With Quote
 
rajumahala
Guest
Posts: n/a

 
      06-17-2005, 05:04 AM
Thanks for updating the result/solution.
It means you were assigning more than 16 secondary group for a login.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Debian Etch and NTP Àngel Català Linux Networking 22 04-11-2008 02:21 PM
Problem with dns in Debian Etch cantabile Linux Networking 0 05-18-2007 10:10 PM
OTish: NTL dial-up groups? Problem with game server Nigel M Broadband 13 04-08-2005 11:29 AM
Problem with Debian NIS Server Andreas Linux Networking 0 09-03-2004 04:22 PM
Debian DHCP problem? Chris Linux Networking 5 12-07-2003 03:50 PM



1 2 3 4 5 6 7 8 9 10 11