[Samba] chown DOMAIN+mylogin /dir fails (Please help)

Doug VanLeuven roamdad at sonic.net
Fri Feb 10 04:03:38 GMT 2006


David Shapiro wrote:
> What can I look at to understand why chown keeps saying user does not
> exist.  
>  
> wbinfo -u/-g returns the user information
> klist -v shows kerberos is working
> net ads join works fine
> wbinfo -t shows secret is fine
>  
>  
> aix does not have getent so I can't run getent passwd -- is there
> something equivalent on aix?

Closest you're going to get is lsuser -R <load_module>
lsuser -R NIS ALL
lsuser -R LDAP ALL
lsuser -R WINBIND ALL

and of course lsgroup -R <load_module>

>  
> /usr/lib/security/methods.cfg has:
>  
> WINBIND:
>     program = /usr/lib/security/WINBIND (set with chmod 444)
>     options =authonly

Authonly means it's not capable of supplying any user information.
I don't know that's true anymore.

Look in source/nsswitch/winbind_nss_aix.c
Available methods are at the end of the file.
Not all methods are implemented, and not all methods implemented
return a valid answere.

Regards, Doug



More information about the samba mailing list