[Samba] Joining Samba to ADS domain (win2k3)

Charles Guest cpguest at gmail.com
Tue Apr 18 17:22:29 GMT 2006


Hello, I am having trouble joining Samba to my ADS domain. I am using Samba
3 and krb5. I have configured and tested krb5 and know that it is
functioning as it should be. I can successfully authenticate users using
kinit. I've also configured winbindd. When I exicute net ads joing -U <admin
username> and enter the proper password samba generates the following
aborting the process at the end:

[2006/04/18 12:02:15, 0] libads/ldap.c:ads_add_machine_acct(1414)
  ads_add_machine_acct: Host account for mainproxy already exists -
modifying old account
Using short domain name -- DOMAIN
Joined 'TESTSERV' to realm 'DOMAIN'
*** glibc detected *** net: free(): invalid pointer: 0x00cca7f0 ***
======= Backtrace: =========
/lib/libc.so.6[0x1da424]
/lib/libc.so.6(__libc_free+0x77)[0x1da95f]
/lib/libcom_err.so.2(remove_error_table+0x4b)[0x13eabb]
/usr/lib/libkrb5.so.3[0xc68823]
/usr/lib/libkrb5.so.3[0xc685c7]
/usr/lib/libkrb5.so.3[0xcb93ba]
/lib/ld-linux.so.2[0x875058]
/lib/libc.so.6(exit+0xc5)[0x1a1c69]
/lib/libc.so.6(__libc_start_main+0xce)[0x18bdee]
net[0x59c091]
======= Memory map: ========
00111000-00123000 r-xp 00000000 fd:00 3372889    /lib/libnsl-2.3.5.so
00123000-00124000 r-xp 00011000 fd:00 3372889    /lib/libnsl-2.3.5.so
00124000-00125000 rwxp 00012000 fd:00 3372889    /lib/libnsl-2.3.5.so
00125000-00127000 rwxp 00125000 00:00 0
00127000-0013d000 r-xp 00000000 fd:00 7252441
/usr/lib/libgssapi_krb5.so.2.2
0013d000-0013e000 rwxp 00016000 fd:00 7252441
/usr/lib/libgssapi_krb5.so.2.2
0013e000-00140000 r-xp 00000000 fd:00 3372886    /lib/libcom_err.so.2.1
00140000-00141000 rwxp 00001000 fd:00 3372886    /lib/libcom_err.so.2.1
00141000-00175000 r-xp 00000000 fd:00 7252514    /usr/lib/libldap-
2.2.so.7.0.16
00175000-00177000 rwxp 00033000 fd:00 7252514    /usr/lib/libldap-
2.2.so.7.0.16
00177000-0029b000 r-xp 00000000 fd:00 3372878    /lib/libc-2.3.5.so
0029b000-0029d000 r-xp 00124000 fd:00 3372878    /lib/libc-2.3.5.so
0029d000-0029f000 rwxp 00126000 fd:00 3372878    /lib/libc-2.3.5.so
0029f000-002a1000 rwxp 0029f000 00:00 0
002a1000-002aa000 r-xp 00000000 fd:00 3371861    /lib/libnss_files-2.3.5.so
002aa000-002ab000 r-xp 00008000 fd:00 3371861    /lib/libnss_files-2.3.5.so
002ab000-002ac000 rwxp 00009000 fd:00 3371861    /lib/libnss_files-2.3.5.so
002ac000-002ae000 r-xp 00000000 fd:00 7300403    /usr/lib/gconv/UTF-16.so
002ae000-002b0000 rwxp 00001000 fd:00 7300403    /usr/lib/gconv/UTF-16.so
002b0000-002b2000 r-xp 00000000 fd:00 7300310    /usr/lib/gconv/IBM850.so
002b2000-002b4000 rwxp 00001000 fd:00 7300310    /usr/lib/gconv/IBM850.so
002b4000-002b8000 r-xp 00000000 fd:00 3371858    /lib/libnss_dns-2.3.5.so
002b8000-002b9000 r-xp 00003000 fd:00 3371858    /lib/libnss_dns-2.3.5.so
002b9000-002ba000 rwxp 00004000 fd:00 3371858    /lib/libnss_dns-2.3.5.so
002ba000-002c3000 r-xp 00000000 fd:00 3372882    /lib/libgcc_s-
4.0.0-20050520.so.1
002c3000-002c4000 rwxp 00009000 fd:00 3372882    /lib/libgcc_s-
4.0.0-20050520.so.1
002e7000-002e9000 r-xp 00000000 fd:00 7247055
/usr/lib/libkrb5support.so.0.0
002e9000-002ea000 rwxp 00001000 fd:00 7247055
/usr/lib/libkrb5support.so.0.0
002ea000-003e2000 r-xp 00000000 fd:00 3372887    /lib/libcrypto.so.0.9.7f
003e2000-003f4000 rwxp 000f8000 fd:00 3372887    /lib/libcrypto.so.0.9.7f
003f4000-003f7000 rwxp 003f4000 00:00 0
004f5000-00504000 r-xp 00000000 fd:00 3372883    /lib/libresolv-2.3.5.so
00504000-00505000 r-xp 0000e000 fd:00 3372883    /lib/libresolv-2.3.5.so
00505000-00506000 rwxp 0000f000 fd:00 3372883    /lib/libresolv-2.3.5.so
00506000-00508000 rwxp 00506000 00:00 0
0056b000-00778000 r-xp 00000000 fd:00 7243076    /usr/bin/net
00778000-00784000 rwxp 0020c000 fd:00 7243076    /usr/bin/net
00784000-00794000 rwxp 00784000 00:00 0
00830000-0083d000 r-xp 00000000 fd:00 7243986    /usr/lib/liblber-
2.2.so.7.0.16
0083d000-0083e000 rwxp 0000c000 fd:00 7243986    /usr/lib/liblber-
2.2.so.7.0.16
00867000-00881000 r-xp 00000000 fd:00 3372877    /lib/ld-2.3.5.so
00881000-00882000 r-xp 00019000 fd:00 3372877    /lib/ld-2.3.5.so
00882000-00883000 rwxp 0001a000 fd:00 3372877    /lib/ld-2.3.5.so
00a97000-00aa9000 r-xp 00000000 fd:00 7243041    /usr/lib/libz.so.1.2.2.2
00aa9000-00aaa000 rwxp 00011000 fd:00 7243041    /usr/lib/libz.so.1.2.2.2
00b77000-00b9a000 r-xp 00000000 fd:00 7252439    /usr/lib/libk5crypto.so.3.0
00b9a000-00b9b000 rwxp 00023000 fd:00 7252439    /usr/lib/libk5crypto.so.3.0
00c08000-00c1d000 r-xp 00000000 fd:00 7246017    /usr/lib/libsasl2.so.2.0.20
00c1d000-00c1e000 rwxp 00015000 fd:00 7246017    /usr/lib/libsasl2.so.2.0.20
00c59000-00cc8000 r-xp 00000000 fd:00 7252440    /usr/liAborted


