[Samba] Checking the trust account password returned NT_STATUS_INVALID_HANDLE

Turbo Fredriksson turbo at dagdrivarn.se
Mon Jul 30 15:00:04 GMT 2007

Quoting Turbo Fredriksson <turbo at dagdrivarn.se>:

> I'm trying to setup a FreeRADIUS (version 1.1.6 w/ LDAP support)
> server on our new server here at home, which in turn should
> authenticate against the Samba server (also on the same host - version
> 3.0.25) which in turn uses an OpenLDAP server (CVS version HEAD as of
> 20070719).

This works with 2.0.14a and 2.0.24. But in both, I get this after a
couple minutes (about half an hour) of restart (a restart solves the
problem for another half hour):

----- s n i p -----
[2007/07/30 16:23:25, 0, pid=7295, effective(0, 0), real(0, 0)] passdb/pdb_get_set.c:pdb_get_group_sid(164)
  pdb_get_group_sid: Failed to find Unix account for turbo
[2007/07/30 16:23:25, 1, pid=7295, effective(0, 0), real(0, 0)] auth/auth_util.c:make_server_info_sam(572)
  User turbo in passdb, but getpwnam() fails!
[2007/07/30 16:23:25, 0, pid=7295, effective(0, 0), real(0, 0)] auth/auth_sam.c:check_sam_security(352)
  check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER'
----- s n i p -----

The command 'pdbedit -L' still works perfectly, but 'wbinfo -u' never

PS. It doesn't seem to matter if I have WinBind running or not... It's
    currently off.

More information about the samba mailing list