mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
5e5cc6efe2
get ready and fix se_access_check(). Added cannonical lookup_name(), lookup_sid(), uid_to_sid(), gid_to_sid() functions that look via winbind first the fall back on local lookup. All Samba should use these rather than trying to call winbindd code directly. Added NT_USER_TOKEN struct in user_struct, contains list of NT sids associated with this user. se_access_check() should use this (cached) value rather than attempting to do the same thing itself when given a uid/gid pair. More work needs to be done to preserve these things accross security context changes (especially with the tricky pipe problem) but I'm beginning to see how this will be done..... probably by registering a new vuid for an authenticated RPC pipe and not treating the pipe calls specially. More thoughts needed - but we're almost there... Jeremy. |
||
---|---|---|
.. | ||
pam_winbind.c | ||
README | ||
wb_client.c | ||
wb_common.c | ||
wbinfo.c | ||
winbind_nss_config.h | ||
winbind_nss.c | ||
winbindd_cache.c | ||
winbindd_group.c | ||
winbindd_idmap.c | ||
winbindd_nss.h | ||
winbindd_pam.c | ||
winbindd_proto.h | ||
winbindd_user.c | ||
winbindd_util.c | ||
winbindd.c | ||
winbindd.h | ||
wins.c |
This extension provides a "wins" module for NSS on glibc2/Linux. This allows you to use a WINS entry in /etc/nsswitch.conf for hostname resolution, allowing you to resolve netbios names via start unix gethostbyname() calls. The end result is that you can use netbios names as host names in unix apps. 1) run configure 2) run "make nsswitch" 3) cp nsswitch/libnss_wins.so /lib/libnss_wins.so.2 4) add a wins entry to the hosts line in /etc/nsswitch.conf 5) use it tridge@linuxcare.com