search for: init_sam_from_buffer

Displaying 4 results from an estimated 4 matches for "init_sam_from_buffer".

2004 Sep 09
3
upgarde smbd to 3.0.6 and keep winbind to 3.0.2a, possible ?
...s 0 [2004/09/08 08:56:01, 0] lib/util.c:smb_panic(1400) PANIC: internal error [2004/09/08 08:56:01, 0] lib/util.c:smb_panic(1408) BACKTRACE: 21 stack frames: #0 /usr/sbin/smbd(smb_panic+0x101) [0x81c1d11] #1 /usr/sbin/smbd [0x81aff28] #2 /lib/libc.so.6 [0x401ed4a8] #3 /usr/sbin/smbd(init_sam_from_buffer+0x61c) [0x819379c] #4 /usr/sbin/smbd [0x81a4941] #5 /usr/sbin/smbd [0x81a4e10] #6 /usr/sbin/smbd [0x81a4f60] #7 /usr/sbin/smbd [0x8194ad5] #8 /usr/sbin/smbd(pdb_getsampwsid+0x35) [0x81960d5] #9 /usr/sbin/smbd(make_server_info_guest+0x89) [0x81fbfb9] #10 /usr/sbin/smbd [0x81f9d8...
2003 Sep 23
0
[PATCH] tdb multiple format
Hi, As I said yesterday, I worked on a solution for tdb format in order to manage easily new fields for this format. So I add small changes to init_sam_from_buffer and init_buffer_from_sam in this purpose. The data TDB_FORMAT_STRING became an array which contains the list of the different fields format which exist. When the tdb file is read, for each records, Samba will try the most recent format defined into the sources and, if the data length doesn't f...
2004 Feb 12
1
pdbedit 3.0.2 segfault
...ke install When I run pdbedit -L I get a segfault: oberon root # pdbedit -L Segmentation fault (core dumped) This occurs after samba of unknown version from these two: 3.0.1pre2 3.0.2 has been reinstalled with samba-3.0.2 (gdb) bt #0 0x400f9bf9 in free () from /lib/libc.so.6 #1 0x08068472 in init_sam_from_buffer () #2 0x08071d3f in tdbsam_getsampwent () #3 0x080694da in context_getsampwent () #4 0x0805a292 in print_users_list () #5 0x0805b7e1 in main () #6 0x4009a90b in __libc_start_main () from /lib/libc.so.6 oberon samba # ldd `which pdbedit` libcrypt.so.1 => /lib/libcrypt.so.1 (0x400260...
2004 Feb 12
3
More to pdbedit -L segfault
I have recompiled pdbedit 3.0.2 with -g flag to be able to list sources from gdb when debugging pdbedit and discovered some more info but don't know how to interpret it: (gdb) frame 1 #1 0x0806c899 in init_sam_from_buffer (sampass=0x81b8c28, buf=0x81b8d78 "", buflen=208) at passdb/passdb.c:1462 1462 SAFE_FREE(domain); (gdb) print domain $8 = 0x10000 <Address 0x10000 out of bounds> It looks like domain is invalid address. It seems some integer has been sucked in into the pointer. This...