winbind_nss_aix.c: Cannot set process credentials

Gerald (Jerry) Carter jerry at samba.org
Sat Feb 24 21:13:25 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anyone familiar with AIX:

On AIX 5.3 with the current SAMBA_3_0 code I'm getting
the following

# su - "CORPQA\z"
Password:
3004-503 Cannot set process credentials.

Calls like getpwnam(), et. al work fine.

  # perl -e '@user = getpwnam("CORPQA\\z"); print "@user\n";'
  CORPQA\z * 100001 100000   z /export/home/CORPQA/z /bin/bash

Looks like others have hit this before.  David Shapiro
reported it back in Feb of 2006.

  http://marc.theaimsgroup.com/?l=samba&m=113961206815372&w=2

Looking at source/nsswitch/winbind_nss_aix.c I find

#if LOG_UNIMPLEMENTED_CALLS
        methods->method_delgroup      = method_delgroup;
        methods->method_deluser       = method_deluser;
        methods->method_newgroup      = method_newgroup;
        methods->method_newuser       = method_newuser;
        methods->method_putgrent      = method_putgrent;
        methods->method_putgrusers    = method_putgrusers;
        methods->method_putpwent      = method_putpwent;
        methods->method_lock          = method_lock;
        methods->method_unlock        = method_unlock;
        methods->method_getcred       = method_getcred;
        methods->method_setcred       = method_setcred;
        methods->method_deletecred    = method_deletecred;
#endif

So my question is have we not done this because it's
really hard or no one has felt motivated enough yet to
do it?






cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF4Kp1IR7qMdg1EfYRAq3wAKCW4rO9db+U7Y3IUYGHYAcZPmeAlwCeKVvO
XAEYighCRVPi2oJWbV/GJt8=
=ttXu
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list