From: Christian Geiger on
Hi all,

I got a problem while trying to set up a Samba 3.4 Server in hybrid-mode.
After trying for some time I managed doing a merged-build of Samba3 and
Samba4 and I can now start samba4 without getting errors. However, the
same is not true for Samba3: starting it, I get the below error message.
Has anyone an idea about what the reason could be? Did I miss anything
during build/setup?

Thank you very much in advance for your help! If you need any further
information, please let me know.

Best regards
Chris


----------------------
=> console output smbd
-------- snip --------

root(a)guardian:/var/run/samba/samba3# smbd -i -s /etc/samba/smb3.conf
smbd: /usr/local/lib/liblber-2.4.so.2: no version information available
(required by smbd)
smbd: /usr/local/lib/libldap_r-2.4.so.2: no version information available
(required by smbd)
smbd version 3.4.0-GIT-38995d7-devel started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
===============================================================
INTERNAL ERROR: Signal 6 in pid 1395 (3.4.0-GIT-38995d7-devel)
Please read the Trouble-Shooting section of the Samba3-HOWTO

From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
===============================================================
smb_panic: clobber_region() last called from [sid_to_fstring(178)]
PANIC (pid 1395): internal error
BACKTRACE: 18 stack frames:
#0 smbd(log_stack_trace+0x2b) [0x84874ab]
#1 smbd(smb_panic+0x180) [0x848724e]
#2 smbd [0x8470ab8]
#3 smbd [0x8470ac9]
#4 [0xb7f13400]
#5 /lib/tls/i686/cmov/libc.so.6(abort+0x188) [0xb7bee098]
#6 /usr/lib/libtalloc.so.1(talloc_free+0x22d) [0xb7afa5dd]
#7 /usr/lib/libwbclient.so.0(wbcFreeMemory+0x21) [0xb7d3cd93]
#8 /usr/lib/libwbclient.so.0(wbcSidToGid+0xb4) [0xb7d3f26d]
#9 smbd(winbind_sid_to_gid+0x3e) [0x8444936]
#10 smbd(sid_to_gid+0x1bd) [0x8409419]
#11 smbd(create_local_nt_token+0x3f8) [0x8507eca]
#12 smbd(get_root_nt_token+0x1be) [0x8506fff]
#13 smbd(svcctl_init_keys+0x2d) [0x832a88c]
#14 smbd(registry_init_full+0xa4) [0x8923a4c]
#15 smbd(main+0xe68) [0x895fed1]
#16 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7bd7775]
#17 smbd [0x80de0e1]
smb_panic(): calling panic action [/bin/sleep 999999999]

-------- snap --------


----------------------
=> console output samba4
-------- snip --------

root(a)guardian:/usr/local/samba/etc# samba4 -i -s /etc/samba/smb4.conf
samba version 3.4.0-GIT-38995d7-devel started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
samba: using 'standard' process model

-------- snap --------


----------------------
=> smb3.conf
-------- snip --------

[globals]
netbios name = guardian
workgroup = myworkgroup
realm = mydomain.de
security = ads
passdb backend = ads
pid directory = /var/run/samba/samba3/

[netlogon]
path = /usr/local/samba/var/locks/sysvol/mydomain.de/scripts
read only = no

[sysvol]
path = /usr/local/samba/var/locks/sysvol
read only = no

[share]
path = /share
read only = no

-------- snap -------


----------------------
=> smb4.conf
-------- snip --------

[globals]
netbios name = guardian
workgroup = myworkgroup
realm = mydomain.de
server role = domain controller
server services = ldap, cldap, kdc
socket address = 127.0.0.1
pid directory = /var/run/samba/samba4/

-------- snap --------

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba