Samba 4 - Alpha 8 / OpenLDAP missing schema attributes
Oliver Liebel
oliver at itc.li
Wed Aug 5 05:17:29 MDT 2009
Oliver Liebel schrieb:
> Andrew Bartlett schrieb:
>
>> On Tue, 2009-08-04 at 16:47 -0500, MICHAEL BROWN wrote:
>>
>>
>>> Hello,
>>> I just setup Samba 4, alpha 8, with OpenLDAP to use replication. However, after setting up everything,
>>> I started importing my POSIX users and groups but there are no "uidNumber" or "gidNumber" attributes like
>>> there are with using Samba 4's POSIX schema backend. *PLEASE* tell me I am missing something here.
>>>
>>>
>> This really should 'just work'. Did you run provision-backend with the
>> current code? (If you did not, then you might still be running the old
>> configuration, generated with the former schema).
>>
>> To make this easier in future, Oliver Liebel is trying to integrate the
>> two scripts. I hope to have that work in before the next alpha.
>>
>> Andrew Bartlett
>>
>>
>>
> the patches (like auto slapd) are ready (except full merge) and tested
> and verified,
> but i ran into the same error (no posix-attributes available) when
> using latest s4-pre-a9 from git with ol-backend.
>
> beside, the following error occurs (only in conjunction with ol-backend)
> when authenticating via cn=administrator to s4:
>
> --------
> auth_check_password_send: mapped user is:
> [LDAP]\[Administrator]@[LDAPMASTER]
> NTLMSSP Sign/Seal - Initialising with flags:
> Got NTLMSSP neg_flags=0x60088205
> ERROR: talloc_steal with references at ldap_server/ldap_backend.c:430
> reference at lib/ldb/ldb_map/ldb_map_outbound.c:208
> ERROR: talloc_steal with references at ldap_server/ldap_backend.c:430
> reference at lib/ldb/ldb_map/ldb_map_outbound.c:208
> ...
> <same error is displayed 20-30 times>
> ...
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> INTERNAL ERROR: Signal 11 in pid 9576 (4.0.0alpha9-GIT-UNKNOWN)
> Please read the file BUGS.txt in the distribution
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> PANIC: internal error
> BACKTRACE: 20 stack frames:
> #0 /usr/local/samba/sbin/samba(call_backtrace+0x2b) [0x8968713]
> #1 /usr/local/samba/sbin/samba(smb_panic+0x296) [0x8968a95]
> #2 /usr/local/samba/sbin/samba [0x8968c60]
> #3 /usr/local/samba/sbin/samba(fault_setup+0) [0x8968c95]
> #4 [0xffffe400]
> #5 /usr/local/samba/sbin/samba [0x83dd083]
> #6 /usr/local/samba/sbin/samba [0x83dd34c]
> #7 /usr/local/samba/sbin/samba(packet_recv+0x746) [0x86bbc32]
> #8 /usr/local/samba/sbin/samba(ldapsrv_recv+0x9a) [0x83dd43e]
> #9 /usr/local/samba/sbin/samba [0x80f73e3]
> #10 /usr/local/samba/sbin/samba [0x80f745e]
> #11 /usr/local/samba/sbin/samba [0x8986494]
> #12 /usr/local/samba/sbin/samba [0x8986b01]
> #13 /usr/local/samba/sbin/samba(_tevent_loop_once+0xdf) [0x8982fb7]
> #14 /usr/local/samba/sbin/samba(tevent_common_loop_wait+0x26) [0x89831d8]
> #15 /usr/local/samba/sbin/samba(_tevent_loop_wait+0x1d) [0x8983296]
> #16 /usr/local/samba/sbin/samba [0x80f0d2e]
> #17 /usr/local/samba/sbin/samba(main+0x38) [0x80f0d93]
> #18 /lib/libc.so.6(__libc_start_main+0xe5) [0xb7a47705]
> #19 /usr/local/samba/sbin/samba [0x80efe71]
> Abgebrochen
> ----------------
> slapd is not affected, its still up and running.
>
> oliver
>
>
sorry, my failure:
-d 1 shows, that i forgot to setup the kdc properly:
---
#> /usr/local/samba/bin/ldbsearch -H ldap://ldapmaster.ldap.local.site
CN=Administrator -U Administrator%linux -d 1
kinit for Administrator at LDAP.LOCAL.SITE failed (Cannot contact any KDC
for requested realm: unable to reach any KDC in realm LDAP.LOCAL.SITE)
Failed to get CCACHE for GSSAPI client: Cannot contact any KDC for
requested realm
search error - LDAP client internal error:
NT_STATUS_UNEXPECTED_NETWORK_ERROR
---
but the posix-related attributes are still missing.
oliver
More information about the samba-technical
mailing list