Program terminated with signal 6, Aborted. [New process 5749] #0 0x00007f50d63c2ed5 in raise () from /lib/libc.so.6 (gdb) bt #0 0x00007f50d63c2ed5 in raise () from /lib/libc.so.6 #1 0x00007f50d63c43f3 in abort () from /lib/libc.so.6 #2 0x0000000000464386 in ?? () #3 0x0000000000464399 in ?? () #4 #5 0x00007f50d35d5d84 in find_nestlock (tdb=0xd2e060, offset=4) at ../lib/tdb/common/lock.c:249 #6 0x00007f50d35d6f8d in tdb_have_extra_locks (tdb=0xd2e060) at ../lib/tdb/common/lock.c:825 #7 0x00007f50d35d1242 in _tdb_transaction_start (tdb=0xd2e060, lockflags=TDB_LOCK_WAIT) at ../lib/tdb/common/transaction.c:446 #8 0x00007f50d35d1626 in tdb_transaction_start (tdb=0xd2e060) at ../lib/tdb/common/transaction.c:534 #9 0x00007f50d2c22172 in db_tdb_transaction_start (db=0xd2ddf0) at lib/dbwrap_tdb.c:319 #10 0x00007f50d2cddcb5 in get_global_sam_sid () at passdb/machine_sid.c:207 #11 0x00007f50d2c8d03d in pdb_set_user_sid_from_rid (sampass=0xd2f570, rid=3000, flag=PDB_SET) at passdb/pdb_compat.c:60 #12 0x00007f50d2c8258a in samu_set_unix_internal (user=0xd2f570, pwd=0xd2f9e0, create=false) at passdb/passdb.c:272 #13 0x00007f50d2c825dd in samu_set_unix (user=0xd2f570, pwd=0xd2f9e0) at passdb/passdb.c:285 #14 0x00007f50d2cae529 in build_sam_account (smbpasswd_state=0xd2e9b0, sam_pass=0xd2f570, pw_buf=0xd2e9c0) at passdb/pdb_smbpasswd.c:1255 #15 0x00007f50d2cae828 in smbpasswd_getsampwnam (my_methods=0xd2e790, sam_acct=0xd2f570, username=0xd28300 "Admin") at passdb/pdb_smbpasswd.c:1321 #16 0x00007f50d2c88694 in pdb_getsampwnam (sam_acct=0xd2f570, username=0xd28300 "Admin") at passdb/pdb_interface.c:321 #17 0x00007f50d2bd84ce in pam_sm_authenticate (pamh=0xd28180, flags=0, argc=1, argv=0xd28700) at pam_smbpass/pam_smb_auth.c:128 #18 0x00007f50d7588c42 in ?? () from /lib/libpam.so.0 #19 0x00007f50d7588523 in pam_authenticate () from /lib/libpam.so.0 #20 0x00007f50d4e50e1a in ?? () from /usr/lib/netatalk/uams_dhx2.so #21 0x00007f50d4e5116f in ?? () from /usr/lib/netatalk/uams_dhx2.so #22 0x0000000000417e8d in afp_logincont () #23 0x0000000000410e6c in afp_over_dsi () #24 0x000000000040e758 in ?? () #25 0x00000000004345fa in main () (gdb) disassemble find_nestlock Dump of assembler code for function find_nestlock: 0x00007f50d35d5d54 : push %rbp 0x00007f50d35d5d55 : mov %rsp,%rbp 0x00007f50d35d5d58 : mov %rdi,-0x18(%rbp) 0x00007f50d35d5d5c : mov %esi,-0x1c(%rbp) 0x00007f50d35d5d5f : movl $0x0,-0x4(%rbp) 0x00007f50d35d5d66 : jmp 0x7f50d35d5db0 0x00007f50d35d5d68 : mov -0x18(%rbp),%rax 0x00007f50d35d5d6c : mov 0x38(%rax),%rcx 0x00007f50d35d5d70 : mov -0x4(%rbp),%edx 0x00007f50d35d5d73 : mov %rdx,%rax 0x00007f50d35d5d76 : add %rax,%rax 0x00007f50d35d5d79 : add %rdx,%rax 0x00007f50d35d5d7c : shl $0x2,%rax 0x00007f50d35d5d80 : lea (%rcx,%rax,1),%rax 0x00007f50d35d5d84 : mov (%rax),%eax 0x00007f50d35d5d86 : cmp -0x1c(%rbp),%eax 0x00007f50d35d5d89 : jne 0x7f50d35d5dac 0x00007f50d35d5d8b : mov -0x18(%rbp),%rax 0x00007f50d35d5d8f : mov 0x38(%rax),%rcx 0x00007f50d35d5d93 : mov -0x4(%rbp),%edx 0x00007f50d35d5d96 : mov %rdx,%rax 0x00007f50d35d5d99 : add %rax,%rax 0x00007f50d35d5d9c : add %rdx,%rax 0x00007f50d35d5d9f : shl $0x2,%rax 0x00007f50d35d5da3 : add %rax,%rcx 0x00007f50d35d5da6 : mov %rcx,-0x28(%rbp) 0x00007f50d35d5daa : jmp 0x7f50d35d5dc4 0x00007f50d35d5dac : addl $0x1,-0x4(%rbp) 0x00007f50d35d5db0 : mov -0x18(%rbp),%rax 0x00007f50d35d5db4 : mov 0x30(%rax),%eax 0x00007f50d35d5db7 : cmp -0x4(%rbp),%eax 0x00007f50d35d5dba : ja 0x7f50d35d5d68 0x00007f50d35d5dbc : movq $0x0,-0x28(%rbp) 0x00007f50d35d5dc4 : mov -0x28(%rbp),%rax 0x00007f50d35d5dc8 : leaveq 0x00007f50d35d5dc9 : retq (gdb) disassemble tdb_have_extra_locks Dump of assembler code for function tdb_have_extra_locks: 0x00007f50d35d6f48 : push %rbp 0x00007f50d35d6f49 : mov %rsp,%rbp 0x00007f50d35d6f4c : sub $0x20,%rsp 0x00007f50d35d6f50 : mov %rdi,-0x18(%rbp) 0x00007f50d35d6f54 : mov -0x18(%rbp),%rax 0x00007f50d35d6f58 : mov 0x30(%rax),%eax 0x00007f50d35d6f5b : mov %eax,-0x4(%rbp) 0x00007f50d35d6f5e : mov -0x18(%rbp),%rax 0x00007f50d35d6f62 : mov 0x148(%rax),%rax 0x00007f50d35d6f69 : test %rax,%rax 0x00007f50d35d6f6c : jne 0x7f50d35d6f7f 0x00007f50d35d6f6e : mov -0x18(%rbp),%rax 0x00007f50d35d6f72 : mov 0x28(%rax),%eax 0x00007f50d35d6f75 : test %eax,%eax 0x00007f50d35d6f77 : je 0x7f50d35d6f7f 0x00007f50d35d6f79 : movb $0x1,-0x19(%rbp) 0x00007f50d35d6f7d : jmp 0x7f50d35d6fc5 0x00007f50d35d6f7f : mov -0x18(%rbp),%rdi 0x00007f50d35d6f83 : mov $0x4,%esi 0x00007f50d35d6f88 : callq 0x7f50d35d5d54 0x00007f50d35d6f8d : test %rax,%rax 0x00007f50d35d6f90 : je 0x7f50d35d6f96 0x00007f50d35d6f92 : subl $0x1,-0x4(%rbp) 0x00007f50d35d6f96 : mov -0x18(%rbp),%rax 0x00007f50d35d6f9a : mov 0x148(%rax),%rax 0x00007f50d35d6fa1 : test %rax,%rax 0x00007f50d35d6fa4 : je 0x7f50d35d6fbd 0x00007f50d35d6fa6 : mov -0x18(%rbp),%rdi 0x00007f50d35d6faa : mov $0x8,%esi 0x00007f50d35d6faf : callq 0x7f50d35d5d54 0x00007f50d35d6fb4 : test %rax,%rax 0x00007f50d35d6fb7 : je 0x7f50d35d6fbd 0x00007f50d35d6fb9 : subl $0x1,-0x4(%rbp) 0x00007f50d35d6fbd : cmpl $0x0,-0x4(%rbp) 0x00007f50d35d6fc1 : setne -0x19(%rbp) 0x00007f50d35d6fc5 : movzbl -0x19(%rbp),%eax 0x00007f50d35d6fc9 : leaveq 0x00007f50d35d6fca : retq End of assembler dump. (gdb) disassemble _tdb_transaction_start Dump of assembler code for function _tdb_transaction_start: 0x00007f50d35d113e <_tdb_transaction_start+0>: push %rbp 0x00007f50d35d113f <_tdb_transaction_start+1>: mov %rsp,%rbp 0x00007f50d35d1142 <_tdb_transaction_start+4>: push %rbx 0x00007f50d35d1143 <_tdb_transaction_start+5>: sub $0x18,%rsp 0x00007f50d35d1147 <_tdb_transaction_start+9>: mov %rdi,-0x10(%rbp) 0x00007f50d35d114b <_tdb_transaction_start+13>: mov %esi,-0x14(%rbp) 0x00007f50d35d114e <_tdb_transaction_start+16>: mov -0x10(%rbp),%rax 0x00007f50d35d1152 <_tdb_transaction_start+20>: mov 0x18(%rax),%eax 0x00007f50d35d1155 <_tdb_transaction_start+23>: test %eax,%eax 0x00007f50d35d1157 <_tdb_transaction_start+25>: jne 0x7f50d35d1175 <_tdb_transaction_start+55> 0x00007f50d35d1159 <_tdb_transaction_start+27>: mov -0x10(%rbp),%rax 0x00007f50d35d115d <_tdb_transaction_start+31>: mov 0xec(%rax),%eax 0x00007f50d35d1163 <_tdb_transaction_start+37>: and $0x2,%eax 0x00007f50d35d1166 <_tdb_transaction_start+40>: test %eax,%eax 0x00007f50d35d1168 <_tdb_transaction_start+42>: jne 0x7f50d35d1175 <_tdb_transaction_start+55> 0x00007f50d35d116a <_tdb_transaction_start+44>: mov -0x10(%rbp),%rax 0x00007f50d35d116e <_tdb_transaction_start+48>: mov 0x1c(%rax),%eax 0x00007f50d35d1171 <_tdb_transaction_start+51>: test %eax,%eax 0x00007f50d35d1173 <_tdb_transaction_start+53>: je 0x7f50d35d11ae <_tdb_transaction_start+112> 0x00007f50d35d1175 <_tdb_transaction_start+55>: mov -0x10(%rbp),%rax 0x00007f50d35d1179 <_tdb_transaction_start+59>: mov 0x120(%rax),%rcx 0x00007f50d35d1180 <_tdb_transaction_start+66>: mov -0x10(%rbp),%rdi 0x00007f50d35d1184 <_tdb_transaction_start+70>: lea 0x10a7d(%rip),%rdx # 0x7f50d35e1c08 <_fini+1648> 0x00007f50d35d118b <_tdb_transaction_start+77>: mov $0x1,%esi 0x00007f50d35d1190 <_tdb_transaction_start+82>: mov $0x0,%eax 0x00007f50d35d1195 <_tdb_transaction_start+87>: callq *%rcx 0x00007f50d35d1197 <_tdb_transaction_start+89>: mov -0x10(%rbp),%rax 0x00007f50d35d119b <_tdb_transaction_start+93>: movl $0x9,0x40(%rax) 0x00007f50d35d11a2 <_tdb_transaction_start+100>: movl $0xffffffff,-0x18(%rbp) 0x00007f50d35d11a9 <_tdb_transaction_start+107>: jmpq 0x7f50d35d1602 <_tdb_transaction_start+1220> 0x00007f50d35d11ae <_tdb_transaction_start+112>: mov -0x10(%rbp),%rax 0x00007f50d35d11b2 <_tdb_transaction_start+116>: mov 0x148(%rax),%rax 0x00007f50d35d11b9 <_tdb_transaction_start+123>: test %rax,%rax 0x00007f50d35d11bc <_tdb_transaction_start+126>: je 0x7f50d35d1239 <_tdb_transaction_start+251> 0x00007f50d35d11be <_tdb_transaction_start+128>: mov -0x10(%rbp),%rax 0x00007f50d35d11c2 <_tdb_transaction_start+132>: mov 0xec(%rax),%eax 0x00007f50d35d11c8 <_tdb_transaction_start+138>: and $0x200,%eax 0x00007f50d35d11cd <_tdb_transaction_start+143>: test %eax,%eax 0x00007f50d35d11cf <_tdb_transaction_start+145>: jne 0x7f50d35d11e8 <_tdb_transaction_start+170> 0x00007f50d35d11d1 <_tdb_transaction_start+147>: mov -0x10(%rbp),%rax 0x00007f50d35d11d5 <_tdb_transaction_start+151>: movl $0xb,0x40(%rax) 0x00007f50d35d11dc <_tdb_transaction_start+158>: movl $0xffffffff,-0x18(%rbp) 0x00007f50d35d11e3 <_tdb_transaction_start+165>: jmpq 0x7f50d35d1602 <_tdb_transaction_start+1220> 0x00007f50d35d11e8 <_tdb_transaction_start+170>: mov -0x10(%rbp),%rax 0x00007f50d35d11ec <_tdb_transaction_start+174>: mov 0x148(%rax),%rdx 0x00007f50d35d11f3 <_tdb_transaction_start+181>: mov 0x28(%rdx),%eax 0x00007f50d35d11f6 <_tdb_transaction_start+184>: add $0x1,%eax 0x00007f50d35d11f9 <_tdb_transaction_start+187>: mov %eax,0x28(%rdx) 0x00007f50d35d11fc <_tdb_transaction_start+190>: mov -0x10(%rbp),%rax ---Type to continue, or q to quit--- 0x00007f50d35d1200 <_tdb_transaction_start+194>: mov 0x120(%rax),%r8 0x00007f50d35d1207 <_tdb_transaction_start+201>: mov -0x10(%rbp),%rax 0x00007f50d35d120b <_tdb_transaction_start+205>: mov 0x148(%rax),%rax 0x00007f50d35d1212 <_tdb_transaction_start+212>: mov 0x28(%rax),%ecx 0x00007f50d35d1215 <_tdb_transaction_start+215>: mov -0x10(%rbp),%rdi 0x00007f50d35d1219 <_tdb_transaction_start+219>: lea 0x10a40(%rip),%rdx # 0x7f50d35e1c60 <_fini+1736> 0x00007f50d35d1220 <_tdb_transaction_start+226>: mov $0x3,%esi 0x00007f50d35d1225 <_tdb_transaction_start+231>: mov $0x0,%eax 0x00007f50d35d122a <_tdb_transaction_start+236>: callq *%r8 0x00007f50d35d122d <_tdb_transaction_start+239>: movl $0x0,-0x18(%rbp) 0x00007f50d35d1234 <_tdb_transaction_start+246>: jmpq 0x7f50d35d1602 <_tdb_transaction_start+1220> 0x00007f50d35d1239 <_tdb_transaction_start+251>: mov -0x10(%rbp),%rdi 0x00007f50d35d123d <_tdb_transaction_start+255>: callq 0x7f50d35d6f48 0x00007f50d35d1242 <_tdb_transaction_start+260>: test %al,%al 0x00007f50d35d1244 <_tdb_transaction_start+262>: je 0x7f50d35d127f <_tdb_transaction_start+321> 0x00007f50d35d1246 <_tdb_transaction_start+264>: mov -0x10(%rbp),%rax 0x00007f50d35d124a <_tdb_transaction_start+268>: mov 0x120(%rax),%rcx 0x00007f50d35d1251 <_tdb_transaction_start+275>: mov -0x10(%rbp),%rdi 0x00007f50d35d1255 <_tdb_transaction_start+279>: lea 0x10a2c(%rip),%rdx # 0x7f50d35e1c88 <_fini+1776> 0x00007f50d35d125c <_tdb_transaction_start+286>: mov $0x1,%esi 0x00007f50d35d1261 <_tdb_transaction_start+291>: mov $0x0,%eax 0x00007f50d35d1266 <_tdb_transaction_start+296>: callq *%rcx 0x00007f50d35d1268 <_tdb_transaction_start+298>: mov -0x10(%rbp),%rax 0x00007f50d35d126c <_tdb_transaction_start+302>: movl $0x3,0x40(%rax) 0x00007f50d35d1273 <_tdb_transaction_start+309>: movl $0xffffffff,-0x18(%rbp) 0x00007f50d35d127a <_tdb_transaction_start+316>: jmpq 0x7f50d35d1602 <_tdb_transaction_start+1220> 0x00007f50d35d127f <_tdb_transaction_start+321>: mov -0x10(%rbp),%rax 0x00007f50d35d1283 <_tdb_transaction_start+325>: mov 0xf0(%rax),%rax 0x00007f50d35d128a <_tdb_transaction_start+332>: test %rax,%rax 0x00007f50d35d128d <_tdb_transaction_start+335>: je 0x7f50d35d12c8 <_tdb_transaction_start+394> 0x00007f50d35d128f <_tdb_transaction_start+337>: mov -0x10(%rbp),%rax 0x00007f50d35d1293 <_tdb_transaction_start+341>: mov 0x120(%rax),%rcx 0x00007f50d35d129a <_tdb_transaction_start+348>: mov -0x10(%rbp),%rdi 0x00007f50d35d129e <_tdb_transaction_start+352>: lea 0x10a2b(%rip),%rdx # 0x7f50d35e1cd0 <_fini+1848> 0x00007f50d35d12a5 <_tdb_transaction_start+359>: mov $0x1,%esi 0x00007f50d35d12aa <_tdb_transaction_start+364>: mov $0x0,%eax 0x00007f50d35d12af <_tdb_transaction_start+369>: callq *%rcx 0x00007f50d35d12b1 <_tdb_transaction_start+371>: mov -0x10(%rbp),%rax 0x00007f50d35d12b5 <_tdb_transaction_start+375>: movl $0x3,0x40(%rax) 0x00007f50d35d12bc <_tdb_transaction_start+382>: movl $0xffffffff,-0x18(%rbp) 0x00007f50d35d12c3 <_tdb_transaction_start+389>: jmpq 0x7f50d35d1602 <_tdb_transaction_start+1220> 0x00007f50d35d12c8 <_tdb_transaction_start+394>: mov $0x1,%esi 0x00007f50d35d12cd <_tdb_transaction_start+399>: mov $0x40,%edi 0x00007f50d35d12d2 <_tdb_transaction_start+404>: callq 0x7f50d35ce310 0x00007f50d35d12d7 <_tdb_transaction_start+409>: mov %rax,%rdx 0x00007f50d35d12da <_tdb_transaction_start+412>: mov -0x10(%rbp),%rax 0x00007f50d35d12de <_tdb_transaction_start+416>: mov %rdx,0x148(%rax) 0x00007f50d35d12e5 <_tdb_transaction_start+423>: mov -0x10(%rbp),%rax 0x00007f50d35d12e9 <_tdb_transaction_start+427>: mov 0x148(%rax),%rax 0x00007f50d35d12f0 <_tdb_transaction_start+434>: test %rax,%rax ---Type to continue, or q to quit--- 0x00007f50d35d12f3 <_tdb_transaction_start+437>: jne 0x7f50d35d130c <_tdb_transaction_start+462> 0x00007f50d35d12f5 <_tdb_transaction_start+439>: mov -0x10(%rbp),%rax 0x00007f50d35d12f9 <_tdb_transaction_start+443>: movl $0x4,0x40(%rax) 0x00007f50d35d1300 <_tdb_transaction_start+450>: movl $0xffffffff,-0x18(%rbp) 0x00007f50d35d1307 <_tdb_transaction_start+457>: jmpq 0x7f50d35d1602 <_tdb_transaction_start+1220> 0x00007f50d35d130c <_tdb_transaction_start+462>: mov -0x10(%rbp),%rax 0x00007f50d35d1310 <_tdb_transaction_start+466>: mov 0x148(%rax),%rdx 0x00007f50d35d1317 <_tdb_transaction_start+473>: mov -0x10(%rbp),%rax 0x00007f50d35d131b <_tdb_transaction_start+477>: mov 0x150(%rax),%eax 0x00007f50d35d1321 <_tdb_transaction_start+483>: mov %eax,0x1c(%rdx) 0x00007f50d35d1324 <_tdb_transaction_start+486>: mov -0x14(%rbp),%edx 0x00007f50d35d1327 <_tdb_transaction_start+489>: mov -0x10(%rbp),%rdi 0x00007f50d35d132b <_tdb_transaction_start+493>: mov $0x1,%esi 0x00007f50d35d1330 <_tdb_transaction_start+498>: callq 0x7f50d35d64b2 0x00007f50d35d1335 <_tdb_transaction_start+503>: cmp $0xffffffffffffffff,%eax 0x00007f50d35d1338 <_tdb_transaction_start+506>: jne 0x7f50d35d13c9 <_tdb_transaction_start+651> 0x00007f50d35d133e <_tdb_transaction_start+512>: mov -0x10(%rbp),%rax 0x00007f50d35d1342 <_tdb_transaction_start+516>: mov 0x148(%rax),%rax 0x00007f50d35d1349 <_tdb_transaction_start+523>: mov 0x10(%rax),%rax 0x00007f50d35d134d <_tdb_transaction_start+527>: test %rax,%rax 0x00007f50d35d1350 <_tdb_transaction_start+530>: je 0x7f50d35d1379 <_tdb_transaction_start+571> 0x00007f50d35d1352 <_tdb_transaction_start+532>: mov -0x10(%rbp),%rax 0x00007f50d35d1356 <_tdb_transaction_start+536>: mov 0x148(%rax),%rax 0x00007f50d35d135d <_tdb_transaction_start+543>: mov 0x10(%rax),%rdi 0x00007f50d35d1361 <_tdb_transaction_start+547>: callq 0x7f50d35ce100 0x00007f50d35d1366 <_tdb_transaction_start+552>: mov -0x10(%rbp),%rax 0x00007f50d35d136a <_tdb_transaction_start+556>: mov 0x148(%rax),%rax 0x00007f50d35d1371 <_tdb_transaction_start+563>: movq $0x0,0x10(%rax) 0x00007f50d35d1379 <_tdb_transaction_start+571>: mov -0x10(%rbp),%rax 0x00007f50d35d137d <_tdb_transaction_start+575>: mov 0x148(%rax),%rax 0x00007f50d35d1384 <_tdb_transaction_start+582>: test %rax,%rax 0x00007f50d35d1387 <_tdb_transaction_start+585>: je 0x7f50d35d13a8 <_tdb_transaction_start+618> 0x00007f50d35d1389 <_tdb_transaction_start+587>: mov -0x10(%rbp),%rax 0x00007f50d35d138d <_tdb_transaction_start+591>: mov 0x148(%rax),%rdi 0x00007f50d35d1394 <_tdb_transaction_start+598>: callq 0x7f50d35ce100 0x00007f50d35d1399 <_tdb_transaction_start+603>: mov -0x10(%rbp),%rax 0x00007f50d35d139d <_tdb_transaction_start+607>: movq $0x0,0x148(%rax) 0x00007f50d35d13a8 <_tdb_transaction_start+618>: mov -0x14(%rbp),%eax 0x00007f50d35d13ab <_tdb_transaction_start+621>: and $0x1,%eax 0x00007f50d35d13ae <_tdb_transaction_start+624>: test %eax,%eax 0x00007f50d35d13b0 <_tdb_transaction_start+626>: jne 0x7f50d35d13bd <_tdb_transaction_start+639> 0x00007f50d35d13b2 <_tdb_transaction_start+628>: mov -0x10(%rbp),%rax 0x00007f50d35d13b6 <_tdb_transaction_start+632>: movl $0x6,0x40(%rax) 0x00007f50d35d13bd <_tdb_transaction_start+639>: movl $0xffffffff,-0x18(%rbp) 0x00007f50d35d13c4 <_tdb_transaction_start+646>: jmpq 0x7f50d35d1602 <_tdb_transaction_start+1220> 0x00007f50d35d13c9 <_tdb_transaction_start+651>: mov -0x10(%rbp),%rdi 0x00007f50d35d13cd <_tdb_transaction_start+655>: mov $0x1,%ecx 0x00007f50d35d13d2 <_tdb_transaction_start+660>: mov $0x1,%edx 0x00007f50d35d13d7 <_tdb_transaction_start+665>: mov $0x0,%esi 0x00007f50d35d13dc <_tdb_transaction_start+670>: callq 0x7f50d35d66fb ---Type to continue, or q to quit--- 0x00007f50d35d13e1 <_tdb_transaction_start+675>: cmp $0xffffffffffffffff,%eax 0x00007f50d35d13e4 <_tdb_transaction_start+678>: jne 0x7f50d35d140d <_tdb_transaction_start+719> 0x00007f50d35d13e6 <_tdb_transaction_start+680>: mov -0x10(%rbp),%rax 0x00007f50d35d13ea <_tdb_transaction_start+684>: mov 0x120(%rax),%rcx 0x00007f50d35d13f1 <_tdb_transaction_start+691>: mov -0x10(%rbp),%rdi 0x00007f50d35d13f5 <_tdb_transaction_start+695>: lea 0x1091c(%rip),%rdx # 0x7f50d35e1d18 <_fini+1920> 0x00007f50d35d13fc <_tdb_transaction_start+702>: mov $0x1,%esi 0x00007f50d35d1401 <_tdb_transaction_start+707>: mov $0x0,%eax 0x00007f50d35d1406 <_tdb_transaction_start+712>: callq *%rcx 0x00007f50d35d1408 <_tdb_transaction_start+714>: jmpq 0x7f50d35d154b <_tdb_transaction_start+1037> 0x00007f50d35d140d <_tdb_transaction_start+719>: mov -0x10(%rbp),%rax 0x00007f50d35d1411 <_tdb_transaction_start+723>: mov 0x148(%rax),%rbx 0x00007f50d35d1418 <_tdb_transaction_start+730>: mov -0x10(%rbp),%rax 0x00007f50d35d141c <_tdb_transaction_start+734>: mov 0x68(%rax),%eax 0x00007f50d35d141f <_tdb_transaction_start+737>: add $0x1,%eax 0x00007f50d35d1422 <_tdb_transaction_start+740>: mov %eax,%edi 0x00007f50d35d1424 <_tdb_transaction_start+742>: mov $0x4,%esi 0x00007f50d35d1429 <_tdb_transaction_start+747>: callq 0x7f50d35ce310 0x00007f50d35d142e <_tdb_transaction_start+752>: mov %rax,(%rbx) 0x00007f50d35d1431 <_tdb_transaction_start+755>: mov -0x10(%rbp),%rax 0x00007f50d35d1435 <_tdb_transaction_start+759>: mov 0x148(%rax),%rax 0x00007f50d35d143c <_tdb_transaction_start+766>: mov (%rax),%rax 0x00007f50d35d143f <_tdb_transaction_start+769>: test %rax,%rax 0x00007f50d35d1442 <_tdb_transaction_start+772>: jne 0x7f50d35d1454 <_tdb_transaction_start+790> 0x00007f50d35d1444 <_tdb_transaction_start+774>: mov -0x10(%rbp),%rax 0x00007f50d35d1448 <_tdb_transaction_start+778>: movl $0x4,0x40(%rax) 0x00007f50d35d144f <_tdb_transaction_start+785>: jmpq 0x7f50d35d1538 <_tdb_transaction_start+1018> 0x00007f50d35d1454 <_tdb_transaction_start+790>: mov -0x10(%rbp),%rax 0x00007f50d35d1458 <_tdb_transaction_start+794>: mov 0x140(%rax),%rax 0x00007f50d35d145f <_tdb_transaction_start+801>: mov (%rax),%r9 0x00007f50d35d1462 <_tdb_transaction_start+804>: mov -0x10(%rbp),%rax 0x00007f50d35d1466 <_tdb_transaction_start+808>: mov 0x68(%rax),%eax 0x00007f50d35d1469 <_tdb_transaction_start+811>: add $0x1,%eax 0x00007f50d35d146c <_tdb_transaction_start+814>: mov %eax,%eax 0x00007f50d35d146e <_tdb_transaction_start+816>: shl $0x2,%rax 0x00007f50d35d1472 <_tdb_transaction_start+820>: mov %eax,%ecx 0x00007f50d35d1474 <_tdb_transaction_start+822>: mov -0x10(%rbp),%rax 0x00007f50d35d1478 <_tdb_transaction_start+826>: mov 0x148(%rax),%rax 0x00007f50d35d147f <_tdb_transaction_start+833>: mov (%rax),%rdx 0x00007f50d35d1482 <_tdb_transaction_start+836>: mov -0x10(%rbp),%rdi 0x00007f50d35d1486 <_tdb_transaction_start+840>: mov $0x0,%r8d 0x00007f50d35d148c <_tdb_transaction_start+846>: mov $0xa8,%esi 0x00007f50d35d1491 <_tdb_transaction_start+851>: callq *%r9 0x00007f50d35d1494 <_tdb_transaction_start+854>: test %eax,%eax 0x00007f50d35d1496 <_tdb_transaction_start+856>: je 0x7f50d35d14c7 <_tdb_transaction_start+905> 0x00007f50d35d1498 <_tdb_transaction_start+858>: mov -0x10(%rbp),%rax 0x00007f50d35d149c <_tdb_transaction_start+862>: mov 0x120(%rax),%rcx 0x00007f50d35d14a3 <_tdb_transaction_start+869>: mov -0x10(%rbp),%rdi 0x00007f50d35d14a7 <_tdb_transaction_start+873>: lea 0x108a2(%rip),%rdx # 0x7f50d35e1d50 <_fini+1976> 0x00007f50d35d14ae <_tdb_transaction_start+880>: mov $0x0,%esi ---Type to continue, or q to quit--- 0x00007f50d35d14b3 <_tdb_transaction_start+885>: mov $0x0,%eax 0x00007f50d35d14b8 <_tdb_transaction_start+890>: callq *%rcx 0x00007f50d35d14ba <_tdb_transaction_start+892>: mov -0x10(%rbp),%rax 0x00007f50d35d14be <_tdb_transaction_start+896>: movl $0x2,0x40(%rax) 0x00007f50d35d14c5 <_tdb_transaction_start+903>: jmp 0x7f50d35d1538 <_tdb_transaction_start+1018> 0x00007f50d35d14c7 <_tdb_transaction_start+905>: mov -0x10(%rbp),%rax 0x00007f50d35d14cb <_tdb_transaction_start+909>: mov 0x140(%rax),%rax 0x00007f50d35d14d2 <_tdb_transaction_start+916>: mov 0x18(%rax),%rcx 0x00007f50d35d14d6 <_tdb_transaction_start+920>: mov -0x10(%rbp),%rax 0x00007f50d35d14da <_tdb_transaction_start+924>: mov 0x14(%rax),%eax 0x00007f50d35d14dd <_tdb_transaction_start+927>: lea 0x1(%rax),%esi 0x00007f50d35d14e0 <_tdb_transaction_start+930>: mov -0x10(%rbp),%rdi 0x00007f50d35d14e4 <_tdb_transaction_start+934>: mov $0x1,%edx 0x00007f50d35d14e9 <_tdb_transaction_start+939>: callq *%rcx 0x00007f50d35d14eb <_tdb_transaction_start+941>: mov -0x10(%rbp),%rax 0x00007f50d35d14ef <_tdb_transaction_start+945>: mov 0x148(%rax),%rdx 0x00007f50d35d14f6 <_tdb_transaction_start+952>: mov -0x10(%rbp),%rax 0x00007f50d35d14fa <_tdb_transaction_start+956>: mov 0x14(%rax),%eax 0x00007f50d35d14fd <_tdb_transaction_start+959>: mov %eax,0x34(%rdx) 0x00007f50d35d1500 <_tdb_transaction_start+962>: mov -0x10(%rbp),%rax 0x00007f50d35d1504 <_tdb_transaction_start+966>: mov 0x148(%rax),%rdx 0x00007f50d35d150b <_tdb_transaction_start+973>: mov -0x10(%rbp),%rax 0x00007f50d35d150f <_tdb_transaction_start+977>: mov 0x140(%rax),%rax 0x00007f50d35d1516 <_tdb_transaction_start+984>: mov %rax,0x8(%rdx) 0x00007f50d35d151a <_tdb_transaction_start+988>: mov -0x10(%rbp),%rdx 0x00007f50d35d151e <_tdb_transaction_start+992>: lea 0x21585b(%rip),%rax # 0x7f50d37e6d80 0x00007f50d35d1525 <_tdb_transaction_start+999>: mov %rax,0x140(%rdx) 0x00007f50d35d152c <_tdb_transaction_start+1006>: movl $0x0,-0x18(%rbp) 0x00007f50d35d1533 <_tdb_transaction_start+1013>: jmpq 0x7f50d35d1602 <_tdb_transaction_start+1220> 0x00007f50d35d1538 <_tdb_transaction_start+1018>: mov -0x10(%rbp),%rdi 0x00007f50d35d153c <_tdb_transaction_start+1022>: mov $0x0,%edx 0x00007f50d35d1541 <_tdb_transaction_start+1027>: mov $0x0,%esi 0x00007f50d35d1546 <_tdb_transaction_start+1032>: callq 0x7f50d35d68b0 0x00007f50d35d154b <_tdb_transaction_start+1037>: mov -0x10(%rbp),%rdi 0x00007f50d35d154f <_tdb_transaction_start+1041>: mov $0x1,%esi 0x00007f50d35d1554 <_tdb_transaction_start+1046>: callq 0x7f50d35d64da 0x00007f50d35d1559 <_tdb_transaction_start+1051>: mov -0x10(%rbp),%rax 0x00007f50d35d155d <_tdb_transaction_start+1055>: mov 0x148(%rax),%rax 0x00007f50d35d1564 <_tdb_transaction_start+1062>: mov 0x10(%rax),%rax 0x00007f50d35d1568 <_tdb_transaction_start+1066>: test %rax,%rax 0x00007f50d35d156b <_tdb_transaction_start+1069>: je 0x7f50d35d1594 <_tdb_transaction_start+1110> 0x00007f50d35d156d <_tdb_transaction_start+1071>: mov -0x10(%rbp),%rax 0x00007f50d35d1571 <_tdb_transaction_start+1075>: mov 0x148(%rax),%rax 0x00007f50d35d1578 <_tdb_transaction_start+1082>: mov 0x10(%rax),%rdi 0x00007f50d35d157c <_tdb_transaction_start+1086>: callq 0x7f50d35ce100 0x00007f50d35d1581 <_tdb_transaction_start+1091>: mov -0x10(%rbp),%rax 0x00007f50d35d1585 <_tdb_transaction_start+1095>: mov 0x148(%rax),%rax 0x00007f50d35d158c <_tdb_transaction_start+1102>: movq $0x0,0x10(%rax) 0x00007f50d35d1594 <_tdb_transaction_start+1110>: mov -0x10(%rbp),%rax 0x00007f50d35d1598 <_tdb_transaction_start+1114>: mov 0x148(%rax),%rax ---Type to continue, or q to quit--- 0x00007f50d35d159f <_tdb_transaction_start+1121>: mov (%rax),%rax 0x00007f50d35d15a2 <_tdb_transaction_start+1124>: test %rax,%rax 0x00007f50d35d15a5 <_tdb_transaction_start+1127>: je 0x7f50d35d15cc <_tdb_transaction_start+1166> 0x00007f50d35d15a7 <_tdb_transaction_start+1129>: mov -0x10(%rbp),%rax 0x00007f50d35d15ab <_tdb_transaction_start+1133>: mov 0x148(%rax),%rax 0x00007f50d35d15b2 <_tdb_transaction_start+1140>: mov (%rax),%rdi 0x00007f50d35d15b5 <_tdb_transaction_start+1143>: callq 0x7f50d35ce100 0x00007f50d35d15ba <_tdb_transaction_start+1148>: mov -0x10(%rbp),%rax 0x00007f50d35d15be <_tdb_transaction_start+1152>: mov 0x148(%rax),%rax 0x00007f50d35d15c5 <_tdb_transaction_start+1159>: movq $0x0,(%rax) 0x00007f50d35d15cc <_tdb_transaction_start+1166>: mov -0x10(%rbp),%rax 0x00007f50d35d15d0 <_tdb_transaction_start+1170>: mov 0x148(%rax),%rax 0x00007f50d35d15d7 <_tdb_transaction_start+1177>: test %rax,%rax 0x00007f50d35d15da <_tdb_transaction_start+1180>: je 0x7f50d35d15fb <_tdb_transaction_start+1213> 0x00007f50d35d15dc <_tdb_transaction_start+1182>: mov -0x10(%rbp),%rax 0x00007f50d35d15e0 <_tdb_transaction_start+1186>: mov 0x148(%rax),%rdi 0x00007f50d35d15e7 <_tdb_transaction_start+1193>: callq 0x7f50d35ce100 0x00007f50d35d15ec <_tdb_transaction_start+1198>: mov -0x10(%rbp),%rax 0x00007f50d35d15f0 <_tdb_transaction_start+1202>: movq $0x0,0x148(%rax) 0x00007f50d35d15fb <_tdb_transaction_start+1213>: movl $0xffffffff,-0x18(%rbp) 0x00007f50d35d1602 <_tdb_transaction_start+1220>: mov -0x18(%rbp),%eax 0x00007f50d35d1605 <_tdb_transaction_start+1223>: add $0x18,%rsp 0x00007f50d35d1609 <_tdb_transaction_start+1227>: pop %rbx 0x00007f50d35d160a <_tdb_transaction_start+1228>: leaveq 0x00007f50d35d160b <_tdb_transaction_start+1229>: retq End of assembler dump. (gdb) disassemble tdb_transaction_start Dump of assembler code for function tdb_transaction_start: 0x00007f50d35d160c : push %rbp 0x00007f50d35d160d : mov %rsp,%rbp 0x00007f50d35d1610 : sub $0x10,%rsp 0x00007f50d35d1614 : mov %rdi,-0x8(%rbp) 0x00007f50d35d1618 : mov -0x8(%rbp),%rdi 0x00007f50d35d161c : mov $0x1,%esi 0x00007f50d35d1621 : callq 0x7f50d35d113e <_tdb_transaction_start> 0x00007f50d35d1626 : leaveq 0x00007f50d35d1627 : retq End of assembler dump. (gdb) disassemble db_tdb_transaction_start Dump of assembler code for function db_tdb_transaction_start: 0x00007f50d2c22138 : push %rbp 0x00007f50d2c22139 : mov %rsp,%rbp 0x00007f50d2c2213c : sub $0x20,%rsp 0x00007f50d2c22140 : mov %rdi,-0x18(%rbp) 0x00007f50d2c22144 : mov -0x18(%rbp),%rax 0x00007f50d2c22148 : mov 0x50(%rax),%rdi 0x00007f50d2c2214c : lea 0xd5d10(%rip),%rdx # 0x7f50d2cf7e63 0x00007f50d2c22153 : lea 0xd5ace(%rip),%rsi # 0x7f50d2cf7c28 0x00007f50d2c2215a : callq 0x7f50d2bd8148 <_talloc_get_type_abort@plt> 0x00007f50d2c2215f : mov %rax,-0x8(%rbp) 0x00007f50d2c22163 : mov -0x8(%rbp),%rax 0x00007f50d2c22167 : mov (%rax),%rax 0x00007f50d2c2216a : mov (%rax),%rdi 0x00007f50d2c2216d : callq 0x7f50d2bd7658 0x00007f50d2c22172 : leaveq 0x00007f50d2c22173 : retq End of assembler dump. (gdb) disassemble get_global_sam_sid Dump of assembler code for function get_global_sam_sid: 0x00007f50d2cddc67 : push %rbp 0x00007f50d2cddc68 : mov %rsp,%rbp 0x00007f50d2cddc6b : sub $0x20,%rsp 0x00007f50d2cddc6f : mov 0x2ddffa(%rip),%rax # 0x7f50d2fbbc70 0x00007f50d2cddc76 : test %rax,%rax 0x00007f50d2cddc79 : je 0x7f50d2cddc8b 0x00007f50d2cddc7b : mov 0x2ddfee(%rip),%rax # 0x7f50d2fbbc70 0x00007f50d2cddc82 : mov %rax,-0x18(%rbp) 0x00007f50d2cddc86 : jmpq 0x7f50d2cddd20 0x00007f50d2cddc8b : callq 0x7f50d2cdae96 0x00007f50d2cddc90 : mov %rax,-0x8(%rbp) 0x00007f50d2cddc94 : cmpq $0x0,-0x8(%rbp) 0x00007f50d2cddc99 : jne 0x7f50d2cddca7 0x00007f50d2cddc9b : lea 0x8ec7b(%rip),%rdi # 0x7f50d2d6c91d 0x00007f50d2cddca2 : callq 0x7f50d2c3bf7a 0x00007f50d2cddca7 : mov -0x8(%rbp),%rax 0x00007f50d2cddcab : mov 0x30(%rax),%rax 0x00007f50d2cddcaf : mov -0x8(%rbp),%rdi 0x00007f50d2cddcb3 : callq *%rax 0x00007f50d2cddcb5 : test %eax,%eax 0x00007f50d2cddcb7 : je 0x7f50d2cddcc5 0x00007f50d2cddcb9 : lea 0x8ec78(%rip),%rdi # 0x7f50d2d6c938 0x00007f50d2cddcc0 : callq 0x7f50d2c3bf7a 0x00007f50d2cddcc5 : callq 0x7f50d2cdd65d 0x00007f50d2cddcca : mov %rax,0x2ddf9f(%rip) # 0x7f50d2fbbc70 0x00007f50d2cddcd1 : mov 0x2ddf98(%rip),%rax # 0x7f50d2fbbc70 0x00007f50d2cddcd8 : test %rax,%rax 0x00007f50d2cddcdb : jne 0x7f50d2cddcf7 0x00007f50d2cddcdd : mov -0x8(%rbp),%rax 0x00007f50d2cddce1 : mov 0x40(%rax),%rax 0x00007f50d2cddce5 : mov -0x8(%rbp),%rdi 0x00007f50d2cddce9 : callq *%rax 0x00007f50d2cddceb : lea 0x8ec76(%rip),%rdi # 0x7f50d2d6c968 0x00007f50d2cddcf2 : callq 0x7f50d2c3bf7a 0x00007f50d2cddcf7 : mov -0x8(%rbp),%rax 0x00007f50d2cddcfb : mov 0x38(%rax),%rax 0x00007f50d2cddcff : mov -0x8(%rbp),%rdi 0x00007f50d2cddd03 : callq *%rax 0x00007f50d2cddd05 : test %eax,%eax 0x00007f50d2cddd07 : je 0x7f50d2cddd15 0x00007f50d2cddd09 : lea 0x8ec80(%rip),%rdi # 0x7f50d2d6c990 0x00007f50d2cddd10 : callq 0x7f50d2c3bf7a 0x00007f50d2cddd15 : mov 0x2ddf54(%rip),%rax # 0x7f50d2fbbc70 0x00007f50d2cddd1c : mov %rax,-0x18(%rbp) 0x00007f50d2cddd20 : mov -0x18(%rbp),%rax 0x00007f50d2cddd24 : leaveq 0x00007f50d2cddd25 : retq End of assembler dump. (gdb) disassemble pdb_set_user_sid_from_rid Dump of assembler code for function pdb_set_user_sid_from_rid: 0x00007f50d2c8d016 : push %rbp 0x00007f50d2c8d017 : mov %rsp,%rbp 0x00007f50d2c8d01a : sub $0x70,%rsp 0x00007f50d2c8d01e : mov %rdi,-0x58(%rbp) 0x00007f50d2c8d022 : mov %esi,-0x5c(%rbp) 0x00007f50d2c8d025 : mov %edx,-0x60(%rbp) 0x00007f50d2c8d028 : cmpq $0x0,-0x58(%rbp) 0x00007f50d2c8d02d : jne 0x7f50d2c8d038 0x00007f50d2c8d02f : movb $0x0,-0x61(%rbp) 0x00007f50d2c8d033 : jmpq 0x7f50d2c8d150 0x00007f50d2c8d038 : callq 0x7f50d2cddc67 0x00007f50d2c8d03d : mov %rax,-0x8(%rbp) 0x00007f50d2c8d041 : cmpq $0x0,-0x8(%rbp) 0x00007f50d2c8d046 : jne 0x7f50d2c8d0a8 0x00007f50d2c8d048 : mov 0x325c81(%rip),%rax # 0x7f50d2fb2cd0 0x00007f50d2c8d04f : mov (%rax),%rax 0x00007f50d2c8d052 : add $0x20,%rax 0x00007f50d2c8d056 : mov (%rax),%eax 0x00007f50d2c8d058 : test %eax,%eax 0x00007f50d2c8d05a : setg %al 0x00007f50d2c8d05d : movzbl %al,%eax 0x00007f50d2c8d060 : test %rax,%rax 0x00007f50d2c8d063 : je 0x7f50d2c8d09f 0x00007f50d2c8d065 : lea 0x7fb44(%rip),%rcx # 0x7f50d2d0cbb0 <__FUNCTION__.18043> 0x00007f50d2c8d06c : lea 0x7fb57(%rip),%rdx # 0x7f50d2d0cbca 0x00007f50d2c8d073 : mov $0x8,%esi 0x00007f50d2c8d078 : mov $0x1,%edi 0x00007f50d2c8d07d : callq 0x7f50d2c29061 0x00007f50d2c8d082 : xor $0x1,%eax 0x00007f50d2c8d085 : test %al,%al 0x00007f50d2c8d087 : jne 0x7f50d2c8d09f 0x00007f50d2c8d089 : lea 0x7fb58(%rip),%rdi # 0x7f50d2d0cbe8 0x00007f50d2c8d090 : mov $0x0,%eax 0x00007f50d2c8d095 : callq 0x7f50d2c292d5 0x00007f50d2c8d09a : xor $0x1,%eax 0x00007f50d2c8d09d : test %al,%al 0x00007f50d2c8d09f : movb $0x0,-0x61(%rbp) 0x00007f50d2c8d0a3 : jmpq 0x7f50d2c8d150 0x00007f50d2c8d0a8 : mov -0x5c(%rbp),%edx 0x00007f50d2c8d0ab : mov -0x8(%rbp),%rsi 0x00007f50d2c8d0af : lea -0x50(%rbp),%rdi 0x00007f50d2c8d0b3 : callq 0x7f50d2c7ebd3 0x00007f50d2c8d0b8 : xor $0x1,%eax 0x00007f50d2c8d0bb : test %al,%al 0x00007f50d2c8d0bd : je 0x7f50d2c8d0c8 0x00007f50d2c8d0bf : movb $0x0,-0x61(%rbp) 0x00007f50d2c8d0c3 : jmpq 0x7f50d2c8d150 0x00007f50d2c8d0c8 : mov -0x60(%rbp),%edx 0x00007f50d2c8d0cb : lea -0x50(%rbp),%rsi ---Type to continue, or q to quit--- 0x00007f50d2c8d0cf : mov -0x58(%rbp),%rdi 0x00007f50d2c8d0d3 : callq 0x7f50d2c8024c 0x00007f50d2c8d0d8 : xor $0x1,%eax 0x00007f50d2c8d0db : test %al,%al 0x00007f50d2c8d0dd : je 0x7f50d2c8d0e5 0x00007f50d2c8d0df : movb $0x0,-0x61(%rbp) 0x00007f50d2c8d0e3 : jmp 0x7f50d2c8d150 0x00007f50d2c8d0e5 : mov 0x325be4(%rip),%rax # 0x7f50d2fb2cd0 0x00007f50d2c8d0ec : mov (%rax),%rax 0x00007f50d2c8d0ef : add $0x20,%rax 0x00007f50d2c8d0f3 : mov (%rax),%eax 0x00007f50d2c8d0f5 : cmp $0x9,%eax 0x00007f50d2c8d0f8 : setg %al 0x00007f50d2c8d0fb : movzbl %al,%eax 0x00007f50d2c8d0fe : test %rax,%rax 0x00007f50d2c8d101 : je 0x7f50d2c8d14c 0x00007f50d2c8d103 : lea 0x7faa6(%rip),%rcx # 0x7f50d2d0cbb0 <__FUNCTION__.18043> 0x00007f50d2c8d10a : lea 0x7fb12(%rip),%rdx # 0x7f50d2d0cc23 0x00007f50d2c8d111 : mov $0x8,%esi 0x00007f50d2c8d116 : mov $0xa,%edi 0x00007f50d2c8d11b : callq 0x7f50d2c29061 0x00007f50d2c8d120 : xor $0x1,%eax 0x00007f50d2c8d123 : test %al,%al 0x00007f50d2c8d125 : jne 0x7f50d2c8d14c 0x00007f50d2c8d127 : lea -0x50(%rbp),%rdi 0x00007f50d2c8d12b : callq 0x7f50d2c37411 0x00007f50d2c8d130 : mov %rax,%rsi 0x00007f50d2c8d133 : mov -0x5c(%rbp),%edx 0x00007f50d2c8d136 : lea 0x7fb03(%rip),%rdi # 0x7f50d2d0cc40 0x00007f50d2c8d13d : mov $0x0,%eax 0x00007f50d2c8d142 : callq 0x7f50d2c292d5 0x00007f50d2c8d147 : xor $0x1,%eax 0x00007f50d2c8d14a : test %al,%al 0x00007f50d2c8d14c : movb $0x1,-0x61(%rbp) 0x00007f50d2c8d150 : movzbl -0x61(%rbp),%eax 0x00007f50d2c8d154 : leaveq 0x00007f50d2c8d155 : retq End of assembler dump. (gdb) disassemble samu_set_unix_internal Dump of assembler code for function samu_set_unix_internal: 0x00007f50d2c81fce : push %rbp 0x00007f50d2c81fcf : mov %rsp,%rbp 0x00007f50d2c81fd2 : push %r13 0x00007f50d2c81fd4 : push %r12 0x00007f50d2c81fd6 : push %rbx 0x00007f50d2c81fd7 : sub $0x98,%rsp 0x00007f50d2c81fde : mov %rdi,-0x98(%rbp) 0x00007f50d2c81fe5 : mov %rsi,-0xa0(%rbp) 0x00007f50d2c81fec : mov %dl,-0xa4(%rbp) 0x00007f50d2c81ff2 : callq 0x7f50d2bdff22 0x00007f50d2c81ff7 : mov %rax,-0x40(%rbp) 0x00007f50d2c81ffb : callq 0x7f50d2c3f49b 0x00007f50d2c82000 : mov %rax,-0x38(%rbp) 0x00007f50d2c82004 : cmpq $0x0,-0xa0(%rbp) 0x00007f50d2c8200c : jne 0x7f50d2c8201d 0x00007f50d2c8200e : movl $0xc0000064,-0xa8(%rbp) 0x00007f50d2c82018 : jmpq 0x7f50d2c825a7 0x00007f50d2c8201d : mov -0xa0(%rbp),%rax 0x00007f50d2c82024 : mov (%rax),%rsi 0x00007f50d2c82027 : mov -0x98(%rbp),%rdi 0x00007f50d2c8202e : mov $0x1,%edx 0x00007f50d2c82033 : callq 0x7f50d2c805da 0x00007f50d2c82038 : movq $0x0,-0x30(%rbp) 0x00007f50d2c82040 : mov -0xa0(%rbp),%rax 0x00007f50d2c82047 : mov 0x18(%rax),%rdi 0x00007f50d2c8204b : callq 0x7f50d2c81f8a 0x00007f50d2c82050 : cmp $0x3,%eax 0x00007f50d2c82053 : jne 0x7f50d2c820a6 0x00007f50d2c82055 : mov -0xa0(%rbp),%rax 0x00007f50d2c8205c : mov 0x18(%rax),%rdi 0x00007f50d2c82060 : mov $0x2c,%esi 0x00007f50d2c82065 : callq 0x7f50d2bd7908 0x00007f50d2c8206a : mov %rax,%rdx 0x00007f50d2c8206d : mov -0xa0(%rbp),%rax 0x00007f50d2c82074 : mov 0x18(%rax),%rax 0x00007f50d2c82078 : mov %rdx,%rcx 0x00007f50d2c8207b : sub %rax,%rcx 0x00007f50d2c8207e : mov %rcx,%rax 0x00007f50d2c82081 : mov %rax,%rbx 0x00007f50d2c82084 : mov -0xa0(%rbp),%rax 0x00007f50d2c8208b : mov 0x18(%rax),%r12 0x00007f50d2c8208f : callq 0x7f50d2c0d467 0x00007f50d2c82094 : mov %rax,%rdi 0x00007f50d2c82097 : mov %rbx,%rdx 0x00007f50d2c8209a : mov %r12,%rsi 0x00007f50d2c8209d : callq 0x7f50d2bd6d18 0x00007f50d2c820a2 : mov %rax,-0x30(%rbp) 0x00007f50d2c820a6 : cmpq $0x0,-0x30(%rbp) 0x00007f50d2c820ab : je 0x7f50d2c820c4 ---Type to continue, or q to quit--- 0x00007f50d2c820ad : mov -0x30(%rbp),%rsi 0x00007f50d2c820b1 : mov -0x98(%rbp),%rdi 0x00007f50d2c820b8 : mov $0x1,%edx 0x00007f50d2c820bd : callq 0x7f50d2c809ca 0x00007f50d2c820c2 : jmp 0x7f50d2c820e0 0x00007f50d2c820c4 : mov -0xa0(%rbp),%rax 0x00007f50d2c820cb : mov 0x18(%rax),%rsi 0x00007f50d2c820cf : mov -0x98(%rbp),%rdi 0x00007f50d2c820d6 : mov $0x1,%edx 0x00007f50d2c820db : callq 0x7f50d2c809ca 0x00007f50d2c820e0 : mov -0x30(%rbp),%rdi 0x00007f50d2c820e4 : lea 0x8831c(%rip),%rsi # 0x7f50d2d0a407 0x00007f50d2c820eb : callq 0x7f50d2bd6f68 <_talloc_free@plt> 0x00007f50d2c820f0 : movq $0x0,-0x30(%rbp) 0x00007f50d2c820f8 : callq 0x7f50d2c3f51c 0x00007f50d2c820fd : mov %rax,%rsi 0x00007f50d2c82100 : mov -0x98(%rbp),%rdi 0x00007f50d2c82107 : mov $0x0,%edx 0x00007f50d2c8210c : callq 0x7f50d2c8072a 0x00007f50d2c82111 : mov -0xa0(%rbp),%rsi 0x00007f50d2c82118 : mov -0x98(%rbp),%rdi 0x00007f50d2c8211f : callq 0x7f50d2c10791 0x00007f50d2c82124 : mov %rax,%rdx 0x00007f50d2c82127 : mov -0x98(%rbp),%rax 0x00007f50d2c8212e : mov %rdx,0x190(%rax) 0x00007f50d2c82135 : mov -0xa0(%rbp),%rax 0x00007f50d2c8213c : mov (%rax),%rdi 0x00007f50d2c8213f : mov -0x40(%rbp),%rsi 0x00007f50d2c82143 : callq 0x7f50d2c32a44 0x00007f50d2c82148 : test %al,%al 0x00007f50d2c8214a : je 0x7f50d2c82187 0x00007f50d2c8214c : mov -0x98(%rbp),%rdi 0x00007f50d2c82153 : mov $0x0,%edx 0x00007f50d2c82158 : mov $0x1f5,%esi 0x00007f50d2c8215d : callq 0x7f50d2c8d016 0x00007f50d2c82162 : xor $0x1,%eax 0x00007f50d2c82165 : test %al,%al 0x00007f50d2c82167 : je 0x7f50d2c82178 0x00007f50d2c82169 : movl $0xc0000064,-0xa8(%rbp) 0x00007f50d2c82173 : jmpq 0x7f50d2c825a7 0x00007f50d2c82178 : movl $0x0,-0xa8(%rbp) 0x00007f50d2c82182 : jmpq 0x7f50d2c825a7 0x00007f50d2c82187 : mov -0xa0(%rbp),%rax 0x00007f50d2c8218e : mov (%rax),%rbx 0x00007f50d2c82191 : mov -0xa0(%rbp),%rax 0x00007f50d2c82198 : mov (%rax),%rdi 0x00007f50d2c8219b : callq 0x7f50d2bd7318 0x00007f50d2c821a0 : sub $0x1,%rax 0x00007f50d2c821a4 : lea (%rbx,%rax,1),%rax 0x00007f50d2c821a8 : movzbl (%rax),%eax ---Type to continue, or q to quit--- 0x00007f50d2c821ab : cmp $0x24,%al 0x00007f50d2c821ad : jne 0x7f50d2c82244 0x00007f50d2c821b3 : mov -0x98(%rbp),%rdi 0x00007f50d2c821ba : mov $0x0,%edx 0x00007f50d2c821bf : mov $0x80,%esi 0x00007f50d2c821c4 : callq 0x7f50d2c7fae5 0x00007f50d2c821c9 : xor $0x1,%eax 0x00007f50d2c821cc : test %al,%al 0x00007f50d2c821ce : je 0x7f50d2c82421 0x00007f50d2c821d4 : mov 0x330af5(%rip),%rax # 0x7f50d2fb2cd0 0x00007f50d2c821db : mov (%rax),%rax 0x00007f50d2c821de : add $0x20,%rax 0x00007f50d2c821e2 : mov (%rax),%eax 0x00007f50d2c821e4 : test %eax,%eax 0x00007f50d2c821e6 : setg %al 0x00007f50d2c821e9 : movzbl %al,%eax 0x00007f50d2c821ec : test %rax,%rax 0x00007f50d2c821ef : je 0x7f50d2c82235 0x00007f50d2c821f1 : lea 0x881f8(%rip),%rcx # 0x7f50d2d0a3f0 <__FUNCTION__.24061> 0x00007f50d2c821f8 : lea 0x8821c(%rip),%rdx # 0x7f50d2d0a41b 0x00007f50d2c821ff : mov $0x8,%esi 0x00007f50d2c82204 : mov $0x1,%edi 0x00007f50d2c82209 : callq 0x7f50d2c29061 0x00007f50d2c8220e : xor $0x1,%eax 0x00007f50d2c82211 : test %al,%al 0x00007f50d2c82213 : jne 0x7f50d2c82235 0x00007f50d2c82215 : mov -0xa0(%rbp),%rax 0x00007f50d2c8221c : mov (%rax),%rsi 0x00007f50d2c8221f : lea 0x8820a(%rip),%rdi # 0x7f50d2d0a430 0x00007f50d2c82226 : mov $0x0,%eax 0x00007f50d2c8222b : callq 0x7f50d2c292d5 0x00007f50d2c82230 : xor $0x1,%eax 0x00007f50d2c82233 : test %al,%al 0x00007f50d2c82235 : movl $0xc0000122,-0xa8(%rbp) 0x00007f50d2c8223f : jmpq 0x7f50d2c825a7 0x00007f50d2c82244 : mov -0x98(%rbp),%rdi 0x00007f50d2c8224b : mov $0x0,%edx 0x00007f50d2c82250 : mov $0x10,%esi 0x00007f50d2c82255 : callq 0x7f50d2c7fae5 0x00007f50d2c8225a : xor $0x1,%eax 0x00007f50d2c8225d : test %al,%al 0x00007f50d2c8225f : je 0x7f50d2c822d1 0x00007f50d2c82261 : mov 0x330a68(%rip),%rax # 0x7f50d2fb2cd0 0x00007f50d2c82268 : mov (%rax),%rax 0x00007f50d2c8226b : add $0x20,%rax 0x00007f50d2c8226f : mov (%rax),%eax 0x00007f50d2c82271 : test %eax,%eax 0x00007f50d2c82273 : setg %al 0x00007f50d2c82276 : movzbl %al,%eax 0x00007f50d2c82279 : test %rax,%rax ---Type to continue, or q to quit--- 0x00007f50d2c8227c : je 0x7f50d2c822c2 0x00007f50d2c8227e : lea 0x8816b(%rip),%rcx # 0x7f50d2d0a3f0 <__FUNCTION__.24061> 0x00007f50d2c82285 : lea 0x881dc(%rip),%rdx # 0x7f50d2d0a468 0x00007f50d2c8228c : mov $0x8,%esi 0x00007f50d2c82291 : mov $0x1,%edi 0x00007f50d2c82296 : callq 0x7f50d2c29061 0x00007f50d2c8229b : xor $0x1,%eax 0x00007f50d2c8229e : test %al,%al 0x00007f50d2c822a0 : jne 0x7f50d2c822c2 0x00007f50d2c822a2 : mov -0xa0(%rbp),%rax 0x00007f50d2c822a9 : mov (%rax),%rsi 0x00007f50d2c822ac : lea 0x881cd(%rip),%rdi # 0x7f50d2d0a480 0x00007f50d2c822b3 : mov $0x0,%eax 0x00007f50d2c822b8 : callq 0x7f50d2c292d5 0x00007f50d2c822bd : xor $0x1,%eax 0x00007f50d2c822c0 : test %al,%al 0x00007f50d2c822c2 : movl $0xc0000062,-0xa8(%rbp) 0x00007f50d2c822cc : jmpq 0x7f50d2c825a7 0x00007f50d2c822d1 : mov -0xa0(%rbp),%rax 0x00007f50d2c822d8 : mov 0x14(%rax),%ebx 0x00007f50d2c822db : mov -0xa0(%rbp),%rax 0x00007f50d2c822e2 : mov 0x10(%rax),%r12d 0x00007f50d2c822e6 : mov -0xa0(%rbp),%rax 0x00007f50d2c822ed : mov (%rax),%r13 0x00007f50d2c822f0 : callq 0x7f50d2bdfb43 0x00007f50d2c822f5 : mov %rax,%rsi 0x00007f50d2c822f8 : mov -0x38(%rbp),%rcx 0x00007f50d2c822fc : mov -0x98(%rbp),%rdi 0x00007f50d2c82303 : mov %ebx,%r9d 0x00007f50d2c82306 : mov %r12d,%r8d 0x00007f50d2c82309 : mov %r13,%rdx 0x00007f50d2c8230c : callq 0x7f50d2c44f4d 0x00007f50d2c82311 : mov %rax,%rsi 0x00007f50d2c82314 : mov -0x98(%rbp),%rdi 0x00007f50d2c8231b : mov $0x0,%edx 0x00007f50d2c82320 : callq 0x7f50d2c80c79 0x00007f50d2c82325 : mov -0xa0(%rbp),%rax 0x00007f50d2c8232c : mov 0x14(%rax),%ebx 0x00007f50d2c8232f : mov -0xa0(%rbp),%rax 0x00007f50d2c82336 : mov 0x10(%rax),%r12d 0x00007f50d2c8233a : mov -0xa0(%rbp),%rax 0x00007f50d2c82341 : mov (%rax),%r13 0x00007f50d2c82344 : callq 0x7f50d2bdfba5 0x00007f50d2c82349 : mov %rax,%rsi 0x00007f50d2c8234c : mov -0x38(%rbp),%rcx 0x00007f50d2c82350 : mov -0x98(%rbp),%rdi 0x00007f50d2c82357 : mov %ebx,%r9d 0x00007f50d2c8235a : mov %r12d,%r8d 0x00007f50d2c8235d : mov %r13,%rdx 0x00007f50d2c82360 : callq 0x7f50d2c44f4d ---Type to continue, or q to quit--- 0x00007f50d2c82365 : mov %rax,%rsi 0x00007f50d2c82368 : mov -0x98(%rbp),%rdi 0x00007f50d2c8236f : mov $0x0,%edx 0x00007f50d2c82374 : callq 0x7f50d2c80f28 0x00007f50d2c82379 : mov -0xa0(%rbp),%rax 0x00007f50d2c82380 : mov 0x14(%rax),%ebx 0x00007f50d2c82383 : mov -0xa0(%rbp),%rax 0x00007f50d2c8238a : mov 0x10(%rax),%r12d 0x00007f50d2c8238e : mov -0xa0(%rbp),%rax 0x00007f50d2c82395 : mov (%rax),%r13 0x00007f50d2c82398 : callq 0x7f50d2bdfb74 0x00007f50d2c8239d : mov %rax,%rsi 0x00007f50d2c823a0 : mov -0x38(%rbp),%rcx 0x00007f50d2c823a4 : mov -0x98(%rbp),%rdi 0x00007f50d2c823ab : mov %ebx,%r9d 0x00007f50d2c823ae : mov %r12d,%r8d 0x00007f50d2c823b1 : mov %r13,%rdx 0x00007f50d2c823b4 : callq 0x7f50d2c44f4d 0x00007f50d2c823b9 : mov %rax,%rsi 0x00007f50d2c823bc : mov -0x98(%rbp),%rdi 0x00007f50d2c823c3 : mov $0x0,%edx 0x00007f50d2c823c8 : callq 0x7f50d2c80dd8 0x00007f50d2c823cd : mov -0xa0(%rbp),%rax 0x00007f50d2c823d4 : mov 0x14(%rax),%ebx 0x00007f50d2c823d7 : mov -0xa0(%rbp),%rax 0x00007f50d2c823de : mov 0x10(%rax),%r12d 0x00007f50d2c823e2 : mov -0xa0(%rbp),%rax 0x00007f50d2c823e9 : mov (%rax),%r13 0x00007f50d2c823ec : callq 0x7f50d2bdfb12 0x00007f50d2c823f1 : mov %rax,%rsi 0x00007f50d2c823f4 : mov -0x38(%rbp),%rcx 0x00007f50d2c823f8 : mov -0x98(%rbp),%rdi 0x00007f50d2c823ff : mov %ebx,%r9d 0x00007f50d2c82402 : mov %r12d,%r8d 0x00007f50d2c82405 : mov %r13,%rdx 0x00007f50d2c82408 : callq 0x7f50d2c44f4d 0x00007f50d2c8240d : mov %rax,%rsi 0x00007f50d2c82410 : mov -0x98(%rbp),%rdi 0x00007f50d2c82417 : mov $0x0,%edx 0x00007f50d2c8241c : callq 0x7f50d2c80b1a 0x00007f50d2c82421 : cmpb $0x0,-0xa4(%rbp) 0x00007f50d2c82428 : je 0x7f50d2c8255d 0x00007f50d2c8242e : callq 0x7f50d2c8a3f5 0x00007f50d2c82433 : and $0x1,%eax 0x00007f50d2c82436 : test %al,%al 0x00007f50d2c82438 : je 0x7f50d2c8255d 0x00007f50d2c8243e : lea -0x44(%rbp),%rdi 0x00007f50d2c82442 : callq 0x7f50d2c8a419 0x00007f50d2c82447 : xor $0x1,%eax 0x00007f50d2c8244a : test %al,%al ---Type to continue, or q to quit--- 0x00007f50d2c8244c : je 0x7f50d2c824b5 0x00007f50d2c8244e : mov 0x33087b(%rip),%rax # 0x7f50d2fb2cd0 0x00007f50d2c82455 : mov (%rax),%rax 0x00007f50d2c82458 : add $0x20,%rax 0x00007f50d2c8245c : mov (%rax),%eax 0x00007f50d2c8245e : cmp $0x2,%eax 0x00007f50d2c82461 : setg %al 0x00007f50d2c82464 : movzbl %al,%eax 0x00007f50d2c82467 : test %rax,%rax 0x00007f50d2c8246a : je 0x7f50d2c824a6 0x00007f50d2c8246c : lea 0x87f7d(%rip),%rcx # 0x7f50d2d0a3f0 <__FUNCTION__.24061> 0x00007f50d2c82473 : lea 0x88039(%rip),%rdx # 0x7f50d2d0a4b3 0x00007f50d2c8247a : mov $0x8,%esi 0x00007f50d2c8247f : mov $0x3,%edi 0x00007f50d2c82484 : callq 0x7f50d2c29061 0x00007f50d2c82489 : xor $0x1,%eax 0x00007f50d2c8248c : test %al,%al 0x00007f50d2c8248e : jne 0x7f50d2c824a6 0x00007f50d2c82490 : lea 0x88030(%rip),%rdi # 0x7f50d2d0a4c7 0x00007f50d2c82497 : mov $0x0,%eax 0x00007f50d2c8249c : callq 0x7f50d2c292d5 0x00007f50d2c824a1 : xor $0x1,%eax 0x00007f50d2c824a4 : test %al,%al 0x00007f50d2c824a6 : movl $0xc0000022,-0xa8(%rbp) 0x00007f50d2c824b0 : jmpq 0x7f50d2c825a7 0x00007f50d2c824b5 : mov -0x44(%rbp),%ebx 0x00007f50d2c824b8 : callq 0x7f50d2cddc67 0x00007f50d2c824bd : mov %rax,%rsi 0x00007f50d2c824c0 : lea -0x90(%rbp),%rdi 0x00007f50d2c824c7 : mov %ebx,%edx 0x00007f50d2c824c9 : callq 0x7f50d2c7ebd3 0x00007f50d2c824ce : lea -0x90(%rbp),%rsi 0x00007f50d2c824d5 : mov -0x98(%rbp),%rdi 0x00007f50d2c824dc : mov $0x1,%edx 0x00007f50d2c824e1 : callq 0x7f50d2c8024c 0x00007f50d2c824e6 : xor $0x1,%eax 0x00007f50d2c824e9 : test %al,%al 0x00007f50d2c824eb : je 0x7f50d2c82551 0x00007f50d2c824ed : mov 0x3307dc(%rip),%rax # 0x7f50d2fb2cd0 0x00007f50d2c824f4 : mov (%rax),%rax 0x00007f50d2c824f7 : add $0x20,%rax 0x00007f50d2c824fb : mov (%rax),%eax 0x00007f50d2c824fd : cmp $0x2,%eax 0x00007f50d2c82500 : setg %al 0x00007f50d2c82503 : movzbl %al,%eax 0x00007f50d2c82506 : test %rax,%rax 0x00007f50d2c82509 : je 0x7f50d2c82545 0x00007f50d2c8250b : lea 0x87ede(%rip),%rcx # 0x7f50d2d0a3f0 <__FUNCTION__.24061> 0x00007f50d2c82512 : lea 0x87fcc(%rip),%rdx # 0x7f50d2d0a4e5 0x00007f50d2c82519 : mov $0x8,%esi ---Type to continue, or q to quit--- 0x00007f50d2c8251e : mov $0x3,%edi 0x00007f50d2c82523 : callq 0x7f50d2c29061 0x00007f50d2c82528 : xor $0x1,%eax 0x00007f50d2c8252b : test %al,%al 0x00007f50d2c8252d : jne 0x7f50d2c82545 0x00007f50d2c8252f : lea 0x87fc3(%rip),%rdi # 0x7f50d2d0a4f9 0x00007f50d2c82536 : mov $0x0,%eax 0x00007f50d2c8253b : callq 0x7f50d2c292d5 0x00007f50d2c82540 : xor $0x1,%eax 0x00007f50d2c82543 : test %al,%al 0x00007f50d2c82545 : movl $0xc00000e5,-0xa8(%rbp) 0x00007f50d2c8254f : jmp 0x7f50d2c825a7 0x00007f50d2c82551 : movl $0x0,-0xa8(%rbp) 0x00007f50d2c8255b : jmp 0x7f50d2c825a7 0x00007f50d2c8255d : mov -0x98(%rbp),%rax 0x00007f50d2c82564 : mov 0x190(%rax),%rax 0x00007f50d2c8256b : mov 0x10(%rax),%edi 0x00007f50d2c8256e : callq 0x7f50d2c82e22 0x00007f50d2c82573 : mov %eax,-0x24(%rbp) 0x00007f50d2c82576 : mov -0x24(%rbp),%esi 0x00007f50d2c82579 : mov -0x98(%rbp),%rdi 0x00007f50d2c82580 : mov $0x1,%edx 0x00007f50d2c82585 : callq 0x7f50d2c8d016 0x00007f50d2c8258a : xor $0x1,%eax 0x00007f50d2c8258d : test %al,%al 0x00007f50d2c8258f : je 0x7f50d2c8259d 0x00007f50d2c82591 : movl $0xc00000e5,-0xa8(%rbp) 0x00007f50d2c8259b : jmp 0x7f50d2c825a7 0x00007f50d2c8259d : movl $0x0,-0xa8(%rbp) 0x00007f50d2c825a7 : mov -0xa8(%rbp),%eax 0x00007f50d2c825ad : add $0x98,%rsp 0x00007f50d2c825b4 : pop %rbx 0x00007f50d2c825b5 : pop %r12 0x00007f50d2c825b7 : pop %r13 0x00007f50d2c825b9 : leaveq 0x00007f50d2c825ba : retq End of assembler dump. (gdb) disassemble samu_set_unix Dump of assembler code for function samu_set_unix: 0x00007f50d2c825bb : push %rbp 0x00007f50d2c825bc : mov %rsp,%rbp 0x00007f50d2c825bf : sub $0x10,%rsp 0x00007f50d2c825c3 : mov %rdi,-0x8(%rbp) 0x00007f50d2c825c7 : mov %rsi,-0x10(%rbp) 0x00007f50d2c825cb : mov -0x10(%rbp),%rsi 0x00007f50d2c825cf : mov -0x8(%rbp),%rdi 0x00007f50d2c825d3 : mov $0x0,%edx 0x00007f50d2c825d8 : callq 0x7f50d2c81fce 0x00007f50d2c825dd : leaveq 0x00007f50d2c825de : retq End of assembler dump. (gdb) disassemble build_sam_account Dump of assembler code for function build_sam_account: 0x00007f50d2cae414 : push %rbp 0x00007f50d2cae415 : mov %rsp,%rbp 0x00007f50d2cae418 : sub $0x30,%rsp 0x00007f50d2cae41c : mov %rdi,-0x18(%rbp) 0x00007f50d2cae420 : mov %rsi,-0x20(%rbp) 0x00007f50d2cae424 : mov %rdx,-0x28(%rbp) 0x00007f50d2cae428 : cmpq $0x0,-0x20(%rbp) 0x00007f50d2cae42d : jne 0x7f50d2cae490 0x00007f50d2cae42f : mov 0x30489a(%rip),%rax # 0x7f50d2fb2cd0 0x00007f50d2cae436 : mov (%rax),%rax 0x00007f50d2cae439 : add $0x20,%rax 0x00007f50d2cae43d : mov (%rax),%eax 0x00007f50d2cae43f : cmp $0x4,%eax 0x00007f50d2cae442 : setg %al 0x00007f50d2cae445 : movzbl %al,%eax 0x00007f50d2cae448 : test %rax,%rax 0x00007f50d2cae44b : je 0x7f50d2cae487 0x00007f50d2cae44d : lea 0x6903c(%rip),%rcx # 0x7f50d2d17490 <__FUNCTION__.21590> 0x00007f50d2cae454 : lea 0x69047(%rip),%rdx # 0x7f50d2d174a2 0x00007f50d2cae45b : mov $0x8,%esi 0x00007f50d2cae460 : mov $0x5,%edi 0x00007f50d2cae465 : callq 0x7f50d2c29061 0x00007f50d2cae46a : xor $0x1,%eax 0x00007f50d2cae46d : test %al,%al 0x00007f50d2cae46f : jne 0x7f50d2cae487 0x00007f50d2cae471 : lea 0x69048(%rip),%rdi # 0x7f50d2d174c0 0x00007f50d2cae478 : mov $0x0,%eax 0x00007f50d2cae47d : callq 0x7f50d2c292d5 0x00007f50d2cae482 : xor $0x1,%eax 0x00007f50d2cae485 : test %al,%al 0x00007f50d2cae487 : movb $0x0,-0x29(%rbp) 0x00007f50d2cae48b : jmpq 0x7f50d2cae5e6 0x00007f50d2cae490 : mov -0x28(%rbp),%rax 0x00007f50d2cae494 : mov 0x8(%rax),%rsi 0x00007f50d2cae498 : mov $0x0,%edi 0x00007f50d2cae49d : callq 0x7f50d2c2f5d9 0x00007f50d2cae4a2 : mov %rax,-0x8(%rbp) 0x00007f50d2cae4a6 : cmpq $0x0,-0x8(%rbp) 0x00007f50d2cae4ab : jne 0x7f50d2cae51c 0x00007f50d2cae4ad : mov 0x30481c(%rip),%rax # 0x7f50d2fb2cd0 0x00007f50d2cae4b4 : mov (%rax),%rax 0x00007f50d2cae4b7 : add $0x20,%rax 0x00007f50d2cae4bb : mov (%rax),%eax 0x00007f50d2cae4bd : cltq 0x00007f50d2cae4bf : not %rax 0x00007f50d2cae4c2 : shr $0x3f,%rax 0x00007f50d2cae4c6 : test %rax,%rax 0x00007f50d2cae4c9 : je 0x7f50d2cae513 0x00007f50d2cae4cb : lea 0x68fbe(%rip),%rcx # 0x7f50d2d17490 <__FUNCTION__.21590> ---Type to continue, or q to quit--- 0x00007f50d2cae4d2 : lea 0x6900f(%rip),%rdx # 0x7f50d2d174e8 0x00007f50d2cae4d9 : mov $0x8,%esi 0x00007f50d2cae4de : mov $0x0,%edi 0x00007f50d2cae4e3 : callq 0x7f50d2c29061 0x00007f50d2cae4e8 : xor $0x1,%eax 0x00007f50d2cae4eb : test %al,%al 0x00007f50d2cae4ed : jne 0x7f50d2cae513 0x00007f50d2cae4ef : mov -0x28(%rbp),%rax 0x00007f50d2cae4f3 : mov (%rax),%edx 0x00007f50d2cae4f5 : mov -0x28(%rbp),%rax 0x00007f50d2cae4f9 : mov 0x8(%rax),%rsi 0x00007f50d2cae4fd : lea 0x69004(%rip),%rdi # 0x7f50d2d17508 0x00007f50d2cae504 : mov $0x0,%eax 0x00007f50d2cae509 : callq 0x7f50d2c292d5 0x00007f50d2cae50e : xor $0x1,%eax 0x00007f50d2cae511 : test %al,%al 0x00007f50d2cae513 : movb $0x0,-0x29(%rbp) 0x00007f50d2cae517 : jmpq 0x7f50d2cae5e6 0x00007f50d2cae51c : mov -0x8(%rbp),%rsi 0x00007f50d2cae520 : mov -0x20(%rbp),%rdi 0x00007f50d2cae524 : callq 0x7f50d2c825bb 0x00007f50d2cae529 : test %eax,%eax 0x00007f50d2cae52b : sete %al 0x00007f50d2cae52e : movzbl %al,%eax 0x00007f50d2cae531 : test %rax,%rax 0x00007f50d2cae534 : jne 0x7f50d2cae53f 0x00007f50d2cae536 : movb $0x0,-0x29(%rbp) 0x00007f50d2cae53a : jmpq 0x7f50d2cae5e6 0x00007f50d2cae53f : mov -0x8(%rbp),%rdi 0x00007f50d2cae543 : lea 0x6902a(%rip),%rsi # 0x7f50d2d17574 0x00007f50d2cae54a : callq 0x7f50d2bd6f68 <_talloc_free@plt> 0x00007f50d2cae54f : movq $0x0,-0x8(%rbp) 0x00007f50d2cae557 : mov -0x28(%rbp),%rax 0x00007f50d2cae55b : mov 0x18(%rax),%rsi 0x00007f50d2cae55f : mov -0x20(%rbp),%rdi 0x00007f50d2cae563 : mov $0x1,%edx 0x00007f50d2cae568 : callq 0x7f50d2c81450 0x00007f50d2cae56d : xor $0x1,%eax 0x00007f50d2cae570 : test %al,%al 0x00007f50d2cae572 : je 0x7f50d2cae57a 0x00007f50d2cae574 : movb $0x0,-0x29(%rbp) 0x00007f50d2cae578 : jmp 0x7f50d2cae5e6 0x00007f50d2cae57a : mov -0x28(%rbp),%rax 0x00007f50d2cae57e : mov 0x10(%rax),%rsi 0x00007f50d2cae582 : mov -0x20(%rbp),%rdi 0x00007f50d2cae586 : mov $0x1,%edx 0x00007f50d2cae58b : callq 0x7f50d2c814e0 0x00007f50d2cae590 : xor $0x1,%eax 0x00007f50d2cae593 : test %al,%al 0x00007f50d2cae595 : je 0x7f50d2cae59d ---Type to continue, or q to quit--- 0x00007f50d2cae597 : movb $0x0,-0x29(%rbp) 0x00007f50d2cae59b : jmp 0x7f50d2cae5e6 0x00007f50d2cae59d : mov -0x28(%rbp),%rax 0x00007f50d2cae5a1 : movzwl 0x20(%rax),%eax 0x00007f50d2cae5a5 : movzwl %ax,%esi 0x00007f50d2cae5a8 : mov -0x20(%rbp),%rdi 0x00007f50d2cae5ac : mov $0x1,%edx 0x00007f50d2cae5b1 : callq 0x7f50d2c7fae5 0x00007f50d2cae5b6 : mov -0x28(%rbp),%rax 0x00007f50d2cae5ba : mov 0x28(%rax),%rsi 0x00007f50d2cae5be : mov -0x20(%rbp),%rdi 0x00007f50d2cae5c2 : mov $0x1,%edx 0x00007f50d2cae5c7 : callq 0x7f50d2c7fc43 0x00007f50d2cae5cc : mov -0x28(%rbp),%rax 0x00007f50d2cae5d0 : mov 0x28(%rax),%rsi 0x00007f50d2cae5d4 : mov -0x20(%rbp),%rdi 0x00007f50d2cae5d8 : mov $0x1,%edx 0x00007f50d2cae5dd : callq 0x7f50d2c7fbdf 0x00007f50d2cae5e2 : movb $0x1,-0x29(%rbp) 0x00007f50d2cae5e6 : movzbl -0x29(%rbp),%eax 0x00007f50d2cae5ea : leaveq 0x00007f50d2cae5eb : retq End of assembler dump. (gdb) disassemble smbpasswd_getsampwnam Dump of assembler code for function smbpasswd_getsampwnam: 0x00007f50d2cae5ec : push %rbp 0x00007f50d2cae5ed : mov %rsp,%rbp 0x00007f50d2cae5f0 : sub $0x40,%rsp 0x00007f50d2cae5f4 : mov %rdi,-0x28(%rbp) 0x00007f50d2cae5f8 : mov %rsi,-0x30(%rbp) 0x00007f50d2cae5fc : mov %rdx,-0x38(%rbp) 0x00007f50d2cae600 : movl $0xc0000001,-0x20(%rbp) 0x00007f50d2cae607 : mov -0x28(%rbp),%rax 0x00007f50d2cae60b : mov 0x1b8(%rax),%rax 0x00007f50d2cae612 : mov %rax,-0x18(%rbp) 0x00007f50d2cae616 : movq $0x0,-0x8(%rbp) 0x00007f50d2cae61e : mov 0x3046ab(%rip),%rax # 0x7f50d2fb2cd0 0x00007f50d2cae625 : mov (%rax),%rax 0x00007f50d2cae628 : add $0x20,%rax 0x00007f50d2cae62c : mov (%rax),%eax 0x00007f50d2cae62e : cmp $0x9,%eax 0x00007f50d2cae631 : setg %al 0x00007f50d2cae634 : movzbl %al,%eax 0x00007f50d2cae637 : test %rax,%rax 0x00007f50d2cae63a : je 0x7f50d2cae67a 0x00007f50d2cae63c : lea 0x68f4d(%rip),%rcx # 0x7f50d2d17590 <__FUNCTION__.21662> 0x00007f50d2cae643 : lea 0x68f5c(%rip),%rdx # 0x7f50d2d175a6 0x00007f50d2cae64a : mov $0x8,%esi 0x00007f50d2cae64f : mov $0xa,%edi 0x00007f50d2cae654 : callq 0x7f50d2c29061 0x00007f50d2cae659 : xor $0x1,%eax 0x00007f50d2cae65c : test %al,%al 0x00007f50d2cae65e : jne 0x7f50d2cae67a 0x00007f50d2cae660 : mov -0x38(%rbp),%rsi 0x00007f50d2cae664 : lea 0x68f5d(%rip),%rdi # 0x7f50d2d175c8 0x00007f50d2cae66b : mov $0x0,%eax 0x00007f50d2cae670 : callq 0x7f50d2c292d5 0x00007f50d2cae675 : xor $0x1,%eax 0x00007f50d2cae678 : test %al,%al 0x00007f50d2cae67a : mov -0x18(%rbp),%rdx 0x00007f50d2cae67e : mov -0x18(%rbp),%rax 0x00007f50d2cae682 : mov 0x160(%rax),%rdi 0x00007f50d2cae689 : mov $0x0,%esi 0x00007f50d2cae68e : callq 0x7f50d2cab206 0x00007f50d2cae693 : mov %rax,-0x8(%rbp) 0x00007f50d2cae697 : cmpq $0x0,-0x8(%rbp) 0x00007f50d2cae69c : jne 0x7f50d2cae701 0x00007f50d2cae69e : mov 0x30462b(%rip),%rax # 0x7f50d2fb2cd0 0x00007f50d2cae6a5 : mov (%rax),%rax 0x00007f50d2cae6a8 : add $0x20,%rax 0x00007f50d2cae6ac : mov (%rax),%eax 0x00007f50d2cae6ae : cltq 0x00007f50d2cae6b0 : not %rax 0x00007f50d2cae6b3 : shr $0x3f,%rax ---Type to continue, or q to quit--- 0x00007f50d2cae6b7 : test %rax,%rax 0x00007f50d2cae6ba : je 0x7f50d2cae6f6 0x00007f50d2cae6bc : lea 0x68ecd(%rip),%rcx # 0x7f50d2d17590 <__FUNCTION__.21662> 0x00007f50d2cae6c3 : lea 0x68f2b(%rip),%rdx # 0x7f50d2d175f5 0x00007f50d2cae6ca : mov $0x8,%esi 0x00007f50d2cae6cf : mov $0x0,%edi 0x00007f50d2cae6d4 : callq 0x7f50d2c29061 0x00007f50d2cae6d9 : xor $0x1,%eax 0x00007f50d2cae6dc : test %al,%al 0x00007f50d2cae6de : jne 0x7f50d2cae6f6 0x00007f50d2cae6e0 : lea 0x68f31(%rip),%rdi # 0x7f50d2d17618 0x00007f50d2cae6e7 : mov $0x0,%eax 0x00007f50d2cae6ec : callq 0x7f50d2c292d5 0x00007f50d2cae6f1 : xor $0x1,%eax 0x00007f50d2cae6f4 : test %al,%al 0x00007f50d2cae6f6 : mov -0x20(%rbp),%eax 0x00007f50d2cae6f9 : mov %eax,-0x3c(%rbp) 0x00007f50d2cae6fc : jmpq 0x7f50d2cae83e 0x00007f50d2cae701 : mov -0x8(%rbp),%rsi 0x00007f50d2cae705 : mov -0x18(%rbp),%rdi 0x00007f50d2cae709 : callq 0x7f50d2cabadc 0x00007f50d2cae70e : mov %rax,-0x10(%rbp) 0x00007f50d2cae712 : cmpq $0x0,-0x10(%rbp) 0x00007f50d2cae717 : je 0x7f50d2cae731 0x00007f50d2cae719 : mov -0x10(%rbp),%rax 0x00007f50d2cae71d : mov 0x8(%rax),%rdi 0x00007f50d2cae721 : mov -0x38(%rbp),%rsi 0x00007f50d2cae725 : callq 0x7f50d2c32a44 0x00007f50d2cae72a : xor $0x1,%eax 0x00007f50d2cae72d : test %al,%al 0x00007f50d2cae72f : jne 0x7f50d2cae701 0x00007f50d2cae731 : mov -0x18(%rbp),%rsi 0x00007f50d2cae735 : mov -0x8(%rbp),%rdi 0x00007f50d2cae739 : callq 0x7f50d2caba4e 0x00007f50d2cae73e : cmpq $0x0,-0x10(%rbp) 0x00007f50d2cae743 : jne 0x7f50d2cae750 0x00007f50d2cae745 : mov -0x20(%rbp),%eax 0x00007f50d2cae748 : mov %eax,-0x3c(%rbp) 0x00007f50d2cae74b : jmpq 0x7f50d2cae83e 0x00007f50d2cae750 : mov 0x304579(%rip),%rax # 0x7f50d2fb2cd0 0x00007f50d2cae757 : mov (%rax),%rax 0x00007f50d2cae75a : add $0x20,%rax 0x00007f50d2cae75e : mov (%rax),%eax 0x00007f50d2cae760 : cmp $0x9,%eax 0x00007f50d2cae763 : setg %al 0x00007f50d2cae766 : movzbl %al,%eax 0x00007f50d2cae769 : test %rax,%rax 0x00007f50d2cae76c : je 0x7f50d2cae7b0 0x00007f50d2cae76e : lea 0x68e1b(%rip),%rcx # 0x7f50d2d17590 <__FUNCTION__.21662> 0x00007f50d2cae775 : lea 0x68ebd(%rip),%rdx # 0x7f50d2d17639 ---Type to continue, or q to quit--- 0x00007f50d2cae77c : mov $0x8,%esi 0x00007f50d2cae781 : mov $0xa,%edi 0x00007f50d2cae786 : callq 0x7f50d2c29061 0x00007f50d2cae78b : xor $0x1,%eax 0x00007f50d2cae78e : test %al,%al 0x00007f50d2cae790 : jne 0x7f50d2cae7b0 0x00007f50d2cae792 : mov -0x10(%rbp),%rax 0x00007f50d2cae796 : mov 0x8(%rax),%rsi 0x00007f50d2cae79a : lea 0x68eb7(%rip),%rdi # 0x7f50d2d17658 0x00007f50d2cae7a1 : mov $0x0,%eax 0x00007f50d2cae7a6 : callq 0x7f50d2c292d5 0x00007f50d2cae7ab : xor $0x1,%eax 0x00007f50d2cae7ae : test %al,%al 0x00007f50d2cae7b0 : cmpq $0x0,-0x30(%rbp) 0x00007f50d2cae7b5 : jne 0x7f50d2cae817 0x00007f50d2cae7b7 : mov 0x304512(%rip),%rax # 0x7f50d2fb2cd0 0x00007f50d2cae7be : mov (%rax),%rax 0x00007f50d2cae7c1 : add $0x20,%rax 0x00007f50d2cae7c5 : mov (%rax),%eax 0x00007f50d2cae7c7 : cmp $0x9,%eax 0x00007f50d2cae7ca : setg %al 0x00007f50d2cae7cd : movzbl %al,%eax 0x00007f50d2cae7d0 : test %rax,%rax 0x00007f50d2cae7d3 : je 0x7f50d2cae80f 0x00007f50d2cae7d5 : lea 0x68db4(%rip),%rcx # 0x7f50d2d17590 <__FUNCTION__.21662> 0x00007f50d2cae7dc : lea 0x68ea1(%rip),%rdx # 0x7f50d2d17684 0x00007f50d2cae7e3 : mov $0x8,%esi 0x00007f50d2cae7e8 : mov $0xa,%edi 0x00007f50d2cae7ed : callq 0x7f50d2c29061 0x00007f50d2cae7f2 : xor $0x1,%eax 0x00007f50d2cae7f5 : test %al,%al 0x00007f50d2cae7f7 : jne 0x7f50d2cae80f 0x00007f50d2cae7f9 : lea 0x68ea0(%rip),%rdi # 0x7f50d2d176a0 0x00007f50d2cae800 : mov $0x0,%eax 0x00007f50d2cae805 : callq 0x7f50d2c292d5 0x00007f50d2cae80a : xor $0x1,%eax 0x00007f50d2cae80d : test %al,%al 0x00007f50d2cae80f : mov -0x20(%rbp),%eax 0x00007f50d2cae812 : mov %eax,-0x3c(%rbp) 0x00007f50d2cae815 : jmp 0x7f50d2cae83e 0x00007f50d2cae817 : mov -0x10(%rbp),%rdx 0x00007f50d2cae81b : mov -0x30(%rbp),%rsi 0x00007f50d2cae81f : mov -0x18(%rbp),%rdi 0x00007f50d2cae823 : callq 0x7f50d2cae414 0x00007f50d2cae828 : xor $0x1,%eax 0x00007f50d2cae82b : test %al,%al 0x00007f50d2cae82d : je 0x7f50d2cae837 0x00007f50d2cae82f : mov -0x20(%rbp),%eax 0x00007f50d2cae832 : mov %eax,-0x3c(%rbp) 0x00007f50d2cae835 : jmp 0x7f50d2cae83e ---Type to continue, or q to quit--- 0x00007f50d2cae837 : movl $0x0,-0x3c(%rbp) 0x00007f50d2cae83e : mov -0x3c(%rbp),%eax 0x00007f50d2cae841 : leaveq 0x00007f50d2cae842 : retq End of assembler dump. (gdb) disassemble pdb_getsampwnam Dump of assembler code for function pdb_getsampwnam: 0x00007f50d2c88665 : push %rbp 0x00007f50d2c88666 : mov %rsp,%rbp 0x00007f50d2c88669 : sub $0x70,%rsp 0x00007f50d2c8866d : mov %rdi,-0x48(%rbp) 0x00007f50d2c88671 : mov %rsi,-0x50(%rbp) 0x00007f50d2c88675 : callq 0x7f50d2c88363 0x00007f50d2c8867a : mov %rax,-0x18(%rbp) 0x00007f50d2c8867e : mov -0x18(%rbp),%rax 0x00007f50d2c88682 : mov 0x10(%rax),%rax 0x00007f50d2c88686 : mov -0x50(%rbp),%rdx 0x00007f50d2c8868a : mov -0x48(%rbp),%rsi 0x00007f50d2c8868e : mov -0x18(%rbp),%rdi 0x00007f50d2c88692 : callq *%rax 0x00007f50d2c88694 : mov %eax,-0x40(%rbp) 0x00007f50d2c88697 : mov -0x40(%rbp),%eax 0x00007f50d2c8869a : test %eax,%eax 0x00007f50d2c8869c : sete %al 0x00007f50d2c8869f : movzbl %al,%eax 0x00007f50d2c886a2 : test %rax,%rax 0x00007f50d2c886a5 : jne 0x7f50d2c886b0 0x00007f50d2c886a7 : movb $0x0,-0x61(%rbp) 0x00007f50d2c886ab : jmpq 0x7f50d2c887c9 0x00007f50d2c886b0 : mov -0x48(%rbp),%rdi 0x00007f50d2c886b4 : callq 0x7f50d2c8839c 0x00007f50d2c886b9 : mov %al,-0x1(%rbp) 0x00007f50d2c886bc : movzbl -0x1(%rbp),%eax 0x00007f50d2c886c0 : xor $0x1,%eax 0x00007f50d2c886c3 : test %al,%al 0x00007f50d2c886c5 : je 0x7f50d2c88722 0x00007f50d2c886c7 : mov 0x32a602(%rip),%rax # 0x7f50d2fb2cd0 0x00007f50d2c886ce : mov (%rax),%rax 0x00007f50d2c886d1 : add $0x20,%rax 0x00007f50d2c886d5 : mov (%rax),%eax 0x00007f50d2c886d7 : test %eax,%eax 0x00007f50d2c886d9 : setg %al 0x00007f50d2c886dc : movzbl %al,%eax 0x00007f50d2c886df : test %rax,%rax 0x00007f50d2c886e2 : je 0x7f50d2c88722 0x00007f50d2c886e4 : lea 0x83385(%rip),%rcx # 0x7f50d2d0ba70 <__FUNCTION__.20613> 0x00007f50d2c886eb : lea 0x8338e(%rip),%rdx # 0x7f50d2d0ba80 0x00007f50d2c886f2 : mov $0x8,%esi 0x00007f50d2c886f7 : mov $0x1,%edi 0x00007f50d2c886fc : callq 0x7f50d2c29061 0x00007f50d2c88701 : xor $0x1,%eax 0x00007f50d2c88704 : test %al,%al 0x00007f50d2c88706 : jne 0x7f50d2c88722 0x00007f50d2c88708 : mov -0x50(%rbp),%rsi 0x00007f50d2c8870c : lea 0x8338d(%rip),%rdi # 0x7f50d2d0baa0 0x00007f50d2c88713 : mov $0x0,%eax ---Type to continue, or q to quit--- 0x00007f50d2c88718 : callq 0x7f50d2c292d5 0x00007f50d2c8871d : xor $0x1,%eax 0x00007f50d2c88720 : test %al,%al 0x00007f50d2c88722 : mov $0x0,%edi 0x00007f50d2c88727 : callq 0x7f50d2c81d2e 0x00007f50d2c8872c : mov %rax,-0x38(%rbp) 0x00007f50d2c88730 : mov -0x38(%rbp),%rax 0x00007f50d2c88734 : test %rax,%rax 0x00007f50d2c88737 : jne 0x7f50d2c88742 0x00007f50d2c88739 : movb $0x0,-0x61(%rbp) 0x00007f50d2c8873d : jmpq 0x7f50d2c887c9 0x00007f50d2c88742 : mov -0x38(%rbp),%rdi 0x00007f50d2c88746 : mov -0x48(%rbp),%rsi 0x00007f50d2c8874a : callq 0x7f50d2c86f13 0x00007f50d2c8874f : xor $0x1,%eax 0x00007f50d2c88752 : test %al,%al 0x00007f50d2c88754 : je 0x7f50d2c88774 0x00007f50d2c88756 : mov -0x38(%rbp),%rdi 0x00007f50d2c8875a : lea 0x8336d(%rip),%rsi # 0x7f50d2d0bace 0x00007f50d2c88761 : callq 0x7f50d2bd6f68 <_talloc_free@plt> 0x00007f50d2c88766 : movq $0x0,-0x38(%rbp) 0x00007f50d2c8876e : movb $0x0,-0x61(%rbp) 0x00007f50d2c88772 : jmp 0x7f50d2c887c9 0x00007f50d2c88774 : mov -0x38(%rbp),%rdi 0x00007f50d2c88778 : callq 0x7f50d2c7f716 0x00007f50d2c8877d : mov %rax,-0x10(%rbp) 0x00007f50d2c88781 : mov -0x10(%rbp),%rdi 0x00007f50d2c88785 : mov $0x44,%esi 0x00007f50d2c8878a : callq 0x7f50d2c0a261 0x00007f50d2c8878f : mov %rax,-0x60(%rbp) 0x00007f50d2c88793 : mov %rdx,-0x58(%rbp) 0x00007f50d2c88797 : mov -0x60(%rbp),%rax 0x00007f50d2c8879b : mov %rax,-0x30(%rbp) 0x00007f50d2c8879f : mov -0x58(%rbp),%rax 0x00007f50d2c887a3 : mov %rax,-0x28(%rbp) 0x00007f50d2c887a7 : lea -0x38(%rbp),%rax 0x00007f50d2c887ab : mov -0x30(%rbp),%rdx 0x00007f50d2c887af : mov -0x28(%rbp),%rcx 0x00007f50d2c887b3 : mov %rax,%r8 0x00007f50d2c887b6 : mov $0x8,%esi 0x00007f50d2c887bb : mov $0x0,%edi 0x00007f50d2c887c0 : callq 0x7f50d2c1b480 0x00007f50d2c887c5 : movb $0x1,-0x61(%rbp) 0x00007f50d2c887c9 : movzbl -0x61(%rbp),%eax 0x00007f50d2c887cd : leaveq 0x00007f50d2c887ce : retq End of assembler dump. (gdb) disassemble pam_sm_authenticate Dump of assembler code for function pam_sm_authenticate: 0x00007f50d2bd822c : push %rbp 0x00007f50d2bd822d : mov %rsp,%rbp 0x00007f50d2bd8230 : sub $0x70,%rsp 0x00007f50d2bd8234 : mov %rdi,-0x48(%rbp) 0x00007f50d2bd8238 : mov %esi,-0x4c(%rbp) 0x00007f50d2bd823b : mov %edx,-0x50(%rbp) 0x00007f50d2bd823e : mov %rcx,-0x58(%rbp) 0x00007f50d2bd8242 : movq $0x0,-0x20(%rbp) 0x00007f50d2bd824a : movq $0x0,-0x18(%rbp) 0x00007f50d2bd8252 : movq $0x0,-0x10(%rbp) 0x00007f50d2bd825a : movq $0x0,-0x40(%rbp) 0x00007f50d2bd8262 : callq 0x7f50d2c3901c 0x00007f50d2bd8267 : mov $0x1,%edi 0x00007f50d2bd826c : callq 0x7f50d2bedc1a 0x00007f50d2bd8271 : mov -0x58(%rbp),%rcx 0x00007f50d2bd8275 : mov -0x50(%rbp),%edx 0x00007f50d2bd8278 : mov -0x4c(%rbp),%esi 0x00007f50d2bd827b : mov -0x48(%rbp),%rdi 0x00007f50d2bd827f : callq 0x7f50d2bd998d 0x00007f50d2bd8284 : mov %eax,-0x28(%rbp) 0x00007f50d2bd8287 : mov $0x4,%edi 0x00007f50d2bd828c : callq 0x7f50d2bd6ff8 0x00007f50d2bd8291 : mov %rax,-0x20(%rbp) 0x00007f50d2bd8295 : mov $0x1,%esi 0x00007f50d2bd829a : mov $0xd,%edi 0x00007f50d2bd829f : callq 0x7f50d2c057d3 0x00007f50d2bd82a4 : mov %rax,-0x10(%rbp) 0x00007f50d2bd82a8 : lea -0x38(%rbp),%rsi 0x00007f50d2bd82ac : mov -0x48(%rbp),%rdi 0x00007f50d2bd82b0 : lea 0x10d7b3(%rip),%rdx # 0x7f50d2ce5a6a <_fini+134> 0x00007f50d2bd82b7 : callq 0x7f50d2bd6c58 0x00007f50d2bd82bc : mov %eax,-0x24(%rbp) 0x00007f50d2bd82bf : cmpl $0x0,-0x24(%rbp) 0x00007f50d2bd82c3 : je 0x7f50d2bd832e 0x00007f50d2bd82c5 : mov 0x3c03e1(%rip),%eax # 0x7f50d2f986ac 0x00007f50d2bd82cb : and -0x28(%rbp),%eax 0x00007f50d2bd82ce : test %eax,%eax 0x00007f50d2bd82d0 : je 0x7f50d2bd82ec 0x00007f50d2bd82d2 : mov -0x48(%rbp),%rdi 0x00007f50d2bd82d6 : lea 0x10d798(%rip),%rdx # 0x7f50d2ce5a75 <_fini+145> 0x00007f50d2bd82dd : mov $0x7,%esi 0x00007f50d2bd82e2 : mov $0x0,%eax 0x00007f50d2bd82e7 : callq 0x7f50d2bd976f <_log_err> 0x00007f50d2bd82ec : mov -0x10(%rbp),%rsi 0x00007f50d2bd82f0 : mov $0xd,%edi 0x00007f50d2bd82f5 : callq 0x7f50d2c057d3 0x00007f50d2bd82fa : cmpq $0x0,-0x20(%rbp) 0x00007f50d2bd82ff : je 0x7f50d2bd8323 0x00007f50d2bd8301 : mov -0x20(%rbp),%rdx ---Type to continue, or q to quit--- 0x00007f50d2bd8305 : mov -0x24(%rbp),%eax 0x00007f50d2bd8308 : mov %eax,(%rdx) 0x00007f50d2bd830a : mov -0x20(%rbp),%rdx 0x00007f50d2bd830e : mov -0x48(%rbp),%rdi 0x00007f50d2bd8312 : mov $0x0,%ecx 0x00007f50d2bd8317 : lea 0x10d775(%rip),%rsi # 0x7f50d2ce5a93 <_fini+175> 0x00007f50d2bd831e : callq 0x7f50d2bd7138 0x00007f50d2bd8323 : mov -0x24(%rbp),%eax 0x00007f50d2bd8326 : mov %eax,-0x5c(%rbp) 0x00007f50d2bd8329 : jmpq 0x7f50d2bd877c 0x00007f50d2bd832e : mov 0x3c0378(%rip),%eax # 0x7f50d2f986ac 0x00007f50d2bd8334 : and -0x28(%rbp),%eax 0x00007f50d2bd8337 : test %eax,%eax 0x00007f50d2bd8339 : je 0x7f50d2bd8359 0x00007f50d2bd833b : mov -0x38(%rbp),%rcx 0x00007f50d2bd833f : mov -0x48(%rbp),%rdi 0x00007f50d2bd8343 : lea 0x10d75c(%rip),%rdx # 0x7f50d2ce5aa6 <_fini+194> 0x00007f50d2bd834a : mov $0x7,%esi 0x00007f50d2bd834f : mov $0x0,%eax 0x00007f50d2bd8354 : callq 0x7f50d2bd976f <_log_err> 0x00007f50d2bd8359 : callq 0x7f50d2bd7258 0x00007f50d2bd835e : test %eax,%eax 0x00007f50d2bd8360 : je 0x7f50d2bd83c5 0x00007f50d2bd8362 : mov -0x48(%rbp),%rdi 0x00007f50d2bd8366 : lea 0x10d753(%rip),%rdx # 0x7f50d2ce5ac0 <_fini+220> 0x00007f50d2bd836d : mov $0x7,%esi 0x00007f50d2bd8372 : mov $0x0,%eax 0x00007f50d2bd8377 : callq 0x7f50d2bd976f <_log_err> 0x00007f50d2bd837c : movl $0x9,-0x24(%rbp) 0x00007f50d2bd8383 : mov -0x10(%rbp),%rsi 0x00007f50d2bd8387 : mov $0xd,%edi 0x00007f50d2bd838c : callq 0x7f50d2c057d3 0x00007f50d2bd8391 : cmpq $0x0,-0x20(%rbp) 0x00007f50d2bd8396 : je 0x7f50d2bd83ba 0x00007f50d2bd8398 : mov -0x20(%rbp),%rdx 0x00007f50d2bd839c : mov -0x24(%rbp),%eax 0x00007f50d2bd839f : mov %eax,(%rdx) 0x00007f50d2bd83a1 : mov -0x20(%rbp),%rdx 0x00007f50d2bd83a5 : mov -0x48(%rbp),%rdi 0x00007f50d2bd83a9 : mov $0x0,%ecx 0x00007f50d2bd83ae : lea 0x10d6de(%rip),%rsi # 0x7f50d2ce5a93 <_fini+175> 0x00007f50d2bd83b5 : callq 0x7f50d2bd7138 0x00007f50d2bd83ba : mov -0x24(%rbp),%eax 0x00007f50d2bd83bd : mov %eax,-0x5c(%rbp) 0x00007f50d2bd83c0 : jmpq 0x7f50d2bd877c 0x00007f50d2bd83c5 : mov $0x0,%esi 0x00007f50d2bd83ca : mov $0x1,%edi 0x00007f50d2bd83cf : callq 0x7f50d2c8a6f7 0x00007f50d2bd83d4 : xor $0x1,%eax 0x00007f50d2bd83d7 : test %al,%al ---Type to continue, or q to quit--- 0x00007f50d2bd83d9 : je 0x7f50d2bd843e 0x00007f50d2bd83db : mov -0x48(%rbp),%rdi 0x00007f50d2bd83df : lea 0x10d71a(%rip),%rdx # 0x7f50d2ce5b00 <_fini+284> 0x00007f50d2bd83e6 : mov $0x1,%esi 0x00007f50d2bd83eb : mov $0x0,%eax 0x00007f50d2bd83f0 : callq 0x7f50d2bd976f <_log_err> 0x00007f50d2bd83f5 : movl $0x9,-0x24(%rbp) 0x00007f50d2bd83fc : mov -0x10(%rbp),%rsi 0x00007f50d2bd8400 : mov $0xd,%edi 0x00007f50d2bd8405 : callq 0x7f50d2c057d3 0x00007f50d2bd840a : cmpq $0x0,-0x20(%rbp) 0x00007f50d2bd840f : je 0x7f50d2bd8433 0x00007f50d2bd8411 : mov -0x20(%rbp),%rdx 0x00007f50d2bd8415 : mov -0x24(%rbp),%eax 0x00007f50d2bd8418 : mov %eax,(%rdx) 0x00007f50d2bd841a : mov -0x20(%rbp),%rdx 0x00007f50d2bd841e : mov -0x48(%rbp),%rdi 0x00007f50d2bd8422 : mov $0x0,%ecx 0x00007f50d2bd8427 : lea 0x10d665(%rip),%rsi # 0x7f50d2ce5a93 <_fini+175> 0x00007f50d2bd842e : callq 0x7f50d2bd7138 0x00007f50d2bd8433 : mov -0x24(%rbp),%eax 0x00007f50d2bd8436 : mov %eax,-0x5c(%rbp) 0x00007f50d2bd8439 : jmpq 0x7f50d2bd877c 0x00007f50d2bd843e : mov $0x0,%edi 0x00007f50d2bd8443 : callq 0x7f50d2c81d2e 0x00007f50d2bd8448 : mov %rax,-0x18(%rbp) 0x00007f50d2bd844c : cmpq $0x0,-0x18(%rbp) 0x00007f50d2bd8451 : jne 0x7f50d2bd84c1 0x00007f50d2bd8453 : mov -0x48(%rbp),%rdi 0x00007f50d2bd8457 : lea 0x10d6c8(%rip),%rdx # 0x7f50d2ce5b26 <_fini+322> 0x00007f50d2bd845e : mov $0x1,%esi 0x00007f50d2bd8463 : mov $0x0,%eax 0x00007f50d2bd8468 : callq 0x7f50d2bd976f <_log_err> 0x00007f50d2bd846d : movl $0xc0000017,-0x30(%rbp) 0x00007f50d2bd8474 : mov -0x30(%rbp),%edi 0x00007f50d2bd8477 : callq 0x7f50d2ce424c 0x00007f50d2bd847c : mov %eax,-0x24(%rbp) 0x00007f50d2bd847f : mov -0x10(%rbp),%rsi 0x00007f50d2bd8483 : mov $0xd,%edi 0x00007f50d2bd8488 : callq 0x7f50d2c057d3 0x00007f50d2bd848d : cmpq $0x0,-0x20(%rbp) 0x00007f50d2bd8492 : je 0x7f50d2bd84b6 0x00007f50d2bd8494 : mov -0x20(%rbp),%rdx 0x00007f50d2bd8498 : mov -0x24(%rbp),%eax 0x00007f50d2bd849b : mov %eax,(%rdx) 0x00007f50d2bd849d : mov -0x20(%rbp),%rdx 0x00007f50d2bd84a1 : mov -0x48(%rbp),%rdi 0x00007f50d2bd84a5 : mov $0x0,%ecx 0x00007f50d2bd84aa : lea 0x10d5e2(%rip),%rsi # 0x7f50d2ce5a93 <_fini+175> 0x00007f50d2bd84b1 : callq 0x7f50d2bd7138 ---Type to continue, or q to quit--- 0x00007f50d2bd84b6 : mov -0x24(%rbp),%eax 0x00007f50d2bd84b9 : mov %eax,-0x5c(%rbp) 0x00007f50d2bd84bc : jmpq 0x7f50d2bd877c 0x00007f50d2bd84c1 : mov -0x38(%rbp),%rsi 0x00007f50d2bd84c5 : mov -0x18(%rbp),%rdi 0x00007f50d2bd84c9 : callq 0x7f50d2c88665 0x00007f50d2bd84ce : mov %al,-0x1(%rbp) 0x00007f50d2bd84d1 : mov 0x3c01f5(%rip),%eax # 0x7f50d2f986cc 0x00007f50d2bd84d7 : and -0x28(%rbp),%eax 0x00007f50d2bd84da : test %eax,%eax 0x00007f50d2bd84dc : je 0x7f50d2bd8556 0x00007f50d2bd84de : movzbl -0x1(%rbp),%eax 0x00007f50d2bd84e2 : mov -0x38(%rbp),%rdx 0x00007f50d2bd84e6 : mov -0x18(%rbp),%rcx 0x00007f50d2bd84ea : mov -0x28(%rbp),%esi 0x00007f50d2bd84ed : mov -0x48(%rbp),%rdi 0x00007f50d2bd84f1 : mov %eax,%r8d 0x00007f50d2bd84f4 : callq 0x7f50d2bd8805 <_smb_add_user> 0x00007f50d2bd84f9 : mov %eax,-0x24(%rbp) 0x00007f50d2bd84fc : mov -0x18(%rbp),%rdi 0x00007f50d2bd8500 : lea 0x10d641(%rip),%rsi # 0x7f50d2ce5b48 <_fini+356> 0x00007f50d2bd8507 : callq 0x7f50d2bd6f68 <_talloc_free@plt> 0x00007f50d2bd850c : movq $0x0,-0x18(%rbp) 0x00007f50d2bd8514 : mov -0x10(%rbp),%rsi 0x00007f50d2bd8518 : mov $0xd,%edi 0x00007f50d2bd851d : callq 0x7f50d2c057d3 0x00007f50d2bd8522 : cmpq $0x0,-0x20(%rbp) 0x00007f50d2bd8527 : je 0x7f50d2bd854b 0x00007f50d2bd8529 : mov -0x20(%rbp),%rdx 0x00007f50d2bd852d : mov -0x24(%rbp),%eax 0x00007f50d2bd8530 : mov %eax,(%rdx) 0x00007f50d2bd8532 : mov -0x20(%rbp),%rdx 0x00007f50d2bd8536 : mov -0x48(%rbp),%rdi 0x00007f50d2bd853a : mov $0x0,%ecx 0x00007f50d2bd853f : lea 0x10d54d(%rip),%rsi # 0x7f50d2ce5a93 <_fini+175> 0x00007f50d2bd8546 : callq 0x7f50d2bd7138 0x00007f50d2bd854b : mov -0x24(%rbp),%eax 0x00007f50d2bd854e : mov %eax,-0x5c(%rbp) 0x00007f50d2bd8551 : jmpq 0x7f50d2bd877c 0x00007f50d2bd8556 : movzbl -0x1(%rbp),%eax 0x00007f50d2bd855a : xor $0x1,%eax 0x00007f50d2bd855d : test %al,%al 0x00007f50d2bd855f : je 0x7f50d2bd85ec 0x00007f50d2bd8565 : mov -0x38(%rbp),%rcx 0x00007f50d2bd8569 : mov -0x48(%rbp),%rdi 0x00007f50d2bd856d : lea 0x10d5f4(%rip),%rdx # 0x7f50d2ce5b68 <_fini+388> 0x00007f50d2bd8574 : mov $0x1,%esi 0x00007f50d2bd8579 : mov $0x0,%eax 0x00007f50d2bd857e : callq 0x7f50d2bd976f <_log_err> 0x00007f50d2bd8583 : movl $0xa,-0x24(%rbp) ---Type to continue, or q to quit--- 0x00007f50d2bd858a : mov -0x18(%rbp),%rdi 0x00007f50d2bd858e : lea 0x10d5fb(%rip),%rsi # 0x7f50d2ce5b90 <_fini+428> 0x00007f50d2bd8595 : callq 0x7f50d2bd6f68 <_talloc_free@plt> 0x00007f50d2bd859a : movq $0x0,-0x18(%rbp) 0x00007f50d2bd85a2 : movq $0x0,-0x18(%rbp) 0x00007f50d2bd85aa : mov -0x10(%rbp),%rsi 0x00007f50d2bd85ae : mov $0xd,%edi 0x00007f50d2bd85b3 : callq 0x7f50d2c057d3 0x00007f50d2bd85b8 : cmpq $0x0,-0x20(%rbp) 0x00007f50d2bd85bd : je 0x7f50d2bd85e1 0x00007f50d2bd85bf : mov -0x20(%rbp),%rdx 0x00007f50d2bd85c3 : mov -0x24(%rbp),%eax 0x00007f50d2bd85c6 : mov %eax,(%rdx) 0x00007f50d2bd85c8 : mov -0x20(%rbp),%rdx 0x00007f50d2bd85cc : mov -0x48(%rbp),%rdi 0x00007f50d2bd85d0 : mov $0x0,%ecx 0x00007f50d2bd85d5 : lea 0x10d4b7(%rip),%rsi # 0x7f50d2ce5a93 <_fini+175> 0x00007f50d2bd85dc : callq 0x7f50d2bd7138 0x00007f50d2bd85e1 : mov -0x24(%rbp),%eax 0x00007f50d2bd85e4 : mov %eax,-0x5c(%rbp) 0x00007f50d2bd85e7 : jmpq 0x7f50d2bd877c 0x00007f50d2bd85ec : mov -0x18(%rbp),%rsi 0x00007f50d2bd85f0 : mov -0x28(%rbp),%edi 0x00007f50d2bd85f3 : callq 0x7f50d2bda3b4 <_smb_blankpasswd> 0x00007f50d2bd85f8 : test %eax,%eax 0x00007f50d2bd85fa : je 0x7f50d2bd865d 0x00007f50d2bd85fc : mov -0x18(%rbp),%rdi 0x00007f50d2bd8600 : lea 0x10d5a9(%rip),%rsi # 0x7f50d2ce5bb0 <_fini+460> 0x00007f50d2bd8607 : callq 0x7f50d2bd6f68 <_talloc_free@plt> 0x00007f50d2bd860c : movq $0x0,-0x18(%rbp) 0x00007f50d2bd8614 : movl $0x0,-0x24(%rbp) 0x00007f50d2bd861b : mov -0x10(%rbp),%rsi 0x00007f50d2bd861f : mov $0xd,%edi 0x00007f50d2bd8624 : callq 0x7f50d2c057d3 0x00007f50d2bd8629 : cmpq $0x0,-0x20(%rbp) 0x00007f50d2bd862e : je 0x7f50d2bd8652 0x00007f50d2bd8630 : mov -0x20(%rbp),%rdx 0x00007f50d2bd8634 : mov -0x24(%rbp),%eax 0x00007f50d2bd8637 : mov %eax,(%rdx) 0x00007f50d2bd8639 : mov -0x20(%rbp),%rdx 0x00007f50d2bd863d : mov -0x48(%rbp),%rdi 0x00007f50d2bd8641 : mov $0x0,%ecx 0x00007f50d2bd8646 : lea 0x10d446(%rip),%rsi # 0x7f50d2ce5a93 <_fini+175> 0x00007f50d2bd864d : callq 0x7f50d2bd7138 0x00007f50d2bd8652 : mov -0x24(%rbp),%eax 0x00007f50d2bd8655 : mov %eax,-0x5c(%rbp) 0x00007f50d2bd8658 : jmpq 0x7f50d2bd877c 0x00007f50d2bd865d : mov -0x28(%rbp),%esi 0x00007f50d2bd8660 : mov -0x48(%rbp),%rdi 0x00007f50d2bd8664 : lea -0x40(%rbp),%rax ---Type to continue, or q to quit--- 0x00007f50d2bd8668 : mov %rax,(%rsp) 0x00007f50d2bd866c : lea 0x10d55c(%rip),%r9 # 0x7f50d2ce5bcf <_fini+491> 0x00007f50d2bd8673 : mov $0x0,%r8d 0x00007f50d2bd8679 : lea 0x10d559(%rip),%rcx # 0x7f50d2ce5bd9 <_fini+501> 0x00007f50d2bd8680 : mov $0x0,%edx 0x00007f50d2bd8685 : callq 0x7f50d2bda41b <_smb_read_password> 0x00007f50d2bd868a : mov %eax,-0x24(%rbp) 0x00007f50d2bd868d : cmpl $0x0,-0x24(%rbp) 0x00007f50d2bd8691 : je 0x7f50d2bd8708 0x00007f50d2bd8693 : mov -0x38(%rbp),%rcx 0x00007f50d2bd8697 : mov -0x48(%rbp),%rdi 0x00007f50d2bd869b : lea 0x10d546(%rip),%rdx # 0x7f50d2ce5be8 <_fini+516> 0x00007f50d2bd86a2 : mov $0x2,%esi 0x00007f50d2bd86a7 : mov $0x0,%eax 0x00007f50d2bd86ac : callq 0x7f50d2bd976f <_log_err> 0x00007f50d2bd86b1 : mov -0x18(%rbp),%rdi 0x00007f50d2bd86b5 : lea 0x10d554(%rip),%rsi # 0x7f50d2ce5c10 <_fini+556> 0x00007f50d2bd86bc : callq 0x7f50d2bd6f68 <_talloc_free@plt> 0x00007f50d2bd86c1 : movq $0x0,-0x18(%rbp) 0x00007f50d2bd86c9 : mov -0x10(%rbp),%rsi 0x00007f50d2bd86cd : mov $0xd,%edi 0x00007f50d2bd86d2 : callq 0x7f50d2c057d3 0x00007f50d2bd86d7 : cmpq $0x0,-0x20(%rbp) 0x00007f50d2bd86dc : je 0x7f50d2bd8700 0x00007f50d2bd86de : mov -0x20(%rbp),%rdx 0x00007f50d2bd86e2 : mov -0x24(%rbp),%eax 0x00007f50d2bd86e5 : mov %eax,(%rdx) 0x00007f50d2bd86e7 : mov -0x20(%rbp),%rdx 0x00007f50d2bd86eb : mov -0x48(%rbp),%rdi 0x00007f50d2bd86ef : mov $0x0,%ecx 0x00007f50d2bd86f4 : lea 0x10d398(%rip),%rsi # 0x7f50d2ce5a93 <_fini+175> 0x00007f50d2bd86fb : callq 0x7f50d2bd7138 0x00007f50d2bd8700 : mov -0x24(%rbp),%eax 0x00007f50d2bd8703 : mov %eax,-0x5c(%rbp) 0x00007f50d2bd8706 : jmp 0x7f50d2bd877c 0x00007f50d2bd8708 : mov -0x40(%rbp),%rdx 0x00007f50d2bd870c : mov -0x28(%rbp),%ecx 0x00007f50d2bd870f : mov -0x18(%rbp),%rsi 0x00007f50d2bd8713 : mov -0x48(%rbp),%rdi 0x00007f50d2bd8717 : callq 0x7f50d2bd9f0c <_smb_verify_password> 0x00007f50d2bd871c : mov %eax,-0x24(%rbp) 0x00007f50d2bd871f : mov -0x18(%rbp),%rdi 0x00007f50d2bd8723 : lea 0x10d506(%rip),%rsi # 0x7f50d2ce5c30 <_fini+588> 0x00007f50d2bd872a : callq 0x7f50d2bd6f68 <_talloc_free@plt> 0x00007f50d2bd872f : movq $0x0,-0x18(%rbp) 0x00007f50d2bd8737 : movq $0x0,-0x40(%rbp) 0x00007f50d2bd873f : mov -0x10(%rbp),%rsi 0x00007f50d2bd8743 : mov $0xd,%edi 0x00007f50d2bd8748 : callq 0x7f50d2c057d3 0x00007f50d2bd874d : cmpq $0x0,-0x20(%rbp) ---Type to continue, or q to quit--- 0x00007f50d2bd8752 : je 0x7f50d2bd8776 0x00007f50d2bd8754 : mov -0x20(%rbp),%rdx 0x00007f50d2bd8758 : mov -0x24(%rbp),%eax 0x00007f50d2bd875b : mov %eax,(%rdx) 0x00007f50d2bd875d : mov -0x20(%rbp),%rdx 0x00007f50d2bd8761 : mov -0x48(%rbp),%rdi 0x00007f50d2bd8765 : mov $0x0,%ecx 0x00007f50d2bd876a : lea 0x10d322(%rip),%rsi # 0x7f50d2ce5a93 <_fini+175> 0x00007f50d2bd8771 : callq 0x7f50d2bd7138 0x00007f50d2bd8776 : mov -0x24(%rbp),%eax 0x00007f50d2bd8779 : mov %eax,-0x5c(%rbp) 0x00007f50d2bd877c : mov -0x5c(%rbp),%eax 0x00007f50d2bd877f : leaveq 0x00007f50d2bd8780 : retq End of assembler dump. this is my configure ./configure \ --build=$(GNU_HOST_NAME) \ --libdir=/usr/lib64 \ --host=$(GNU_TARGET_NAME) \ --prefix=$(SAMBA_PREFIX) \ $(SAMBA_LOCALSTATEDIR_SETTING) \ --disable-pie \ --disable-cups \ --disable-iprint \ --with-fhs \ --with-syslog \ --enable-shared \ --enable-static \ --enable-debug \ --with-configdir=/etc/samba \ --with-libtalloc \ --with-libtdb \ --with-logfilebase=/tmp/samba \ --enable-external-libtdb=no \ --enable-external-libtalloc=no \ --enable-external-libtevent=no \ --enable-external-libldb=no \ --enable-external-libnetapi=yes \ --with-lockdir=/tmp/samba \ --with-piddir=/tmp/samba \ --with-swatdir=/tmp/samba \ --with-privatedir=/etc/samba/private \ --with-sendfile-support \ --with-ldap \ --with-ads \ --with-krb5=$(TARGET_DIR)/usr/lib \ --with-pam \ --with-syslog \ --with-utmp \ --with-pammodulesdir=/lib/security \ --with-pam_smbpass \ --with-winbind \ --with-acl-support \ --with-cifsumount \ --with-libiconv=$(TARGET_DIR)/usr \ --with-pthreads \ --with-dnsupdate \ --with-cachedir=$(SAMBA_CACHE_DIR) \ --disable-avahi \ --with-shared-modules=idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_ldap,idmap_tdb2 \ ); touch $(SAMBA_DIR)/.configured;