Bug 4049 - smbd stack overflow on sid/rid mapping after upgrade to 3.0.23{a,b,c} (ldapsam)
smbd stack overflow on sid/rid mapping after upgrade to 3.0.23{a,b,c} (ldapsam)
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts
3.0.23c
x86 Linux
: P3 major
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
http://leo.kloburg.at/tmp/samba-3.0.23a/
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-25 09:34 UTC by Alexander 'Leo' Bergolth
Modified: 2015-08-27 13:18 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 'Leo' Bergolth 2006-08-25 09:34:51 UTC
After upgrade from 3.0.22, smbd crashes when connecting from windows client.

The samba-server is a member of a windows-domain, the pdc is a linux-server still running samba-3.0.22. Account information and passwords are stored in an LDAP directory.
The server that crashes should be a member of the domain. (At least "net rpc join -S SAMBA" tells "Joined domain RK_KLBG.")

The relevant parts of the log file (samba-startup.txt and samba-crash.txt) and the config-file are available at
  http://leo.kloburg.at/tmp/samba-3.0.23a/

Additional info:
Domain Name: RK_KLBG
PDC Name: SAMBA
Domain Member server (the one that crashes): MONSTER

[root@monster ~]# net getlocalsid
SID for domain MONSTER is: S-1-5-21-264317539-4085856039-3162983169
[root@monster ~]# net getlocalsid RK_KLBG
SID for domain RK_KLBG is: S-1-5-21-181998944-1107627502-2274996074

Please tell me if additional info is needed.
I'd appreciate any help,
--leo
Comment 1 Volker Lendecke 2006-08-25 09:45:50 UTC
Could you try 3.0.23b plus http://samba.org/~jerry/patches/patch-3.0.23b-3.0.23c-gwc-1.diffs.gz? If this does not help, could you post a log with everything to debug level 10?

Thanks,

Volker
Comment 2 Alexander 'Leo' Bergolth 2006-10-06 07:48:41 UTC
(In reply to comment #1)
> Could you try 3.0.23b plus
> http://samba.org/~jerry/patches/patch-3.0.23b-3.0.23c-gwc-1.diffs.gz?

The patched version didn't fix the problem.
I've also tried samba-3.0.23c-1.fc5 from Fedora Core 5 which also didn't fix it.

> If this
> does not help, could you post a log with everything to debug level 10?

The requested log info (produced with samba-3.0.23c) and the corresponding smb.conf is available at
  http://leo.kloburg.at/tmp/samba-3.0.23a/

Thanks in advance,
--leo
Comment 3 Alexander 'Leo' Bergolth 2006-11-20 05:12:28 UTC
Any news on this topic?
Does the log info provide sufficient info or is there anything else I could do?

Thanks,
--leo
Comment 4 Joshua 2015-08-27 13:18:20 UTC
http://dsl.pp.ua