[OpenAFS-devel] initgroups fails

Markus Hetzenecker markus.hetzenecker@uibk.ac.at
Wed, 11 Aug 2004 19:40:47 +0200


=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hey,

i want to use the openafs-client on Fedora Core 2 and get a failure (if ope=
nafs is loaded) with

main() {
  if (initgroups("root", 0) < 0)
    perror("initgroups");
}

which gives an ouput:
initgroups: Invalid argument

openafs compiles fine with different snapshots (and 1.3.70) and i`m also ab=
le to get a token and list my afs space.
but i cannot login (console, ssh, ...), because of the failure of initgroup=
s (setgroups).
without openafs loaded, initgroups gives no error and everthing works (but =
no afs space).
installed packages:
glibc-2.3.3-27
kernel-2.6.7-1.494.2.2

does anyone see the same problem, or can anyone use openafs with fedore cor=
e 2 and still login?

thanks for the great work of openafs and=20
TIA, markus.

=2D --=20
fork() off;
GnuPG key: http://www.uibk.ac.at/~csaa5103/public_key.asc
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFBGlof5GmgOkxBwOURArg9AJ9UkTg+B6Pbky0kb9A578B2m8YkMwCfVcP1
j6bN0OF9Gxnm6JZ5j7kgxbg=3D
=3DzwkC
=2D----END PGP SIGNATURE-----