linux-l: nismap group fehler beim bauen

Philipp Grau phgrau at ZEDAT.FU-Berlin.DE
Do Nov 1 15:47:56 CET 2001


Hallo Robert,

* Robert Sander <ml-belug at epigenomics.de> [01.11.01 12:19]:
> makedbm: warning: data too long: users:*:100:....
> 
> Offensichtlich ist die Zeile zu lang. Gibt es hier wirklich ein
> Limit und warum wird es schon bei 1024 Zeichen erreicht?

Spannende Frage, also es gibt in den Sourcen (nis-3.9.orig/ypserv-1.3.12)
ein Limit:
yp.h:#define YPMAXRECORD 1024

> Im Moment sind in der Gruppe 146 Benutzer, aber das sollten doch
> eigentlich mehr werden können, oder?

Naja, wenn 146 User länger als 1024 Zeichen sind dann schon...

> Zu alte NIS-Version? (Debian potato mit nis_3.8-2)

Naja, Du siehst ja das es sich noch nicht geändert hat.

Aber im README von ypserv-1.3.12 steht:

----------8<--------snipp---------8<-------------------------

1024 Byte limit in NIS protocoll:
---------------------------------
The NIS protocoll has one important limit: keys and data are limited
to 1024 bytes. ypserv 1.3.8 and glibc 2.1 could handle keys and data,
which is bigger 1024 bytes. This will not work with older ypserv or
Linux libc versions like libc5 or glibc 2.0! If you use it with such
systems, it will break NIS support! I don't know, if commercial Unix
versions support it.

----------8<--------snipp---------8<-------------------------


\bye
Philipp



Mehr Informationen über die Mailingliste linux-l