History log of /sssd/src/sss_client/autofs/sss_autofs.c
Revision Date Author Comments Expand
01f0d708fddfd50bdbb36a63737dcdc2c2fbd28d 27-May-2014 Lukas Slebodnik <lslebodn@redhat.com>

sss_autofs: Do not try to free empty autofs context If initialisation fails in function _sss_setautomntent, context will not be initialized and automount client will crash. The function _sss_endautomntent should not try to dereference NULL pointer. Resolves: https://fedorahosted.org/sssd/ticket/2288 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

71bcdde36bcfd8cb797777062208a85bf6337dec 27-May-2014 Lukas Slebodnik <lslebodn@redhat.com>

sss_autofs: Check return value of autofs make request The return value of function sss_autofs_make_request was not checked. (returned value was SSS_STATUS_UNAVAIL) Unfotunatelly, errnop was zero; buffer "repbuf" was not initialised and automount crashed in sss_autofs plugin. Resolves: https://fedorahosted.org/sssd/ticket/2288 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

a171d77f40aa92e240e91aa4bafe5a392a98b5a2 03-Dec-2013 Michal Zidek <mzidek@redhat.com>

sss_client: Use SAFEALIGN_COPY_<type> macros where appropriate. resolves: https://fedorahosted.org/sssd/ticket/1359

35c3d98374d7ce3cb1f37eaa012af83eb82a731a 01-Mar-2013 Jakub Hrozek <jhrozek@redhat.com>

Revert "Add debug message to autofs client" This reverts commit 30c76633788c498b7d34e7e5944a3d36f26ec2db.

30c76633788c498b7d34e7e5944a3d36f26ec2db 01-Mar-2013 Pavel Březina <pbrezina@redhat.com>

Add debug message to autofs client

1cde5866227feccf482f82c112c352c103afbc59 16-Jan-2013 Jakub Hrozek <jhrozek@redhat.com>

autofs: Use SAFEALIGN_SET_UINT32 instead of SAFEALIGN_COPY_UINT32

5f93f452e4a80d6b0243eaf3c583d0caf9981ca0 03-May-2012 Jakub Hrozek <jhrozek@redhat.com>

AUTOFS: remove unused assignments Also changes setautomntent_send so that is only return NULL in case the tevent_req creation fails.

ac67129265297ad55cb36a6749a8e79370986183 18-Apr-2012 Jakub Hrozek <jhrozek@redhat.com>

autofs: Raise the maximum key length to PATH_MAX https://fedorahosted.org/sssd/ticket/1300

0a78bac242d0172a858d6b65402276aa734a4671 27-Mar-2012 Jakub Hrozek <jhrozek@redhat.com>

AUTOFS: fix copy-and-paste bug in the autofs client

1c383994ae898fa862f93c43501395bae6304f28 08-Mar-2012 Jakub Hrozek <jhrozek@redhat.com>

Autofs: operate on contents of double-pointer, not address https://fedorahosted.org/sssd/ticket/1234

c83ebdbc0629313ef6594215ed1674b9a783cfdd 27-Feb-2012 Jakub Hrozek <jhrozek@redhat.com>

AUTOFS: speed up the client by requesting multiple entries at once https://fedorahosted.org/sssd/ticket/1166

2cbdd12983eb85eddb90f64cfafb24eae5b448f4 06-Feb-2012 Jakub Hrozek <jhrozek@redhat.com>

AUTOFS: a client library This is the library the autofs client is using. automounter dlopen()s the library so there is no header file, no pkgconfig file and the library is in the libsss_autofs package, not in -devel. The library provides the following interface: * _sss_setautomntent() - select the map for processing * _sss_getautomntent_r() - iterates through key/value pairs in the selected map. The key is usually the mount point, the value is mount information (server:/export) * _sss_getautomntbyname_r() - returns value for a specific key. * _sss_endautomntent() deselect a map, clean up