I run samba ( ver 3.0.26a ) on a linux box ( Fedora 4 ) so that users from a Windows 2003 domain can access those files on the linux box. I compiled the samba and configured it with the command : configure --with-ads The /usr/local/samba/lib/smb.conf is : -------------------------------------- [global] domain master = no local master = no preferred master = no os level = 0 netbios name = linuxbox WORKGROUP=XXX security = ADS realm = XXX.YYY.EDU password server = 111.222.333.111 server string = "linux Server" log file = /var/log/samba.log socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 encrypt passwords = yes wins server = 111.222.333.444 create mask = 775 directory mask = 775 [project] path = /home/project writeable = yes # ldd /usr/local/samba/sbin/smbd -------------------------------- linux-gate.so.1 => (0x001ba000) libldap-2.2.so.7 => /usr/lib/libldap-2.2.so.7 (0x005a9000) liblber-2.2.so.7 => /usr/lib/liblber-2.2.so.7 (0x002b1000) libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x0035c000) libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00a1d000) libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00453000) libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x0089b000) libcom_err.so.2 => /lib/libcom_err.so.2 (0x00111000) libresolv.so.2 => /lib/libresolv.so.2 (0x0078f000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x00177000) libnsl.so.1 => /lib/libnsl.so.1 (0x00114000) libdl.so.2 => /lib/libdl.so.2 (0x00978000) libpopt.so.0 => /usr/lib/libpopt.so.0 (0x0012a000) libc.so.6 => /lib/libc.so.6 (0x00477000) libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00132000) libssl.so.5 => /lib/libssl.so.5 (0x00b17000) libcrypto.so.5 => /lib/libcrypto.so.5 (0x005df000) /lib/ld-linux.so.2 (0x003bb000) I have been using samba on a linux box like this for years. Users do not have any problem accessing the linux files. However I have noticed that the number of smbd processes keeps growing. This phenomenon also occurred earlier when I was using samba 3.0.25 # ps ax | grep mbd ------------------ 20598 ? Ss 0:00 /usr/local/samba/sbin/smbd -D 20600 ? Ss 0:00 /usr/local/samba/sbin/nmbd -D 20602 ? S 0:00 /usr/local/samba/sbin/smbd -D 20697 ? S 0:00 /usr/local/samba/sbin/smbd -D 20698 ? S 0:00 /usr/local/samba/sbin/smbd -D 20956 ? S 0:00 /usr/local/samba/sbin/smbd -D 21217 ? S 0:00 /usr/local/samba/sbin/smbd -D 21218 ? S 0:00 /usr/local/samba/sbin/smbd -D ..... # ps aux | grep mbd ------------------- root 20598 0.0 0.7 10732 3656 ? Ss Oct11 0:00 /usr/local/samba/sbin/smbd -D root 20600 0.0 0.4 8088 2212 ? Ss Oct11 0:00 /usr/local/samba/sbin/nmbd -D root 20602 0.0 0.7 10732 3648 ? S Oct11 0:00 /usr/local/samba/sbin/smbd -D root 20697 0.0 0.7 11976 3784 ? S Oct11 0:00 /usr/local/samba/sbin/smbd -D root 20698 0.0 0.7 11992 3908 ? S Oct11 0:00 /usr/local/samba/sbin/smbd -D root 20956 0.0 0.7 11992 3912 ? S Oct11 0:00 /usr/local/samba/sbin/smbd -D .... # ps alx | grep mbd ------------------- 5 0 20598 1 16 0 10732 3656 - Ss ? 0:00 /usr/local/samba/sbin/smbd -D 5 0 20600 1 16 0 8088 2212 - Ss ? 0:00 /usr/local/samba/sbin/nmbd -D 1 0 20602 20598 19 0 10732 3648 pause S ? 0:00 /usr/local/samba/sbin/smbd -D 5 0 20697 20598 17 0 11976 3784 322475 S ? 0:00 /usr/local/samba/sbin/smbd -D 5 0 20698 20598 16 0 11992 3908 322475 S ? 0:00 /usr/local/samba/sbin/smbd -D 5 0 20956 20598 16 0 11992 3912 322475 S ? 0:00 /usr/local/samba/sbin/smbd -D ....... Excerpt from /var/log/samba.log ------------------------------- Whenever a new smbd process is created, 'Backtrace' and 'Memory Map' outputs show up. Following is an example. ........ [2007/10/12 12:26:06, 1] smbd/sesssetup.c:reply_spnego_kerberos(439) Username XXX\AAA$ is invalid on this system *** glibc detected *** /usr/local/samba/sbin/smbd: free(): invalid pointer: 0x001ac7f0 *** ======= Backtrace: ========/lib/libc.so.6[0xc8d424] /lib/libc.so.6(__libc_free+0x77)[0xc8d95f] /lib/libcom_err.so.2(remove_error_table+0x4b)[0x1adabb] /usr/lib/libkrb5.so.3[0x14a823] /usr/lib/libkrb5.so.3[0x14a5c7] /usr/lib/libkrb5.so.3[0x19b3ba] /lib/ld-linux.so.2[0x11f058] /lib/libc.so.6(exit+0xc5)[0xc54c69] /usr/local/samba/sbin/smbd(exit_server+0x0)[0x674afa] /usr/local/samba/sbin/smbd(exit_server_fault+0x0)[0x674b1a] /usr/local/samba/sbin/smbd(main+0x821)[0x67539a] /lib/libc.so.6(__libc_start_main+0xc6)[0xc3ede6] /usr/local/samba/sbin/smbd[0x42dbc9] ======= Memory map: =======00111000-0012b000 r-xp 00000000 50:02 2753632 /lib/ld-2.3.5.so 0012b000-0012c000 r-xp 00019000 50:02 2753632 /lib/ld-2.3.5.so 0012c000-0012d000 rwxp 0001a000 50:02 2753632 /lib/ld-2.3.5.so 0012d000-0013a000 r-xp 00000000 50:02 8618776 /usr/lib/liblber-2.2.so.7.0.16 0013a000-0013b000 rwxp 0000c000 50:02 8618776 /usr/lib/liblber-2.2.so.7.0.16 0013b000-001aa000 r-xp 00000000 50:02 8623804 /usr/lib/libkrb5.so.3.2 001aa000-001ad000 rwxp 0006e000 50:02 8623804 /usr/lib/libkrb5.so.3.2 001ad000-001af000 r-xp 00000000 50:02 2753644 /lib/libcom_err.so.2.1 001af000-001b0000 rwxp 00001000 50:02 2753644 /lib/libcom_err.so.2.1 001b0000-001bf000 r-xp 00000000 50:02 2749891 /lib/libresolv-2.3.5.so 001bf000-001c0000 r-xp 0000e000 50:02 2749891 /lib/libresolv-2.3.5.so 001c0000-001c1000 rwxp 0000f000 50:02 2749891 /lib/libresolv-2.3.5.so 001c1000-001c3000 rwxp 001c1000 00:00 0 001c3000-001d8000 r-xp 00000000 50:02 8618740 /usr/lib/libsasl2.so.2.0.20 001d8000-001d9000 rwxp 00015000 50:02 8618740 /usr/lib/libsasl2.so.2.0.20 001d9000-0020e000 r-xp 00000000 50:02 2749959 /lib/libssl.so.0.9.8 0020e000-00212000 rwxp 00034000 50:02 2749959 /lib/libssl.so.0.9.8 00212000-00318000 r-xp 00000000 50:02 2749957 /lib/libcrypto.so.0.9.8 00318000-0032d000 rwxp 00106000 50:02 2749957 /lib/libcrypto.so.0.9.8 0032d000-00330000 rwxp 0032d000 00:00 0 00330000-00332000 r-xp 00000000 50:02 8614395 /usr/lib/gconv/UTF-16.so 00332000-00334000 rwxp 00001000 50:02 8614395 /usr/lib/gconv/UTF-16.so 00334000-00336000 r-xp 00000000 50:02 8614302 /usr/lib/gconv/IBM850.so 00336000-00338000 rwxp 00001000 50:02 8614302 /usr/lib/gconv/IBM850.so 00338000-00341000 r-xp 00000000 50:02 2749877 /lib/libnss_files-2.3.5.so 00341000-00342000 r-xp 00008000 50:02 2749877 /lib/libnss_files-2.3.5.so 00342000-00343000 rwxp 00009000 50:02 2749877 /lib/libnss_files-2.3.5.so 00367000-0039b000 r-xp 00000000 50:02 8619260 /usr/lib/libldap-2.2.so.7.0.16 0039b000-0039d000 rwxp 00033000 50:02 8619260 /usr/lib/libldap-2.2.so.7.0.16 003e5000-006f1000 r-xp 00000000 50:02 950288 /usr/local/samba/sbin/smbd 006f1000-0070e000 rwxp 0030c000 50:02 950288 /usr/local/samba/sbin/smbd 0070e000-00724000 rwxp 0070e000 00:00 0 00740000-00752000 r-xp 00000000 50:02 2749855 /lib/libnsl-2.3.5.so 00752000-00753000 r-xp 00011000 50:02 2749855 /lib/libnsl-2.3.5.so 00753000-00754000 rwxp 00012000 50:02 2749855 /lib/libnsl-2.3.5.so 00754000-00756000 rwxp 00754000 00:00 0 00777000-00779000 r-xp 00000000 50:02 2749826 /lib/libdl-2.3.5.so 00779000-0077a000 r-xp 00001000 50:02 2749826 /lib/libdl-2.3.5.so 0077a000-0077b000 rwxp 00002000 50:02 2749826 /lib/libdl-2.3.5.so 00797000-007ad000 r-xp 00000000 50:02 8623805 /usr/lib/libgssapi_krb5.so.2.2 007ad000-007ae000 rwxp 00016000 50:02 8623805 /usr/lib/libgssapi_krb5.so.2.2 00937000-0093e000 r-xp 00000000 50:02 8621998 /usr/lib/libpopt.so.0.0.0 0093e000-0093f000 rwxp 00006000 50:02 8621998 /usr/lib/libpopt.so.0.0.0 009cb000-009cc000 r-xp 009cb000 00:00 0 00c02000-00c25000 r-xp 00000000 50:02 8623803 /usr/lib/libk5crypto.so.3.0 00c25000-00c26000 rwxp 00023000 50:02 8623803 /usr/lib/libk5crypto.so.3.0 00c2a000-00d4e000 r-xp 00000000 50:02 2753633 /lib/libc-2.3.5.so 00d4e000-00d50000 r-xp 00124000 50:02 2753633 /lib/libc-2.3.5.so 00d50000-00d52000 rwxp 00126000 50:02 2753633 /lib/libc-2.3.5.so 00d52000-00d54000 rwxp 00d52000 00:00 0 00d9d000-00da1000 r-xp 00000000 50:02 2749874 /lib/libnss_dns-2.3.5.so 00da1000-00da2000 r-xp 00003000 50:02 2749874 /lib/libnss_dns-2.3.5.so 00da2000-00da3000 rwxp 00004000 50:02 2749874 /lib/libnss_dns-2.3.5.so 00e55000-00e5e000 r-xp 00000000 50:02 2753637 /lib/libgcc_s-4.0.0-20050520.so.1 00e5e000-00e5f000 rwxp 00009000 50:02 2753637 /lib/libgcc_s-4.0.0-20050520.so.1 00f68000-00f6d000 r-xp 00000000 50:02 2753641 /lib/libcrypt-2.3.5.so 00f6d000-00f6e000 r-xp 00004000 50:02 2753641 /lib/libcrypt-2.3.5.so 00f6e000-00f6f000 rwxp 00005000 50:02 2753641 /lib/libcrypt-2.3.5.so 00f6f000-00f96000 rwxp 00f6f000 00:00 0 00fb7000-00fb9000 r-xp 00000000 50:02 8614783 /usr/lib/libkrb5support.so.0.0 00fb9000-00fba000 rwxp 00001000 50:02 8614783 /usr/lib/libkrb5support.so.0.0 091ee000-09271000 rw-p 091ee000 00:00 0 [heap] b7b00000-b7b21000 rw-p b7b00000 00:00 0 b7b21000-b7c00000 ---p b7b21000 00:00 0 b7c6d000-b7c71000 rw-s 00000000 50:02 950354 /usr/local/samba/var/locks/netsamlogon_cache.tdb b7c71000-b7cb3000 rw-p b7c71000 00:00 0 b7cb3000-b7cb4000 rw-s 00000000 50:02 950345 /usr/local/samba/var/locks/group_mapping.tdb b7cb4000-b7cb5000 rw-s 00000000 50:02 950346 /usr/local/samba/var/locks/account_policy.tdb b7cb5000-b7cb6000 rw-s 00000000 50:02 950348 /usr/local/samba/var/locks/ntprinters.tdb b7cb6000-b7cb7000 rw-s 00000000 50:02 950347 /usr/local/samba/var/locks/ntdrivers.tdb b7ccc000-b7cce000 rw-s 00000000 50:02 950334 /usr/local/samba/private/secrets.tdb b7cce000-b7cde000 r--s 00000000 50:02 950319 /usr/local/samba/lib/valid.dat b7cde000-b7ce4000 r--s 00000000 50:02 8614426 /usr/lib/gconv/gconv-modules.cache b7ce4000-b7ee4000 r--p 00000000 50:02 8614205 /usr/lib/locale/locale-archive b7ee4000-b7f04000 r--s 00000000 50:02 950317 /usr/local/samba/lib/lowcase.dat b7f04000-b7f24000 r--s 00000000 50:02 950318 /usr/local/samba/lib/upcase.datb7f24000-b7f28000 rw-p b7f24000 00:00 0 b7f28000-b7f29000 rw-s 00000000 50:02 950349 /usr/local/samba/var/locks/ntforms.tdb b7f29000-b7f2c000 rw-s 00000000 50:02 950339 /usr/local/samba/var/locks/connections.tdb b7f2c000-b7f2d000 rw-s 00000000 50:02 950338 /usr/local/samba/var/locks/sessionid.tdb b7f2d000-b7f2e000 rw-s 00000000 50:02 950336 /usr/local/samba/var/locks/messages.tdb b7f2e000-b7f2f000 rw-p b7f2e000 00:00 0 bf919000-bf92d000 rwxp bf919000 00:00 0 [stack] bf92d000-bf92f000 rw-p bf92d000 00:00 0 [2007/10/12 12:58:06, 1] smbd/sesssetup.c:reply_spnego_kerberos(439) Username XXX\AAA$ is invalid on this system *** glibc detected *** /usr/local/samba/sbin/smbd: free(): invalid pointer: 0x001ac7f0 *** ======= Backtrace: ========/lib/libc.so.6[0xc8d424] /lib/libc.so.6(__libc_free+0x77)[0xc8d95f] /lib/libcom_err.so.2(remove_error_table+0x4b)[0x1adabb] /usr/lib/libkrb5.so.3[0x14a823] /usr/lib/libkrb5.so.3[0x14a5c7] /usr/lib/libkrb5.so.3[0x19b3ba] /lib/ld-linux.so.2[0x11f058] /lib/libc.so.6(exit+0xc5)[0xc54c69] /usr/local/samba/sbin/smbd(exit_server+0x0)[0x674afa] /usr/local/samba/sbin/smbd(exit_server_fault+0x0)[0x674b1a] /usr/local/samba/sbin/smbd(main+0x821)[0x67539a] /lib/libc.so.6(__libc_start_main+0xc6)[0xc3ede6] /usr/local/samba/sbin/smbd[0x42dbc9] ======= Memory map: =======00111000-0012b000 r-xp 00000000 50:02 2753632 /lib/ld-2.3.5.so 0012b000-0012c000 r-xp 00019000 50:02 2753632 /lib/ld-2.3.5.so 0012c000-0012d000 rwxp 0001a000 50:02 2753632 /lib/ld-2.3.5.so 0012d000-0013a000 r-xp 00000000 50:02 8618776 /usr/lib/liblber-2.2.so.7.0.16 0013a000-0013b000 rwxp 0000c000 50:02 8618776 /usr/lib/liblber-2.2.so.7.0.16 0013b000-001aa000 r-xp 00000000 50:02 8623804 /usr/lib/libkrb5.so.3.2 001aa000-001ad000 rwxp 0006e000 50:02 8623804 /usr/lib/libkrb5.so.3.2 001ad000-001af000 r-xp 00000000 50:02 2753644 /lib/libcom_err.so.2.1 001af000-001b0000 rwxp 00001000 50:02 2753644 /lib/libcom_err.so.2.1 001b0000-001bf000 r-xp 00000000 50:02 2749891 /lib/libresolv-2.3.5.so 001bf000-001c0000 r-xp 0000e000 50:02 2749891 /lib/libresolv-2.3.5.so 001c0000-001c1000 rwxp 0000f000 50:02 2749891 /lib/libresolv-2.3.5.so 001c1000-001c3000 rwxp 001c1000 00:00 0 001c3000-001d8000 r-xp 00000000 50:02 8618740 /usr/lib/libsasl2.so.2.0.20 001d8000-001d9000 rwxp 00015000 50:02 8618740 /usr/lib/libsasl2.so.2.0.20 001d9000-0020e000 r-xp 00000000 50:02 2749959 /lib/libssl.so.0.9.8 0020e000-00212000 rwxp 00034000 50:02 2749959 /lib/libssl.so.0.9.8 00212000-00318000 r-xp 00000000 50:02 2749957 /lib/libcrypto.so.0.9.8 00318000-0032d000 rwxp 00106000 50:02 2749957 /lib/libcrypto.so.0.9.8 0032d000-00330000 rwxp 0032d000 00:00 0 00330000-00332000 r-xp 00000000 50:02 8614395 /usr/lib/gconv/UTF-16.so 00332000-00334000 rwxp 00001000 50:02 8614395 /usr/lib/gconv/UTF-16.so 00334000-00336000 r-xp 00000000 50:02 8614302 /usr/lib/gconv/IBM850.so 00336000-00338000 rwxp 00001000 50:02 8614302 /usr/lib/gconv/IBM850.so 00338000-00341000 r-xp 00000000 50:02 2749877 /lib/libnss_files-2.3.5.so 00341000-00342000 r-xp 00008000 50:02 2749877 /lib/libnss_files-2.3.5.so 00342000-00343000 rwxp 00009000 50:02 2749877 /lib/libnss_files-2.3.5.so 00343000-0034c000 r-xp 00000000 50:02 2753637 /lib/libgcc_s-4.0.0-20050520.so.1 0034c000-0034d000 rwxp 00009000 50:02 2753637 /lib/libgcc_s-4.0.0-20050520.so.1 00367000-0039b000 r-xp 00000000 50:02 8619260 /usr/lib/libldap-2.2.so.7.0.16 0039b000-0039d000 rwxp 00033000 50:02 8619260 /usr/lib/libldap-2.2.so.7.0.16 003e5000-006f1000 r-xp 00000000 50:02 950288 /usr/local/samba/sbin/smbd 006f1000-0070e000 rwxp 0030c000 50:02 950288 /usr/local/samba/sbin/smbd 0070e000-00724000 rwxp 0070e000 00:00 0 00740000-00752000 r-xp 00000000 50:02 2749855 /lib/libnsl-2.3.5.so 00752000-00753000 r-xp 00011000 50:02 2749855 /lib/libnsl-2.3.5.so 00753000-00754000 rwxp 00012000 50:02 2749855 /lib/libnsl-2.3.5.so 00754000-00756000 rwxp 00754000 00:00 0 00777000-00779000 r-xp 00000000 50:02 2749826 /lib/libdl-2.3.5.so 00779000-0077a000 r-xp 00001000 50:02 2749826 /lib/libdl-2.3.5.so 0077a000-0077b000 rwxp 00002000 50:02 2749826 /lib/libdl-2.3.5.so 00797000-007ad000 r-xp 00000000 50:02 8623805 /usr/lib/libgssapi_krb5.so.2.2 007ad000-007ae000 rwxp 00016000 50:02 8623805 /usr/lib/libgssapi_krb5.so.2.2 00937000-0093e000 r-xp 00000000 50:02 8621998 /usr/lib/libpopt.so.0.0.0 0093e000-0093f000 rwxp 00006000 50:02 8621998 /usr/lib/libpopt.so.0.0.0 009cb000-009cc000 r-xp 009cb000 00:00 0 00c02000-00c25000 r-xp 00000000 50:02 8623803 /usr/lib/libk5crypto.so.3.0 00c25000-00c26000 rwxp 00023000 50:02 8623803 /usr/lib/libk5crypto.so.3.0 00c2a000-00d4e000 r-xp 00000000 50:02 2753633 /lib/libc-2.3.5.so 00d4e000-00d50000 r-xp 00124000 50:02 2753633 /lib/libc-2.3.5.so 00d50000-00d52000 rwxp 00126000 50:02 2753633 /lib/libc-2.3.5.so 00d52000-00d54000 rwxp 00d52000 00:00 0 00d9d000-00da1000 r-xp 00000000 50:02 2749874 /lib/libnss_dns-2.3.5.so 00da1000-00da2000 r-xp 00003000 50:02 2749874 /lib/libnss_dns-2.3.5.so 00da2000-00da3000 rwxp 00004000 50:02 2749874 /lib/libnss_dns-2.3.5.so 00f68000-00f6d000 r-xp 00000000 50:02 2753641 /lib/libcrypt-2.3.5.so 00f6d000-00f6e000 r-xp 00004000 50:02 2753641 /lib/libcrypt-2.3.5.so 00f6e000-00f6f000 rwxp 00005000 50:02 2753641 /lib/libcrypt-2.3.5.so 00f6f000-00f96000 rwxp 00f6f000 00:00 0 00fb7000-00fb9000 r-xp 00000000 50:02 8614783 /usr/lib/libkrb5support.so.0.0 00fb9000-00fba000 rwxp 00001000 50:02 8614783 /usr/lib/libkrb5support.so.0.0 091ee000-09271000 rw-p 091ee000 00:00 0 [heap] b7b00000-b7b21000 rw-p b7b00000 00:00 0 b7b21000-b7c00000 ---p b7b21000 00:00 0 b7c6d000-b7c71000 rw-s 00000000 50:02 950354 /usr/local/samba/var/locks/netsamlogon_cache.tdb b7c71000-b7cb3000 rw-p b7c71000 00:00 0 b7cb3000-b7cb4000 rw-s 00000000 50:02 950345 /usr/local/samba/var/locks/group_mapping.tdb b7cb4000-b7cb5000 rw-s 00000000 50:02 950346 /usr/local/samba/var/locks/account_policy.tdb b7cb5000-b7cb6000 rw-s 00000000 50:02 950348 /usr/local/samba/var/locks/ntprinters.tdb b7cb6000-b7cb7000 rw-s 00000000 50:02 950347 /usr/local/samba/var/locks/ntdrivers.tdb b7ccc000-b7cce000 rw-s 00000000 50:02 950334 /usr/local/samba/private/secrets.tdb b7cce000-b7cde000 r--s 00000000 50:02 950319 /usr/local/samba/lib/valid.dat b7cde000-b7ce4000 r--s 00000000 50:02 8614426 /usr/lib/gconv/gconv-modules.cache b7ce4000-b7ee4000 r--p 00000000 50:02 8614205 /usr/lib/locale/locale-archive b7ee4000-b7f04000 r--s 00000000 50:02 950317 /usr/local/samba/lib/lowcase.dat b7f04000-b7f24000 r--s 00000000 50:02 950318 /usr/local/samba/lib/upcase.datb7f24000-b7f28000 rw-p b7f24000 00:00 0 b7f28000-b7f29000 rw-s 00000000 50:02 950349 /usr/local/samba/var/locks/ntforms.tdb b7f29000-b7f2c000 rw-s 00000000 50:02 950339 /usr/local/samba/var/locks/connections.tdb b7f2c000-b7f2d000 rw-s 00000000 50:02 950338 /usr/local/samba/var/locks/sessionid.tdb b7f2d000-b7f2e000 rw-s 00000000 50:02 950336 /usr/local/samba/var/locks/messages.tdb b7f2e000-b7f2f000 rw-p b7f2e000 00:00 0 bf919000-bf92d000 rwxp bf919000 00:00 0 [stack] bf92d000-bf92f000 rw-p bf92d000 00:00 0 [root@bridgetjones ~]# .......... Any suggestions iare welcome as to what caused this and how to fix it. Thanks.