View Issue Details

IDProjectCategoryView StatusLast Update
0015582CentOS-7sambapublic2018-12-13 22:38
Reporterfeehans 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version7.5.1804 
Target VersionFixed in Version 
Summary0015582: net -f changesecretpw seg fault
DescriptionWe run samba with 'security = ads'. We manually join machines to the domain and set
the machine password on the samba side with 'net -f changesecretpw'. This has worked for
years, but recently it segfaults.

I think this is similar to this redhat bugzilla entry:

https://bugzilla.redhat.com/show_bug.cgi?id=1583252

This bug was marked as a duplicate of another bug, which has restricted access:

https://bugzilla.redhat.com/show_bug.cgi?id=1567896

Do CentOS developers have access to that restricted bug? Or can you help me figure out what is going on?

Thanks.
Steps To Reproduce[root@HOSTNAME ~]# net -f changesecretpw
Enter machine password:
Segmentation fault (core dumped)
[root@HOSTNAME ~]#

Additional InformationHere is a backtrace of the core dump:

[root@HOSTNAME ~]# gdb core.2976
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-110.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
[New LWP 2976]
Reading symbols from /usr/bin/net...Reading symbols from /usr/lib/debug/usr/bin/net.debug...done.
done.
Missing separate debuginfo for
Try: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/41/122ceb3ce37dd2dacfb72f1e1cb3e94b2533b2
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `net -f changesecretpw'.
Program terminated with signal 11, Segmentation fault.
#0 secrets_prepare_password_change (domain=0x5634764ee940 "WORKGROUP", dcname=dcname@entry=0x5634751b4087 "localhost", cleartext_unix=cleartext_unix@entry=0x5634764fb5f0 "xxx-key-omitted-xxx",
    mem_ctx=mem_ctx@entry=0x5634764eb130, pinfo=pinfo@entry=0x7ffee8ee06f0, pprev=pprev@entry=0x7ffee8ee06f8) at ../source3/passdb/machine_account_secrets.c:1721
1721 prev = info->next_change;
Missing separate debuginfos, use: debuginfo-install audit-libs-2.8.1-3.el7_5.1.x86_64 avahi-libs-0.6.31-19.el7.x86_64 bzip2-libs-1.0.6-13.el7.x86_64 cups-libs-1.6.3-35.el7.x86_64 cyrus-sasl-lib-2.1.26-23.el7.x86_64 dbus-lib4
(gdb) bt
#0 secrets_prepare_password_change (domain=0x5634764ee940 "WORKGROUP", dcname=dcname@entry=0x5634751b4087 "localhost", cleartext_unix=cleartext_unix@entry=0x5634764fb5f0 "xxx-key-omitted-xxx",
    mem_ctx=mem_ctx@entry=0x5634764eb130, pinfo=pinfo@entry=0x7ffee8ee06f0, pprev=pprev@entry=0x7ffee8ee06f8) at ../source3/passdb/machine_account_secrets.c:1721
#1 0x0000563475156688 in net_changesecretpw (c=<optimized out>, argc=<optimized out>, argv=<optimized out>) at ../source3/utils/net.c:205
#2 0x000056347513c640 in main (argc=3, argv=0x7ffee8ee1158) at ../source3/utils/net.c:1124
(gdb)
TagsNo tags attached.
abrt_hash
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-12-13 22:38 feehans New Issue