I am able to retrieve a list of users (wbinfo -u) and groups (wbinfo -g) but
am unable to retrieve a list of groups assigned to a particular user (wbinfo
--user-groups=<USERNAME>). I am also unable to assign securites for my
domain accounts

Snippets from log files are as follows:

*log.wb-DOMAIN*

[2006/04/18 12:10:59, 0] lib/util_sid.c:string_to_sid(285)
  string_to_sid: Sid S-0-0 is not in a valid format.


*smbd.log*

[2006/04/18 11:56:27, 0] lib/util_sock.c:open_socket_in(826)
  bind failed on port 445 socket_addr = 0.0.0.0.
  Error = Address already in use
*** glibc detected *** smbd: free(): invalid pointer: 0x001cc7f0 ***
======= Backtrace: =========
/lib/libc.so.6[0xe55424]
/lib/libc.so.6(__libc_free+0x77)[0xe5595f]
/lib/libcom_err.so.2(remove_error_table+0x4b)[0x111abb]
/usr/lib/libkrb5.so.3[0x16a823]
/usr/lib/libkrb5.so.3[0x16a5c7]
/usr/lib/libkrb5.so.3[0x1bb3ba]
/lib/ld-linux.so.2[0xde4058]
/lib/libc.so.6(exit+0xc5)[0xe1cc69]
smbd(main+0x65d)[0x8c4012]
/lib/libc.so.6(__libc_start_main+0xc6)[0xe06de6]
smbd[0x67c3a1]
======= Memory map: ========
00111000-00113000 r-xp 00000000 fd:00 3372886    /lib/libcom_err.so.2.1
00113000-00114000 rwxp 00001000 fd:00 3372886    /lib/libcom_err.so.2.1
00114000-0011c000 r-xp 00000000 fd:00 3372894    /lib/libpam.so.0.79
0011c000-0011d000 rwxp 00007000 fd:00 3372894    /lib/libpam.so.0.79
0011d000-00120000 r-xp 00000000 fd:00 3372897    /lib/libattr.so.1.1.0
00120000-00121000 rwxp 00002000 fd:00 3372897    /lib/libattr.so.1.1.0
00121000-00123000 r-xp 00000000 fd:00 3372880    /lib/libdl-2.3.5.so
00123000-00124000 r-xp 00001000 fd:00 3372880    /lib/libdl-2.3.5.so
00124000-00125000 rwxp 00002000 fd:00 3372880    /lib/libdl-2.3.5.so
00125000-00159000 r-xp 00000000 fd:00 7252514    /usr/lib/libldap-
2.2.so.7.0.16
00159000-0015b000 rwxp 00033000 fd:00 7252514    /usr/lib/libldap-
2.2.so.7.0.16
0015b000-001ca000 r-xp 00000000 fd:00 7252440    /usr/lib/libkrb5.so.3.2
001ca000-001cd000 rwxp 0006e000 fd:00 7252440    /usr/lib/libkrb5.so.3.2
001cd000-001ea000 r-xp 00000000 fd:00 7252442    /usr/lib/libcups.so.2
001ea000-001ec000 rwxp 0001c000 fd:00 7252442    /usr/lib/libcups.so.2
001ec000-001f1000 r-xp 00000000 fd:00 3372900    /lib/libacl.so.1.1.0
001f1000-001f2000 rwxp 00004000 fd:00 3372900    /lib/libacl.so.1.1.0
001f2000-001f9000 r-xp 00000000 fd:00 7245573    /usr/lib/libpopt.so.0.0.0
001f9000-001fa000 rwxp 00006000 fd:00 7245573    /usr/lib/libpopt.so.0.0.0
001fa000-0020f000 r-xp 00000000 fd:00 7246017    /usr/lib/libsasl2.so.2.0.20
0020f000-00210000 rwxp 00015000 fd:00 7246017    /usr/lib/libsasl2.so.2.0.20
00210000-00222000 r-xp 00000000 fd:00 7243041    /usr/lib/libz.so.1.2.2.2
00222000-00223000 rwxp 00011000 fd:00 7243041    /usr/lib/libz.so.1.2.2.2
00223000-00225000 r-xp 00000000 fd:00 7300310    /usr/lib/gconv/IBM850.so
00225000-00227000 rwxp 00001000 fd:00 7300310    /usr/lib/gconv/IBM850.so
00227000-00230000 r-xp 00000000 fd:00 3372882    /lib/libgcc_s-
4.0.0-20050520.so.1
00230000-00231000 rwxp 00009000 fd:00 3372882    /lib/libgcc_s-
4.0.0-20050520.so.1
002b5000-002d8000 r-xp 00000000 fd:00 7252439    /usr/lib/libk5crypto.so.3.0
002d8000-002d9000 rwxp 00023000 fd:00 7252439    /usr/lib/libk5crypto.so.3.0
0039f000-003ae000 r-xp 00000000 fd:00 3372883    /lib/libresolv-2.3.5.so
003ae000-003af000 r-xp 0000e000 fd:00 3372883    /lib/libresolv-2.3.5.so
003af000-003b0000 rwxp 0000f000 fd:00 3372883    /lib/libresolv-2.3.5.so
003b0000-003b2000 rwxp 003b0000 00:00 0
00466000-0049b000 r-xp 00000000 fd:00 3372888    /lib/libssl.so.0.9.7f
0049b000-0049e000 rwxp 00035000 fd:00 3372888    /lib/libssl.so.0.9.7f
00535000-0053e000 r-xp 00000000 fd:00 3372893    /lib/libaudit.so.0.0.0
0053e000-00542000 rwxp 00009000 fd:00 3372893    /lib/libaudit.so.0.0.0
0057b000-0057d000 r-xp 00000000 fd:00 7247055
/usr/lib/libkrb5support.so.0.0
0057d000-0057e000 rwxp 00001000 fd:00 7247055
/usr/lib/libkrb5support.so.0.0
00612000-00624000 r-xp 00000000 fd:00 3372889    /lib/libnsl-2.3.5.so
00624000-00625000 r-xp 00011000 fd:00 3372889    /lib/libnsl-2.3.5.so
00625000-00626000 rwxp 00012000 fd:00 3372889    /lib/libnsl-2.3.5.so
00626000-00628000 rwxp 00626000 00:00 0
0063e000-0097b000 r-xp 00000000 fd:00 7252421    /usr/sbin/smbd
0097b000-00989000 rwxp 0033c000 fd:00 7252421    /usr/sbin/smbd
00989000-0099e000 rwxp 00989000 00:00 0
0099e000-00a96000 r-xp 00000000 fd:00 3372887    /lib/libcrypto.so.0.9.7f
00a96000-00aa8000 rwxp 000f8000 fd:00 3372887    /lib/libcrypto.so.0.9.7f
00aa8000-00aab000 rwxp 00aa8000 00:00 0
00ae9000-00aee000 r-xp 00000000 fd:00 3372896    /lib/libcrypt-2.3.5.so
00aee000-00aef000 r-xp 00004000 fd:00 3372896    /lib/libcrypt-2.3.5.so
00aef000-00af0000 rwxp 00005000 fd:00 3372896    /lib/libcrypt-2.3.5.so
00af0000-00b17000 rwxp 00af0000 00:00 0
00b4d000-00b51000 r-xp 00000000 fd:00 3372875    /lib/libnss_winbind.so
00b51000-00b52000 rwxp 00004000 fd:00 3372875    /lib/libnss_winbind.so
00b52000-00b54000 rwxp 00b52000 00:00 0
00bba000-00bbb000 r-xp 00bba000 00:00 0
00c50000-00c52000 r-xp 00000000 fd:00 7300403    /usr/lib/gconv/UTF-16.so
00c52000-00c54000 rwxp 00001000 fd:00 7300403    /usr/lib/gconv/UTF-16.so
00cbe000-00ccb000 r-xp 00000000 fd:00 7243986    /usr/lib/liblber-
2.2.so.7.0.16
00ccb000-00ccc000 rwxp 0000c000 fd:00 7243986    /usr/lib/liblber-
2.2.so.7.0.16
00d5a000-00d5e000 r-xp 00000000 fd:00 3371858    /lib/libnss_dns-2.3.5.so
00d5e000-00d5f000 r-xp 00003000 fd:00 3371858    /lib/libnss_dns-2.3.5.so
00d5f000-00d60000 rwxp 00004000 fd:00 3371858    /lib/libnss_dns-2.3.5.so
00d72000-00d88000 r-xp 00000000 fd:00 7252441
/usr/lib/libgssapi_krb5.so.2.2
00d88000-00d89000 rwxp 00016000 fd:00 7252441
/usr/lib/libgssapi_krb5.so.2.2
00dd6000-00df0000 r-xp 00000000 fd:00 3372877    /lib/ld-2.3.5.so
00df0000-00df1000 r-xp 00019000 fd:00 3372877    /lib/ld-2.3.5.so
00df1000-00df2000 rwxp 0001a000 fd:00 3372877    /lib/ld-2.3.5.so
00df2000-00f16000 r-xp 00000000 fd:00 3372878    /lib/libc-2.3.5.so
00f16000-00f18000 r-xp 00124000 fd:00 3372878    /lib/libc-2.3.5.so
00f18000-00f1a000 rwxp 00126000 fd:00 3372878    /lib/libc-2.3.5.so
00f1a000-00f1c000 rwxp 00f1a000 00:00 0
00f6d000-00f76000 r-xp 00000000 fd:00 3371861    /lib/libnss_files-2.3.5.so
00f76000-00f77000 r-xp 00008000 fd:00 3371861    /lib/libnss_files-2.3.5.so
00f77000-00f78000 rwxp 00009000 fd:00 3371861    /lib/libnss_files-2.3.5.so
09541000-095ab000 rw-p 09541000 00:00 0          [heap]
b7c00000-b7c21000 rw-p b7c00000 00:00 0
b7c21000-b7d00000 ---p b7c21000 00:00 0
b7d43000-b7d45000 rw-s 00000000 fd:00 165648
/var/lib/samba/account_policy.tdb
b7d45000-b7d47000 rw-s 00000000 fd:00 165652
/var/lib/samba/group_mapping.tdb
b7d47000-b7d49000 rw-s 00000000 fd:00 6092123    /etc/samba/secrets.tdb
b7d49000-b7d59000 r--s 00000000 fd:00 5957996    /usr/lib/samba/valid.dat
b7d59000-b7d5f000 r--s 00000000 fd:00 7300415    /usr/lib/gconv/gconv-
modules.cache
b7d5f000-b7f5f000 r--p 00000000 fd:00 7237632
/usr/lib/locale/locale-archive
b7f5f000-b7f7f000 r--s 00000000 fd:00 5957991    /usr/lib/samba/lowcase.dat
b7f7f000-b7f9f000 r--s 00000000 fd:00 5957995    /usr/lib/samba/upcase.dat
b7f9f000-b7fa5000 rw-p b7f9f000 00:00 0
b7fad000-b7fae000 rw-s 00000000 fd:00 165657     /var/lib/samba/ntforms.tdb
b7fae000-b7fb0000 rw-s 00000000 fd:00 165658
/var/lib/samba/ntprinters.tdb
b7fb0000-b7fb2000 rw-s 00000000 fd:00 165656
/var/lib/samba/ntdrivers.tdb
b7fb2000-b7fb4000 rw-s 00000000 fd:00 165651     /var/lib/samba/gencache.tdb
b7fb4000-b7fb6000 rw-s 00000000 fd:00 165661
/var/lib/samba/share_info.tdb
b7fb6000-b7fb8000 rw-s 00000000 fd:00 165653     /var/lib/samba/locking.tdb
b7fb8000-b7fb9000 rw-s 00000000 fd:00 165649     /var/lib/samba/brlock.tdb
b7fb9000-b7fbd000 rw-s 00000000 fd:00 165650
/var/lib/samba/connections.tdb
b7fbd000-b7fbe000 rw-s 00000000 fd:00 165660
/var/lib/samba/sessionid.tdb
b7fbe000-b7fbf000 rw-s 00000000 fd:00 165654     /var/lib/samba/messages.tdb
b7fbf000-b7fc0000 rw-p b7fbf000 00:00 0
bfaab000-bfac0000 rw-p bfaab000 00:00 0          [stack]
*** glibc detected *** smbd: free(): invalid pointer: 0x001cc7f0 ***
======= Backtrace: =========
/lib/libc.so.6[0xe55424]
/lib/libc.so.6(__libc_free+0x77)[0xe5595f]
/lib/libcom_err.so.2(remove_error_table+0x4b)[0x111abb]
/usr/lib/libkrb5.so.3[0x16a823]
/usr/lib/libkrb5.so.3[0x16a5c7]
/usr/lib/libkrb5.so.3[0x1bb3ba]
/lib/ld-linux.so.2[0xde4058]
/lib/libc.so.6(exit+0xc5)[0xe1cc69]
smbd(exit_server+0x266)[0x8c37d6]
smbd(start_background_queue+0x12e)[0x84534f]
smbd(main+0x111b)[0x8c4ad0]
/lib/libc.so.6(__libc_start_main+0xc6)[0xe06de6]
smbd[0x67c3a1]
======= Memory map: ========
00111000-00113000 r-xp 00000000 fd:00 3372886    /lib/libcom_err.so.2.1
00113000-00114000 rwxp 00001000 fd:00 3372886    /lib/libcom_err.so.2.1
00114000-0011c000 r-xp 00000000 fd:00 3372894    /lib/libpam.so.0.79
0011c000-0011d000 rwxp 00007000 fd:00 3372894    /lib/libpam.so.0.79
0011d000-00120000 r-xp 00000000 fd:00 3372897    /lib/libattr.so.1.1.0
00120000-00121000 rwxp 00002000 fd:00 3372897    /lib/libattr.so.1.1.0
00121000-00123000 r-xp 00000000 fd:00 3372880    /lib/libdl-2.3.5.so
00123000-00124000 r-xp 00001000 fd:00 3372880    /lib/libdl-2.3.5.so
00124000-00125000 rwxp 00002000 fd:00 3372880    /lib/libdl-2.3.5.so
00125000-00159000 r-xp 00000000 fd:00 7252514    /usr/lib/libldap-
2.2.so.7.0.16
00159000-0015b000 rwxp 00033000 fd:00 7252514    /usr/lib/libldap-
2.2.so.7.0.16
0015b000-001ca000 r-xp 00000000 fd:00 7252440    /usr/lib/libkrb5.so.3.2
001ca000-001cd000 rwxp 0006e000 fd:00 7252440    /usr/lib/libkrb5.so.3.2
001cd000-001ea000 r-xp 00000000 fd:00 7252442    /usr/lib/libcups.so.2
001ea000-001ec000 rwxp 0001c000 fd:00 7252442    /usr/lib/libcups.so.2
001ec000-001f1000 r-xp 00000000 fd:00 3372900    /lib/libacl.so.1.1.0
001f1000-001f2000 rwxp 00004000 fd:00 3372900    /lib/libacl.so.1.1.0
001f2000-001f9000 r-xp 00000000 fd:00 7245573    /usr/lib/libpopt.so.0.0.0
001f9000-001fa000 rwxp 00006000 fd:00 7245573    /usr/lib/libpopt.so.0.0.0
001fa000-0020f000 r-xp 00000000 fd:00 7246017    /usr/lib/libsasl2.so.2.0.20
0020f000-00210000 rwxp 00015000 fd:00 7246017    /usr/lib/libsasl2.so.2.0.20
00210000-00222000 r-xp 00000000 fd:00 7243041    /usr/lib/libz.so.1.2.2.2
00222000-00223000 rwxp 00011000 fd:00 7243041    /usr/lib/libz.so.1.2.2.2
00223000-00225000 r-xp 00000000 fd:00 7300310    /usr/lib/gconv/IBM850.so
00225000-00227000 rwxp 00001000 fd:00 7300310    /usr/lib/gconv/IBM850.so
002b5000-002d8000 r-xp 00000000 fd:00 7252439    /usr/lib/libk5crypto.so.3.0
002d8000-002d9000 rwxp 00023000 fd:00 7252439    /usr/lib/libk5crypto.so.3.0
0039f000-003ae000 r-xp 00000000 fd:00 3372883    /lib/libresolv-2.3.5.so
003ae000-003af000 r-xp 0000e000 fd:00 3372883    /lib/libresolv-2.3.5.so
003af000-003b0000 rwxp 0000f000 fd:00 3372883    /lib/libresolv-2.3.5.so
003b0000-003b2000 rwxp 003b0000 00:00 0
00466000-0049b000 r-xp 00000000 fd:00 3372888    /lib/libssl.so.0.9.7f
0049b000-0049e000 rwxp 00035000 fd:00 3372888    /lib/libssl.so.0.9.7f
00535000-0053e000 r-xp 00000000 fd:00 3372893    /lib/libaudit.so.0.0.0
0053e000-00542000 rwxp 00009000 fd:00 3372893    /lib/libaudit.so.0.0.0
0057b000-0057d000 r-xp 00000000 fd:00 7247055
/usr/lib/libkrb5support.so.0.0
0057d000-0057e000 rwxp 00001000 fd:00 7247055
/usr/lib/libkrb5support.so.0.0
00612000-00624000 r-xp 00000000 fd:00 3372889    /lib/libnsl-2.3.5.so
00624000-00625000 r-xp 00011000 fd:00 3372889    /lib/libnsl-2.3.5.so
00625000-00626000 rwxp 00012000 fd:00 3372889    /lib/libnsl-2.3.5.so
00626000-00628000 rwxp 00626000 00:00 0
0063e000-0097b000 r-xp 00000000 fd:00 7252421    /usr/sbin/smbd
0097b000-00989000 rwxp 0033c000 fd:00 7252421    /usr/sbin/smbd
00989000-0099e000 rwxp 00989000 00:00 0
0099e000-00a96000 r-xp 00000000 fd:00 3372887    /lib/libcrypto.so.0.9.7f
00a96000-00aa8000 rwxp 000f8000 fd:00 3372887    /lib/libcrypto.so.0.9.7f
00aa8000-00aab000 rwxp 00aa8000 00:00 0
00ae9000-00aee000 r-xp 00000000 fd:00 3372896    /lib/libcrypt-2.3.5.so
00aee000-00aef000 r-xp 00004000 fd:00 3372896    /lib/libcrypt-2.3.5.so
00aef000-00af0000 rwxp 00005000 fd:00 3372896    /lib/libcrypt-2.3.5.so
00af0000-00b17000 rwxp 00af0000 00:00 0
00b4d000-00b51000 r-xp 00000000 fd:00 3372875    /lib/libnss_winbind.so
00b51000-00b52000 rwxp 00004000 fd:00 3372875    /lib/libnss_winbind.so
00b52000-00b54000 rwxp 00b52000 00:00 0
00b80000-00b89000 r-xp 00000000 fd:00 3372882    /lib/libgcc_s-
4.0.0-20050520.so.1
00b89000-00b8a000 rwxp 00009000 fd:00 3372882    /lib/libgcc_s-
4.0.0-20050520.so.1
00bba000-00bbb000 r-xp 00bba000 00:00 0
00c50000-00c52000 r-xp 00000000 fd:00 7300403    /usr/lib/gconv/UTF-16.so
00c52000-00c54000 rwxp 00001000 fd:00 7300403    /usr/lib/gconv/UTF-16.so
00cbe000-00ccb000 r-xp 00000000 fd:00 7243986    /usr/lib/liblber-
2.2.so.7.0.16
00ccb000-00ccc000 rwxp 0000c000 fd:00 7243986    /usr/lib/liblber-
2.2.so.7.0.16
00d5a000-00d5e000 r-xp 00000000 fd:00 3371858    /lib/libnss_dns-2.3.5.so
00d5e000-00d5f000 r-xp 00003000 fd:00 3371858    /lib/libnss_dns-2.3.5.so
00d5f000-00d60000 rwxp 00004000 fd:00 3371858    /lib/libnss_dns-2.3.5.so
00d72000-00d88000 r-xp 00000000 fd:00 7252441
/usr/lib/libgssapi_krb5.so.2.2
00d88000-00d89000 rwxp 00016000 fd:00 7252441
/usr/lib/libgssapi_krb5.so.2.2
00dd6000-00df0000 r-xp 00000000 fd:00 3372877    /lib/ld-2.3.5.so
00df0000-00df1000 r-xp 00019000 fd:00 3372877    /lib/ld-2.3.5.so
00df1000-00df2000 rwxp 0001a000 fd:00 3372877    /lib/ld-2.3.5.so
00df2000-00f16000 r-xp 00000000 fd:00 3372878    /lib/libc-2.3.5.so
00f16000-00f18000 r-xp 00124000 fd:00 3372878    /lib/libc-2.3.5.so
00f18000-00f1a000 rwxp 00126000 fd:00 3372878    /lib/libc-2.3.5.so
00f1a000-00f1c000 rwxp 00f1a000 00:00 0
00f6d000-00f76000 r-xp 00000000 fd:00 3371861    /lib/libnss_files-2.3.5.so
00f76000-00f77000 r-xp 00008000 fd:00 3371861    /lib/libnss_files-2.3.5.so
00f77000-00f78000 rwxp 00009000 fd:00 3371861    /lib/libnss_files-2.3.5.so
09541000-095ab000 rw-p 09541000 00:00 0          [heap]
b7c00000-b7c21000 rw-p b7c00000 00:00 0
b7c21000-b7d00000 ---p b7c21000 00:00 0
b7d43000-b7d45000 rw-s 00000000 fd:00 165648
/var/lib/samba/account_policy.tdb
b7d45000-b7d47000 rw-s 00000000 fd:00 165652
/var/lib/samba/group_mapping.tdb
b7d47000-b7d49000 rw-s 00000000 fd:00 6092123    /etc/samba/secrets.tdb
b7d49000-b7d59000 r--s 00000000 fd:00 5957996    /usr/lib/samba/valid.dat
b7d59000-b7d5f000 r--s 00000000 fd:00 7300415    /usr/lib/gconv/gconv-
modules.cache
b7d5f000-b7f5f000 r--p 00000000 fd:00 7237632
/usr/lib/locale/locale-archive
b7f5f000-b7f7f000 r--s 00000000 fd:00 5957991    /usr/lib/samba/lowcase.dat
b7f7f000-b7f9f000 r--s 00000000 fd:00 5957995    /usr/lib/samba/upcase.dat
b7f9f000-b7fa5000 rw-p b7f9f000 00:00 0
b7fad000-b7fae000 rw-s 00000000 fd:00 165657     /var/lib/samba/ntforms.tdb
b7fae000-b7fb0000 rw-s 00000000 fd:00 165658
/var/lib/samba/ntprinters.tdb
b7fb0000-b7fb2000 rw-s 00000000 fd:00 165656
/var/lib/samba/ntdrivers.tdb
b7fb2000-b7fb4000 rw-s 00000000 fd:00 165651     /var/lib/samba/gencache.tdb
b7fb4000-b7fb6000 rw-s 00000000 fd:00 165661
/var/lib/samba/share_info.tdb
b7fb9000-b7fbd000 rw-s 00000000 fd:00 165650
/var/lib/samba/connections.tdb
b7fbd000-b7fbe000 rw-s 00000000 fd:00 165660
/var/lib/samba/sessionid.tdb
b7fbe000-b7fbf000 rw-s 00000000 fd:00 165654     /var/lib/samba/messages.tdb
b7fbf000-b7fc0000 rw-p b7fbf000 00:00 0
bfaab000-bfac0000 rw-p bfaab000 00:00 0          [stack]


