[Samba] samba+AD problem

Dennis B. Hopp dhopp at coreps.com
Wed Dec 21 20:08:21 GMT 2005


Quoting DavidMataróCiller <dmataro at ingent.net>:

> Hi,
>
> I have a samba server as ADS domain membership with Kerberos
> authentication against a Windows 2000 Server.
>
> All run ok, all users can access into the share folders and roaming
> profiles write your profile into the share profiles. But when I create a
> new users in the Active Directory, these do not have access to the share
> folders of the samba server. The logs show:
>
> ==> smbd.log <==
> [2005/12/21 10:17:18, 0] lib/util_sock.c:get_peer_addr(1150)
>  getpeername failed. Error was Transport endpoint is not connected
>
> ==> 192.168.1.189.log <==
> [2005/12/21 17:51:20, 1] smbd/sesssetup.c:reply_spnego_kerberos(265)
>  make_server_info_from_pw failed!
> [2005/12/21 17:51:20, 1] smbd/sesssetup.c:reply_spnego_kerberos(265)
>  make_server_info_from_pw failed!
> *** glibc detected *** smbd: free(): invalid pointer: 0x00d167f0 ***
> ======= Backtrace: =========
> /lib/libc.so.6[0x6e2424]
> /lib/libc.so.6(__libc_free+0x77)[0x6e295f]
> /lib/libcom_err.so.2(remove_error_table+0x4b)[0x131abb]
> /usr/lib/libkrb5.so.3[0xcb4823]
> /usr/lib/libkrb5.so.3[0xcb45c7]
> /usr/lib/libkrb5.so.3[0xd053ba]
> /lib/ld-linux.so.2[0x11f058]
> /lib/libc.so.6(exit+0xc5)[0x6a9c69]
> smbd(exit_server+0x25c)[0x3faae6]
> smbd(main+0x995)[0x3fb6a1]
> /lib/libc.so.6(__libc_start_main+0xc6)[0x693de6]
> smbd[0x1f94f1]
> ======= Memory map: ========
> ...
>
> When I run "wbinfo -u" and "getent passwd" list the new users.
>
> My samba setup is:
> Fedora Core 4
> samba-3.0.14a-2

Have you done a yum update ?  I had a similar problem with joining a 
domain on a stock FC4 system and I believe an update to glibc fixed it 
for good.  Before I had to do a hack to /etc/profile.d/glibc.sh to fix 
a MALLOC problem.

Also, try to restart winbind

--Dennis




More information about the samba mailing list