Displaying 3 results from an estimated 3 matches for "local_sid_to_uid".
2002 Feb 15
0
smbd 2.2.2 code changes
...smbd code to:
1. fix a silent ACL setting failure (posix_acls.c.diff)
2. enh the SID to user mapping when setting ACL's (passdb.c.diff)
The former just looks to be a misplaced return code check
of unpack_canon_ace() in set_nt_acl().
The later is a means of getting a SID-to-name mapping in
local_sid_to_uid() when a local SID lookup fails. In this
case a call is made to the PDC asking for a SID-to-name.
If successfull it then:
1. passes the name to getpwname() if that fails it
2. passes the name to the adduser_script for creation, and retries #1.
Also, wasn't quite sure what pdb_rid_is_user() w...
2002 Sep 13
1
Win XP can't join samba 3.0 domain
...ting username root, was
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_domain(596)
pdb_set_domain: setting domain ICC, was
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_nt_username(623)
pdb_set_nt_username: setting nt username root, was
[2002/09/13 13:17:55, 10] passdb/passdb.c:local_sid_to_uid(843)
local_sid_to_uid: SID S-1-5-21-4045150734-1264408819-3820253986-500 -> uid (0) (root).
[2002/09/13 13:17:55, 3] smbd/sec_ctx.c:pop_sec_ctx(394)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
*** malloc[607]: error for object 0xbfffe734: Pointer being reallocated was not allocated
[2002/09/1...
2003 Dec 01
0
No subject
...number. Is it bogus?
Absolutely.
> It looks like the debug code in posix_acls is calling sid_to_string()
> with the same data as in the sid_to_uid debug message -- so is that
> (and the safe_strcat messages) any further clue of what's gone wrong?
>
> >From a quick glance at local_sid_to_uid, I gather that that doesn't
> apply to this (security=domain) case, since auth is via the PDC.
>
> So, shouldn't winbind_lookup_sid() be succeeding. Should I be
> trying to track the failure in that code?
>
> In case it's helpful, ldd /usr/sbin/smbd shows:
> libdl...