summaryrefslogtreecommitdiff
path: root/source4/rpc_server/unixinfo
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-11-11 11:35:02 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-11-12 00:05:08 +1100
commitb4d8629f511005540cb1fbbbe9abfb278c064ba2 (patch)
tree447c440aa6ff47636aefcfdab5f8db9558bfb872 /source4/rpc_server/unixinfo
parentc06d602d7f3b8d3da972071a1b5392c6b145133f (diff)
downloadsamba-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