12.04LTS Netatalk panic

Bug #1153704 reported by Stellan Eriksson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
netatalk (Ubuntu)
New
Undecided
Unassigned

Bug Description

Have made a new install of 12.04 Server.
Made a LDAP connection for user and password
And installed Samba.

Now I have installed Netatalk with original config.
When I try to connect true afp:// i get user and password if i write the password wrong i get refused and get another try

Feb 7 16:30:01 intra6 afpd[2697]: AFP/TCP started, advertising 10.0.0.129:548 (2.2.1)
Feb 7 16:30:20 intra6 afpd[2701]: pam_ldap: error trying to bind as user "uid=stellan,ou=SUDOers,dc=looklet,dc=com" (Invalid credentials)

But when I write the right password the Netatalk get panic and crash.

Feb 7 16:37:21 intra6 afpd[2777]: AFP/TCP started, advertising 10.0.0.129:548 (2.2.1)
Feb 7 16:37:47 intra6 afpd[2781]: ===============================================================
Feb 7 16:37:47 intra6 afpd[2781]: INTERNAL ERROR: Signal 11 in pid 2781 (2.2.1)
Feb 7 16:37:47 intra6 afpd[2781]: ===============================================================
Feb 7 16:37:47 intra6 afpd[2781]: BACKTRACE: 3 stack frames:
Feb 7 16:37:47 intra6 afpd[2781]: #0 /usr/sbin/afpd(netatalk_panic+0x1c) [0x7f622830baec]
Feb 7 16:37:47 intra6 afpd[2781]: #1 /usr/sbin/afpd(+0x50bec) [0x7f622830bbec]
Feb 7 16:37:47 intra6 afpd[2781]: #2 /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f62272c64a0]

Got any solution of this?

Have made a support request true the Canonical support and got this anserw

We've been investigating the relevant Ubuntu components that we support (LDAP, PAM) and we haven't been able to find any problem within the operating system itself - we therefore suspect that the issue is indeed with netatalk.

As we've mentioned, we unfortunately can only work to a limited degree on issues in software outside of our supported repositories and can't debug or release fixes for the code itself as it's outside the scope of Ubuntu Advantage. In this case we would have to recommend that you seek assistance from the developers themselves, as we've reached the extent to which we can debug the software and don't think there is any further action we can take to help you. It may be possible to get help from the maintainers of the netatalk package through Launchpad at the following address: https://bugs.launchpad.net/ubuntu/precise/+source/netatalk

I hope that this information is of some use - let me know if you have any questions, and if there is anything else we can help you with please feel free to make a new case.

Kind regards,
Canonical

Revision history for this message
Stellan Eriksson (stellan) wrote :

Found the solution, looks like the older known bug with the corrupt uams_dhx2.so file.

This solution worked:

# cd /usr/lib/netatalk
# mv uams_dhx2.so uams_dhx2.so.broken
# ln -s uams_dhx2_passwd.so uams_dhx2.so

Revision history for this message
Stellan Eriksson (stellan) wrote :

A clean install of Netatalk on Ubuntu 12.04 was giving the same bug like a upgrade.

https://bugs.launchpad.net/ubuntu/+source/netatalk/+bug/810732

Revision history for this message
franklahm (franklahm-googlemail) wrote :

This is not a bug in Netatalk's DHX2 UAM, but a bug in pam_smbpass.so which is a part of Samba.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.