LDAP stuff (was Re: LDAP client requires smbpasswd encrypt t
Allan Bjorklund
allan at umich.edu
Thu Jan 7 20:58:27 GMT 1999
(What is it they say about people who talk to themselves in email?)
On 07-Jan-99 Allan Bjorklund wrote:
>
> On 07-Jan-99 Allan Bjorklund wrote:
>>
>> Have there been a large number of changes that haven't been
>> checked
>> in yet? If so, when will they be? I've encountered one minor
>> fixable
>> bug, and one nasty one that I haven't been able to fix. (Hopefully
>> you've caught and fixed them.)
I figured out the nasty SIGSEGV problem. In passdb/ldap.c near the
end of ldap_getpw() there is a call to ldap_next_entry. This results
in the global variable ldap_entry getting set to NULL. Since the
following ldap_get_attribute needs ldap_entry we get the SIGSEGV.
I commented out that line, but I really don't know what affect it
has overall. I did make that SIGSEGV go away, but another one cropped
up farther down the line.
From a level 15 debug log:
[1999/01/07 15:35:57, 10] lib/domain_namemap.c:make_mydomain_sid(350)
nt name RSUG_TEST\Users gid 100 mapped to
S-1-5-21-2815832675-2906762816-2056278434-1402
[1999/01/07 15:35:57, 5] lib/domain_namemap.c:load_name_map(624)
unixname = users, ntname = RSUG_TEST\Users type = 4
[1999/01/07 15:35:57, 10] lib/domain_namemap.c:load_name_map(629)
load_name_map: Added 2 entries to name map.
[1999/01/07 15:35:57, 7] lib/util_sid.c:sid_to_string(50)
sid_to_string returning S-1-5-21-2815832675-2906762816-2056278434-1042
[1999/01/07 15:35:57, 10] lib/domain_namemap.c:map_unixid(761)
map_unixid: enum entry unix group wheel 10 nt Administrators
S-1-5-21-2815832675-2906762816-2056278434-1042
[1999/01/07 15:35:57, 7] lib/util_sid.c:sid_to_string(50)
sid_to_string returning S-1-5-21-2815832675-2906762816-2056278434-1402
[1999/01/07 15:35:57, 10] lib/domain_namemap.c:map_unixid(761)
map_unixid: enum entry unix group users 100 nt Users
S-1-5-21-2815832675-2906762816-2056278434-1402
[1999/01/07 15:35:57, 7] lib/domain_namemap.c:map_unixid(766)
map_unixid: Mapping unix name users to nt name Users type 4
[1999/01/07 15:35:57, 10] passdb/sampassdb.c:pwdb_sam_map_names(525)
pwdb_sam_map_name: found gid 100 and group rid 0x57a for unix user
allan
[1999/01/07 15:35:57, 0] lib/fault.c:fault_report(40)
===============================================================
[1999/01/07 15:35:57, 0] lib/fault.c:fault_report(41)
INTERNAL ERROR: Signal 11 in pid 21991 (2.1.0-prealpha)
Please read the file BUGS.txt in the distribution
[1999/01/07 15:35:57, 0] lib/fault.c:fault_report(43)
===============================================================
[1999/01/07 15:35:57, 0] lib/util.c:smb_panic(2467)
PANIC: internal error
All the functions listed above have successfully returned from what I
can tell by the messages logged. So someone above them is bombing.
<sigh>
===================================================================
Allan Bjorklund | allan at umich.edu
Systems Research Programmer | University of Michigan
Information Technology Division | 535 W. William St.
1-(734)-763-9391 | Ann Arbor, MI 48103
===================================================================
More information about the samba-technical
mailing list