How to better and more accurate analysis of samba source codes

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Nov 15 00:19:41 MST 2013

On Fri, Nov 15, 2013 at 10:16:10AM +0800, 杨昌玉 wrote:
>       Dear everybody:
>        Currently, I am analyzing  the source codes of samba. As we all know, samba source codes are very complicated, it has several million lines of code. I personally feel, the samba's help documentation write more chaos, the structure is not clear, for example:
>        Because samba has over 30 years of history, historical documents such as samba3 documents are very large and very redundant. It is very hard to get what we want from the reference document information.
>       Currently, I study the source code while reading the samba code while finding relevant online information and documentation of official website . I also use a single-step debugging tool of gdb, and strace tool to tracking the source code.
>        My first question: Are there other  better ways to study the samba source code?
>        For instance, my main goal is to narrow the range in order to find kerberos authentication function call interfaces in the samba source codes, and the  ultimate goal  is to find the Service_key.

Can you explain in more details what you want to achieve?
Maybe we can help you by pointing you more directly at the
relevant code pieces.

With best regards,

Volker Lendecke

SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen, mailto:kontakt at

More information about the samba-technical mailing list