[Samba] Fwd: most common way to implement 'net time' privileges

Liutauras Adomaitis liutauras.adomaitis at gmail.com
Thu Aug 27 03:58:30 MDT 2009


On Wed, Aug 26, 2009 at 6:11 PM, Volker
Lendecke<Volker.Lendecke at sernet.de> wrote:
> On Wed, Aug 26, 2009 at 06:05:35PM +0300, Liutauras Adomaitis wrote:
>> now size is few times larger. Try it now
>> http://www.infosaitas.lt/logas.txt
>
> Normally a "Device is not functioning" (or so) means an
> NT_STATUS_UNSUCCESSFUL error message. I don't see any such
> error message in the logs. When *exactly* did the error
> happen when you took the log?
>

I looked through the logs again - no line with NT_STATUS_UNSUCCESSFUL.

I found other thing (look below). It says
ldapsam_getsampwsid: Unable to locate SID
[S-1-5-21-1376040910-2644421868-2724539926-513]
Could this be the problem?


[2009/08/27 12:48:03,  5] auth/token_util.c:debug_nt_user_token(522)
  NT user token: (NULL)
[2009/08/27 12:48:03,  5] auth/token_util.c:debug_unix_user_token(548)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2009/08/27 12:48:03,  5] lib/smbldap.c:smbldap_search_ext(1205)
  smbldap_search_ext: base => [o=Publicum,dc=infosaitas,dc=lt], filter
=> [(&(sambaSID=S-1-5-21-1376040910-2644421868-2724539926-513)(objectclass=sambaSamAccount))],
scope => [2]
[2009/08/27 12:48:03,  4] passdb/pdb_ldap.c:ldapsam_getsampwsid(1613)
  ldapsam_getsampwsid: Unable to locate SID
[S-1-5-21-1376040910-2644421868-2724539926-513] count=0
[2009/08/27 12:48:03,  5] lib/smbldap.c:smbldap_search_ext(1205)
  smbldap_search_ext: base =>
[ou=Group,cn=internal,o=Publicum,dc=infosaitas,dc=lt], filter =>
[(&(objectClass=sambaGroupMapping)(sambaSID=S-1-5-21-1376040910-2644421868-2724539926-513))],
scope => [2]
[2009/08/27 12:48:03,  2] passdb/pdb_ldap.c:init_group_from_ldap(2348)
  init_group_from_ldap: Entry found for group: 513
[2009/08/27 12:48:03,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2009/08/27 12:48:03,  5]
passdb/pdb_interface.c:pdb_default_lookup_rids(1635)
  lookup_rids: Domain Users:2
[2009/08/27 12:48:03,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1


More information about the samba mailing list