hi,
i tryed getting partimage working using pam authentication. I've setup my pam to use LDAP Database which works fine for IMAP/SMTP authentication already.
(sasl is also setup to use pam)
$ testsaslauthd -u test -p abcdef -s imap
0: OK "Success."
$ testsaslauthd -u test -p abcdef -s smtp
0: OK "Success."
$ testsaslauthd -u test -p abcdef -s partimaged
0: OK "Success."
$ cat /etc/pam.d/partimaged
# PAM config file for Partimaged
auth sufficient pam_ldap.so
auth required pam_unix.so
auth required pam_warn.so
auth required pam_listfile.so \
onerr=fail item=user sense=allow \
file=/etc/partimaged/partimagedusers
password sufficient pam_ldap.so
account sufficient pam_ldap.so
session sufficient pam_ldap.so
i can connect to the partimaged with the test user created but when i want to start the backup i cant get behind the last notice for the MBR Bug problem. It just segfaults on the server and the client just drop as a trace shows
15991 write(3, "[Main] gui_text.cpp->getValues#412: qwSplitSize = 2135949312\n", 61) = 61
15991 write(3, "[Main] imagefile.cpp->set_options#216: SETOPTIONS\n", 50) = 50
15991 write(7, "\200\30\255\256/\367\217\241\3\221\367\361\342\373\26T\2365N\16\217\307\300\361\200g", 26) = -1 ECONNRESET (Connection reset by peer)
15991 write(3, "[Main] net.cpp->nSend#41: end: Connection reset by peer\n", 56) = 56
15991 write(3, "[Main] net.cpp->nSendMsg#99: (*) incomplete message sent (-1 instead of 8)\n", 75) = 75
15991 write(3, "[Main] net.cpp->nSend#41: end: Success\n", 39) = 39
the Server trace is attached. Compiling without pam just works fine. Any hint ?
Kind regards
Michael Lang
partimaged trace when segfaulting