David Touzeau
2012-Jun-14 09:06 UTC
[Samba] Samba: 3.6.5 lib/fault.c:47(fault_report) smd crash
Dear
I'm facing issues when using Samba on PDC mode + LDAP installed on i386
Debian 6
Is there a way to resolve it ?
Jun 14 11:02:31 fileserver32 smbd[1115]: [2012/06/14 11:02:31.644224,
0] lib/fault.c:47(fault_report)
Jun 14 11:02:31 fileserver32 smbd[1115]:
==============================================================Jun 14 11:02:31
fileserver32 smbd[1115]: [2012/06/14 11:02:31.645554,
0] lib/fault.c:48(fault_report)
Jun 14 11:02:31 fileserver32 smbd[1115]: INTERNAL ERROR: Signal 11 in
pid 1115 (3.6.5)
Jun 14 11:02:31 fileserver32 smbd[1115]: Please read the
Trouble-Shooting section of the Samba3-HOWTO
Jun 14 11:02:31 fileserver32 smbd[1115]: [2012/06/14 11:02:31.645778,
0] lib/fault.c:50(fault_report)
Jun 14 11:02:31 fileserver32 smbd[1115]:
Jun 14 11:02:31 fileserver32 smbd[1115]: From:
http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
Jun 14 11:02:31 fileserver32 smbd[1115]: [2012/06/14 11:02:31.645986,
0] lib/fault.c:51(fault_report)
Jun 14 11:02:31 fileserver32 smbd[1115]:
==============================================================Jun 14 11:02:31
fileserver32 smbd[1115]: [2012/06/14 11:02:31.646127,
0] lib/util.c:1117(smb_panic)
Jun 14 11:02:31 fileserver32 smbd[1115]: PANIC (pid 1115): internal error
Jun 14 11:02:32 fileserver32 smbd[1141]: [2012/06/14 11:02:32.108305,
0] lib/fault.c:47(fault_report)
Jun 14 11:02:32 fileserver32 smbd[1141]:
==============================================================Jun 14 11:02:32
fileserver32 smbd[1141]: [2012/06/14 11:02:32.108483,
0] lib/fault.c:48(fault_report)
Jun 14 11:02:32 fileserver32 smbd[1141]: INTERNAL ERROR: Signal 11 in
pid 1141 (3.6.5)
Jun 14 11:02:32 fileserver32 smbd[1141]: Please read the
Trouble-Shooting section of the Samba3-HOWTO
Jun 14 11:02:32 fileserver32 smbd[1141]: [2012/06/14 11:02:32.108540,
0] lib/fault.c:50(fault_report)
Jun 14 11:02:32 fileserver32 smbd[1141]:
Jun 14 11:02:32 fileserver32 smbd[1141]: From:
http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
Jun 14 11:02:32 fileserver32 smbd[1141]: [2012/06/14 11:02:32.108592,
0] lib/fault.c:51(fault_report)
Jun 14 11:02:32 fileserver32 smbd[1141]:
==============================================================Jun 14 11:02:32
fileserver32 smbd[1141]: [2012/06/14 11:02:32.108631,
0] lib/util.c:1117(smb_panic)
Jun 14 11:02:32 fileserver32 smbd[1141]: PANIC (pid 1141): internal error
Configuration file:
[global]
workgroup = COMPANY
netbios name = pdc1
server string = %h server
disable netbios =no
strict allocate = No
strict locking = Auto
sync always = No
getwd cache = Yes
max protocol = NT1
name resolve order =host lmhosts wins bcast
dns proxy = No
wins support = No
min protocol = NT1
syslog = 3
log level = 10
log file = /var/log/samba/log.%m
debug timestamp = yes
# Enable symbolics links -----------------------------------
follow symlinks = yes
wide links = yes
unix extensions = no
usershare allow guests = no
usershare max shares = 100
usershare owner only = true
usershare path=/var/lib/samba/usershares/data
#Guest access
guest account = nobody
map to guest = Bad Password
template homedir = /home/%U
template shell = /bin/bash
enable privileges = yes
domain master = yes
local master = yes
preferred master = yes
domain logons = yes
os level = 40
ldap passwd sync = no
#WINBINDD *******************************************************
allow trusted domains = Yes
winbind use default domain = No
winbind enum users = Yes
winbind enum groups = Yes
password server=*
encrypt passwords = Yes
winbind separator = /
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = Yes
winbind enum groups = Yes
winbind rpc only = No
security = user
printing = bsd
# VISTA/Windows7 compatibility
# ACLs settings
nt acl support=yes
map acl inherit=yes
acl check permissions=yes
inherit permissions=no
inherit acls=no
acl map full control=yes
dos filemode=yes
force unknown acl user = no
# LDAP settings As 3.6 or above = 0-----------------------------------
ldap delete dn = no
passdb backend = ldapsam:ldap://127.0.0.1:389
#scripts -----------------------------------
add machine script =
/usr/share/artica-postfix/bin/artica-install --samba-add-computer "%u"
ldap admin dn = cn=Manager,dc=my-domain,dc=com
ldap suffix = dc=my-domain,dc=com
ldap group suffix = dc=organizations
ldap user suffix = dc=organizations
ldap machine suffix = ou=Computer,dc=samba,dc=organizations
ldap delete dn = yes
ldap ssl = off
ldap idmap suffix =
ou=idmap,dc=samba,dc=organizations,dc=my-domain,dc=com
encrypt passwords = true
idmap backend = ldap:ldap://127.0.0.1:389
idmap uid = 1000-1999999
idmap gid = 1000-1999999
idmap config COMPANY:backend = ldap
idmap config COMPANY:readonly = no
idmap config COMPANY:default = yes
idmap config COMPANY:ldap_base_dn =
ou=idmap,dc=samba,dc=organizations,dc=my-domain,dc=com
idmap config COMPANY:ldap_user_dn = cn=Manager,dc=my-domain,dc=com
idmap config COMPANY:ldap_url = ldap://127.0.0.1:389
idmap config COMPANY:range = 1000-1999999
logon path logon home logon drive socket
options = TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT
SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
case sensitive = No
default case = lower
preserve case = yes
short preserve case = yes
wins support = Yes
time server = yes
msdfs root = no
host msdfs = no
# Shared Folders lists -----------------------------------
[logs-backup]
path = /home/logs-backup
create mask = 0775
directory mask = 0777
force create mode = 0775
create mode = 0775
browseable = Yes
browsable = Yes
hosts allow = 192.168.1.158 KLFRL0051
hosts deny = 0.0.0.0/0
public = yes
force user = root
guest ok = yes
read only = no
[Public]
path = /home/Public
create mask = 0775
directory mask = 0777
force create mode = 0775
create mode = 0775
browseable = Yes
browsable = Yes
[homes]
comment = Personnal Folder
browseable = No
writeable = Yes
David Touzeau
2012-Jun-14 14:40 UTC
[Samba] Samba: 3.6.5 lib/fault.c:47(fault_report) smd crash
With more investigation, i have see this error "Server exit (multiple negprot's are not permitted) " before crash init msg_type=0x81 msg_flags=0x0 got smb length of 133 got message type 0x0 of len 0x85 Transaction 8 of length 137 (0 toread) size=133 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=24 smb_flg2=51283 smb_tid=0 smb_pid=65279 smb_uid=0 smb_mid=0 smt_wct=0 smb_bcc=98 [0000] 02 50 43 20 4E 45 54 57 4F 52 4B 20 50 52 4F 47 .PC NETW ORK PROG [0010] 52 41 4D 20 31 2E 30 00 02 4C 41 4E 4D 41 4E 31 RAM 1.0. .LANMAN1 [0020] 2E 30 00 02 57 69 6E 64 6F 77 73 20 66 6F 72 20 .0..Wind ows for [0030] 57 6F 72 6B 67 72 6F 75 70 73 20 33 2E 31 61 00 Workgrou ps 3.1a. [0040] 02 4C 4D 31 2E 32 58 30 30 32 00 02 4C 41 4E 4D .LM1.2X0 02..LANM [0050] 41 4E 32 2E 31 00 02 4E 54 20 4C 4D 20 30 2E 31 AN2.1..N T LM 0.1 [0060] 32 00 2. switch message SMBnegprot (pid 28591) conn 0x0 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 NT user token: (NULL) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups change_to_root_user: now uid=(0,0) gid=(0,0) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 NT user token: (NULL) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups change_to_root_user: now uid=(0,0) gid=(0,0) Yielding connection to Locking key AF6F0000FFFFFFFF0000 Allocated locked data 0x0x90d1a48 Unlocking key AF6F0000FFFFFFFF0000 Server exit (multiple negprot's are not permitted) Terminated Le 14/06/2012 11:06, David Touzeau a ?crit :> Dear > > I'm facing issues when using Samba on PDC mode + LDAP installed on > i386 Debian 6 > > Is there a way to resolve it ? > > Jun 14 11:02:31 fileserver32 smbd[1115]: [2012/06/14 11:02:31.644224, > 0] lib/fault.c:47(fault_report) > Jun 14 11:02:31 fileserver32 smbd[1115]: > ==============================================================> Jun 14 11:02:31 fileserver32 smbd[1115]: [2012/06/14 11:02:31.645554, > 0] lib/fault.c:48(fault_report) > Jun 14 11:02:31 fileserver32 smbd[1115]: INTERNAL ERROR: Signal 11 > in pid 1115 (3.6.5) > Jun 14 11:02:31 fileserver32 smbd[1115]: Please read the > Trouble-Shooting section of the Samba3-HOWTO > Jun 14 11:02:31 fileserver32 smbd[1115]: [2012/06/14 11:02:31.645778, > 0] lib/fault.c:50(fault_report) > Jun 14 11:02:31 fileserver32 smbd[1115]: > Jun 14 11:02:31 fileserver32 smbd[1115]: From: > http://www.samba.org/samba/docs/Samba3-HOWTO.pdf > Jun 14 11:02:31 fileserver32 smbd[1115]: [2012/06/14 11:02:31.645986, > 0] lib/fault.c:51(fault_report) > Jun 14 11:02:31 fileserver32 smbd[1115]: > ==============================================================> Jun 14 11:02:31 fileserver32 smbd[1115]: [2012/06/14 11:02:31.646127, > 0] lib/util.c:1117(smb_panic) > Jun 14 11:02:31 fileserver32 smbd[1115]: PANIC (pid 1115): internal > error > Jun 14 11:02:32 fileserver32 smbd[1141]: [2012/06/14 11:02:32.108305, > 0] lib/fault.c:47(fault_report) > Jun 14 11:02:32 fileserver32 smbd[1141]: > ==============================================================> Jun 14 11:02:32 fileserver32 smbd[1141]: [2012/06/14 11:02:32.108483, > 0] lib/fault.c:48(fault_report) > Jun 14 11:02:32 fileserver32 smbd[1141]: INTERNAL ERROR: Signal 11 > in pid 1141 (3.6.5) > Jun 14 11:02:32 fileserver32 smbd[1141]: Please read the > Trouble-Shooting section of the Samba3-HOWTO > Jun 14 11:02:32 fileserver32 smbd[1141]: [2012/06/14 11:02:32.108540, > 0] lib/fault.c:50(fault_report) > Jun 14 11:02:32 fileserver32 smbd[1141]: > Jun 14 11:02:32 fileserver32 smbd[1141]: From: > http://www.samba.org/samba/docs/Samba3-HOWTO.pdf > Jun 14 11:02:32 fileserver32 smbd[1141]: [2012/06/14 11:02:32.108592, > 0] lib/fault.c:51(fault_report) > Jun 14 11:02:32 fileserver32 smbd[1141]: > ==============================================================> Jun 14 11:02:32 fileserver32 smbd[1141]: [2012/06/14 11:02:32.108631, > 0] lib/util.c:1117(smb_panic) > Jun 14 11:02:32 fileserver32 smbd[1141]: PANIC (pid 1141): internal > error > > Configuration file: > > [global] > workgroup = COMPANY > netbios name = pdc1 > server string = %h server > disable netbios =no > strict allocate = No > strict locking = Auto > sync always = No > getwd cache = Yes > max protocol = NT1 > name resolve order =host lmhosts wins bcast > dns proxy = No > wins support = No > min protocol = NT1 > syslog = 3 > log level = 10 > log file = /var/log/samba/log.%m > debug timestamp = yes > > # Enable symbolics links ----------------------------------- > follow symlinks = yes > wide links = yes > unix extensions = no > > usershare allow guests = no > usershare max shares = 100 > usershare owner only = true > usershare path=/var/lib/samba/usershares/data > > #Guest access > guest account = nobody > map to guest = Bad Password > template homedir = /home/%U > template shell = /bin/bash > enable privileges = yes > domain master = yes > local master = yes > preferred master = yes > domain logons = yes > os level = 40 > ldap passwd sync = no > > #WINBINDD ******************************************************* > allow trusted domains = Yes > winbind use default domain = No > winbind enum users = Yes > winbind enum groups = Yes > password server=* > encrypt passwords = Yes > winbind separator = / > winbind uid = 10000-20000 > winbind gid = 10000-20000 > winbind enum users = Yes > winbind enum groups = Yes > winbind rpc only = No > security = user > > > printing = bsd > > # VISTA/Windows7 compatibility > # ACLs settings > nt acl support=yes > map acl inherit=yes > acl check permissions=yes > inherit permissions=no > inherit acls=no > acl map full control=yes > dos filemode=yes > force unknown acl user = no > > > # LDAP settings As 3.6 or above = 0----------------------------------- > ldap delete dn = no > passdb backend = ldapsam:ldap://127.0.0.1:389 > #scripts ----------------------------------- > add machine script = > /usr/share/artica-postfix/bin/artica-install --samba-add-computer "%u" > ldap admin dn = cn=Manager,dc=my-domain,dc=com > ldap suffix = dc=my-domain,dc=com > ldap group suffix = dc=organizations > ldap user suffix = dc=organizations > ldap machine suffix = ou=Computer,dc=samba,dc=organizations > ldap delete dn = yes > ldap ssl = off > ldap idmap suffix = > ou=idmap,dc=samba,dc=organizations,dc=my-domain,dc=com > encrypt passwords = true > idmap backend = ldap:ldap://127.0.0.1:389 > idmap uid = 1000-1999999 > idmap gid = 1000-1999999 > idmap config COMPANY:backend = ldap > idmap config COMPANY:readonly = no > idmap config COMPANY:default = yes > idmap config COMPANY:ldap_base_dn = > ou=idmap,dc=samba,dc=organizations,dc=my-domain,dc=com > idmap config COMPANY:ldap_user_dn = > cn=Manager,dc=my-domain,dc=com > idmap config COMPANY:ldap_url = ldap://127.0.0.1:389 > idmap config COMPANY:range = 1000-1999999 > > logon path > logon home > logon drive > socket options = TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT > SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192 > case sensitive = No > default case = lower > preserve case = yes > short preserve case = yes > wins support = Yes > time server = yes > msdfs root = no > host msdfs = no > > # Shared Folders lists ----------------------------------- > > [logs-backup] > path = /home/logs-backup > create mask = 0775 > directory mask = 0777 > force create mode = 0775 > create mode = 0775 > browseable = Yes > browsable = Yes > hosts allow = 192.168.1.158 KLFRL0051 > hosts deny = 0.0.0.0/0 > public = yes > force user = root > guest ok = yes > read only = no > > [Public] > path = /home/Public > create mask = 0775 > directory mask = 0777 > force create mode = 0775 > create mode = 0775 > browseable = Yes > browsable = Yes > [homes] > comment = Personnal Folder > browseable = No > writeable = Yes > >