public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nis/15553] New: limits on xdr_ requests are too restrictive
@ 2013-05-30 20:18 pfrankli at redhat dot com
  2013-05-30 20:26 ` [Bug nis/15553] " pfrankli at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: pfrankli at redhat dot com @ 2013-05-30 20:18 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15553

            Bug ID: 15553
           Summary: limits on xdr_ requests are too restrictive
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nis
          Assignee: unassigned at sourceware dot org
          Reporter: pfrankli at redhat dot com
                CC: kukuk at suse dot de

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug nis/15553] limits on xdr_ requests are too restrictive
  2013-05-30 20:18 [Bug nis/15553] New: limits on xdr_ requests are too restrictive pfrankli at redhat dot com
  2013-05-30 20:26 ` [Bug nis/15553] " pfrankli at redhat dot com
@ 2013-05-30 20:26 ` pfrankli at redhat dot com
  2013-06-02 15:30 ` pfrankli at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pfrankli at redhat dot com @ 2013-05-30 20:26 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15553

--- Comment #1 from Patsy Franklin <pfrankli at redhat dot com> ---
A recent patch to set reasonable limits on xdr requests proved to be too
restictive for some users, potentially causing ypcat to give rpc errors.

How reproducible:
Always

Steps to reproduce:

1. add a very long group record into /etc/group (longer than 1024B), e.g.:
foo:x:10000:bar1,bar2,bar3, ... ,bar999

2. add --no-limit-check option to makedbm command in /var/yp/Makefile, since
otherwise lines longer than 1024B are ignored, but we need to add them to map
file:

-DBLOAD = $(YPBINDIR)/makedbm -c -m `$(YPBINDIR)/yphelper --hostname`
+DBLOAD = $(YPBINDIR)/makedbm --no-limit-check -c -m `$(YPBINDIR)/yphelper
--hostname`

3. rebuild maps:
# cd /var/yp
# make

4. # systemctl restart ypserv ypbind (while ypbind is configured to use ypserv
running on localhost)

5. # ypcat group.byname

Actual results:
...
yp_all: clnt_call: RPC: Can't decode result
No such map group.byname. Reason: RPC failure on NIS operation

Some groups are returned but the list is cut short with the error message above

Expected results:
All groups are returned.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug nis/15553] limits on xdr_ requests are too restrictive
  2013-05-30 20:18 [Bug nis/15553] New: limits on xdr_ requests are too restrictive pfrankli at redhat dot com
@ 2013-05-30 20:26 ` pfrankli at redhat dot com
  2013-05-30 20:26 ` pfrankli at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pfrankli at redhat dot com @ 2013-05-30 20:26 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15553

Patsy Franklin <pfrankli at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pfrankli at redhat dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug nis/15553] limits on xdr_ requests are too restrictive
  2013-05-30 20:18 [Bug nis/15553] New: limits on xdr_ requests are too restrictive pfrankli at redhat dot com
  2013-05-30 20:26 ` [Bug nis/15553] " pfrankli at redhat dot com
  2013-05-30 20:26 ` pfrankli at redhat dot com
@ 2013-06-02 15:30 ` pfrankli at redhat dot com
  2013-06-02 15:31 ` pfrankli at redhat dot com
  2014-06-13 17:34 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: pfrankli at redhat dot com @ 2013-06-02 15:30 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15553

--- Comment #2 from Patsy Franklin <pfrankli at redhat dot com> ---
Fixed.
commit eca5920cd90093d8921f27bfbf7bcf54807165bb

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug nis/15553] limits on xdr_ requests are too restrictive
  2013-05-30 20:18 [Bug nis/15553] New: limits on xdr_ requests are too restrictive pfrankli at redhat dot com
                   ` (2 preceding siblings ...)
  2013-06-02 15:30 ` pfrankli at redhat dot com
@ 2013-06-02 15:31 ` pfrankli at redhat dot com
  2014-06-13 17:34 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: pfrankli at redhat dot com @ 2013-06-02 15:31 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15553

Patsy Franklin <pfrankli at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Patsy Franklin <pfrankli at redhat dot com> ---
Resolved/Fixed:

commit eca5920cd90093d8921f27bfbf7bcf54807165bb

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug nis/15553] limits on xdr_ requests are too restrictive
  2013-05-30 20:18 [Bug nis/15553] New: limits on xdr_ requests are too restrictive pfrankli at redhat dot com
                   ` (3 preceding siblings ...)
  2013-06-02 15:31 ` pfrankli at redhat dot com
@ 2014-06-13 17:34 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 17:34 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=15553

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-06-13 17:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-30 20:18 [Bug nis/15553] New: limits on xdr_ requests are too restrictive pfrankli at redhat dot com
2013-05-30 20:26 ` [Bug nis/15553] " pfrankli at redhat dot com
2013-05-30 20:26 ` pfrankli at redhat dot com
2013-06-02 15:30 ` pfrankli at redhat dot com
2013-06-02 15:31 ` pfrankli at redhat dot com
2014-06-13 17:34 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).