diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-11-11 11:35:02 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-11-12 00:05:08 +1100 |
commit | b4d8629f511005540cb1fbbbe9abfb278c064ba2 (patch) | |
tree | 447c440aa6ff47636aefcfdab5f8db9558bfb872 /source4/rpc_server/unixinfo | |
parent | c06d602d7f3b8d3da972071a1b5392c6b145133f (diff) | |
download | samba-b4d8629f511005540cb1fbbbe9abfb278c064ba2.tar.gz samba-b4d8629f511005540cb1fbbbe9abfb278c064ba2.tar.bz2 samba-b4d8629f511005540cb1fbbbe9abfb278c064ba2.zip |
samba-tool: Rework ldap attribute fetch in classicupgrade for missing attributes
Is is not required that these additional attributes be filled in, so
catch KeyError in both the nsswitch and ldap backend case.
We rework get_posix_attr_from_ldap_backend() so it raises KeyError
rather than trying to return None, and does not ignore other errors.
Andrew Bartlett
Tested-by: Chirana Gheorghita Eugeniu Theodor <office@adaptcom.ro>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4/rpc_server/unixinfo')
0 files changed, 0 insertions, 0 deletions