winbindd: Add support for name aliasing.
authorGerald (Jerry) Carter <jerry@samba.org>
Mon, 15 Sep 2008 20:41:37 +0000 (15:41 -0500)
committerJeremy Allison <jra@samba.org>
Tue, 16 Sep 2008 17:27:49 +0000 (10:27 -0700)
commitd6de32db2f8d080cb746b3032c128f210154b75e
tree3a28e1eefd2f2c3773aa0bb030372707d4e63f48
parentf2723d193d8a7963b937414ee32e5c6f529b9032
winbindd: Add support for name aliasing.

* Add support user and group name aliasing by expanding
  the ws_name_replace() and ws_name_return() functions.
  The lookup path is
     aliases -> qualified name -> SID
     SID -> fully qualified name -> alias
  In other words, the name aliasing support is a thin layer
  built on top of SID/NAME translation.

* Rename the ws_name_XX() functions to normalize_name_map()
  and normalize_name_unmap().  Chaneg interface to return
  NTSTATUS rather than char *.

* Add associated cache validation functions.
source3/include/nss_info.h
source3/winbindd/nss_info.c
source3/winbindd/nss_info_template.c
source3/winbindd/winbindd_cache.c
source3/winbindd/winbindd_proto.h
source3/winbindd/winbindd_util.c