[Samba] Confused about groups and access
Gerald (Jerry) Carter
jerry at samba.org
Fri Feb 24 16:30:16 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David Shapiro wrote:
> Unfortunately, aix does not have getent command.
David,
Try this instead:
$ perl -e ' @grp = getgrnam("ntcdw"); print "@grp:\n";'
$ perl -e ' @grp = getgrgid($gid); print "@grp:\n";'
> You have 'winbind nested groups = yes' (I know this is
> obvious). YES
>
>
> * Does 'id username' show the correct listing of groups?
> only after I log into the box as the user and then do an su to that
> user as an extra step do I see all the groups. before that, all I see
> is domain users.
>
> * Does `getent group ntcdw` return the group info?
> * Does `getent group $gid_ntcdw` return the group info?
> ($gid_ntcdw is the numeric gid of ntcdw).
Bill, Is there anything special to AIX in this case?
cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFD/zSXIR7qMdg1EfYRAsgVAJ4uUEs78Q49LopZBEDQi4E9HWfkUACg88R0
b2iGoCEyxsHnser/hSyIxGA=
=lfdq
-----END PGP SIGNATURE-----
More information about the samba
mailing list