My config files are:


*smb.conf*

[global]
        log file = /var/log/samba/%m.log
        ldap ssl = no
        idmap gid = 10000-20000
        wins server = 217.17.4.10
        auth methods = winbind
        domain master = No
        idmap backend = ad
        winbind use default domain = Yes
        winbind gid = 10000-20000
        realm = PILGRIMBANK
        template shell = /bin/bash
        dns proxy = No
        cups options = raw
        server string = Samba Server
        idmap uid = 10000-20000
        password server = <servername>
        template homedir = /home/winnt/%D/%U
        local master = No
        workgroup = PILGRIMBANK
        os level = 20
        auto services = Users
        printcap name = /etc/printcap
        security = ads
        preferred master = no
        max log size = 50
        client signing = yes


*krb5.conf*


[logging]
 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log

[libdefaults]
 default_realm = DOMAIN
 dns_lookup_realm = yes
 dns_lookup_kdc = yes
 ticket_lifetime = 24h
 forwardable = yes
default_tgs_enctypes = DES-CBC-CRC DES-CBC-MD5 RC4-HMAC
default_tkt_enctypes = DES-CBC-CRC DES-CBC-MD5 RC4-HMAC
preferred_enctypes = DES-CBC-CRC DES-CBC-MD5 RC4-HMAC

[realms]
 EXAMPLE.COM = {
  kdc = kerberos.example.com:88
  admin_server = kerberos.example.com:749
  default_domain = example.com
 }

DOMAIN = {
  kdc = <servername>:88
  kdc = <servername>
  admin_server = <servername>:749
  kdc = <servername>

 }

[domain_realm]
 .DOMAIN = DOMAIN

DOMAIN = DOMAIN

[kdc]
 profile = /var/kerberos/krb5kdc/kdc.conf

[appdefaults]
 pam = {
   debug = false
   ticket_lifetime = 36000
   renew_lifetime = 36000
   forwardable = true
   krb4_convert = false
 }

Can anyone give me a suggestion to fix this problem?

Thanks for your help.


More information about the samba mailing list