summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2003-02-21 13:25:10 +0000
committerJim McDonough <jmcd@samba.org>2003-02-21 13:25:10 +0000
commitdb721d24c5ed337e2fd69860d0a4011a6c1f3e2d (patch)
tree76ff2198f7e570e0f8480af179154034e5eaa0e4 /source3/nsswitch
parent2935d153763ca3f40de974418c479c4ef6cd4ec0 (diff)
downloadsamba-db721d24c5ed337e2fd69860d0a4011a6c1f3e2d.tar.gz
samba-db721d24c5ed337e2fd69860d0a4011a6c1f3e2d.tar.bz2
samba-db721d24c5ed337e2fd69860d0a4011a6c1f3e2d.zip
rename 'winbind backend' to 'idmap backend'. Put paramter in security section...does this make sense?
(This used to be commit 822083f73e8ba4e096c53ff0f7578f47bc21b7b5)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_idmap.c46
1 files changed, 23 insertions, 23 deletions
diff --git a/source3/nsswitch/winbindd_idmap.c b/source3/nsswitch/winbindd_idmap.c
index d9448ef859..0a17fcd87f 100644
--- a/source3/nsswitch/winbindd_idmap.c
+++ b/source3/nsswitch/winbindd_idmap.c
@@ -62,13 +62,13 @@ BOOL winbindd_idmap_init(void)
BOOL ret = False;
DEBUG(3, ("winbindd_idmap_init: using '%s' as backend\n",
- lp_winbind_backend()));
+ lp_idmap_backend()));
if (!impl) {
- impl = get_impl(lp_winbind_backend());
+ impl = get_impl(lp_idmap_backend());
if (!impl) {
DEBUG(0, ("winbindd_idmap_init: could not load backend '%s'\n",
- lp_winbind_backend()));
+ lp_idmap_backend()));
}
}
@@ -87,10 +87,10 @@ BOOL winbindd_idmap_get_uid_from_sid(DOM_SID *sid, uid_t *uid)
BOOL ret = False;
if (!impl) {
- impl = get_impl(lp_winbind_backend());
+ impl = get_impl(lp_idmap_backend());
if (!impl) {
DEBUG(0, ("winbindd_idmap_init: could not load backend '%s'\n",
- lp_winbind_backend()));
+ lp_idmap_backend()));
}
}
@@ -107,10 +107,10 @@ BOOL winbindd_idmap_get_gid_from_sid(DOM_SID *sid, gid_t *gid)
BOOL ret = False;
if (!impl) {
- impl = get_impl(lp_winbind_backend());
+ impl = get_impl(lp_idmap_backend());
if (!impl) {
DEBUG(0, ("winbindd_idmap_init: could not load backend '%s'\n",
- lp_winbind_backend()));
+ lp_idmap_backend()));
}
}
@@ -128,10 +128,10 @@ BOOL winbindd_idmap_get_uid_from_rid(const char *dom_name, uint32 rid,
BOOL ret = False;
if (!impl) {
- impl = get_impl(lp_winbind_backend());
+ impl = get_impl(lp_idmap_backend());
if (!impl) {
DEBUG(0, ("winbindd_idmap_init: could not load backend '%s'\n",
- lp_winbind_backend()));
+ lp_idmap_backend()));
}
}
@@ -149,10 +149,10 @@ BOOL winbindd_idmap_get_gid_from_rid(const char *dom_name, uint32 rid,
BOOL ret = False;
if (!impl) {
- impl = get_impl(lp_winbind_backend());
+ impl = get_impl(lp_idmap_backend());
if (!impl) {
DEBUG(0, ("winbindd_idmap_init: could not load backend '%s'\n",
- lp_winbind_backend()));
+ lp_idmap_backend()));
}
}
@@ -169,10 +169,10 @@ BOOL winbindd_idmap_get_sid_from_uid(uid_t uid, DOM_SID *sid)
BOOL ret = False;
if (!impl) {
- impl = get_impl(lp_winbind_backend());
+ impl = get_impl(lp_idmap_backend());
if (!impl) {
DEBUG(0, ("winbindd_idmap_init: could not load backend '%s'\n",
- lp_winbind_backend()));
+ lp_idmap_backend()));
}
}
@@ -189,14 +189,14 @@ BOOL winbindd_idmap_get_sid_from_gid(gid_t gid, DOM_SID *sid)
BOOL ret = False;
if (!impl) {
- impl = get_impl(lp_winbind_backend());
+ impl = get_impl(lp_idmap_backend());
}
if (impl) {
ret = impl->get_sid_from_gid(gid, sid);
} else {
DEBUG(0, ("winbindd_idmap_init: could not load backend '%s'\n",
- lp_winbind_backend()));
+ lp_idmap_backend()));
}
return ret;
@@ -209,14 +209,14 @@ BOOL winbindd_idmap_get_rid_from_uid(uid_t uid, uint32 *user_rid,
BOOL ret = False;
if (!impl) {
- impl = get_impl(lp_winbind_backend());
+ impl = get_impl(lp_idmap_backend());
}
if (impl) {
ret = impl->get_rid_from_uid(uid, user_rid, domain);
} else {
DEBUG(0, ("winbindd_idmap_init: could not load backend '%s'\n",
- lp_winbind_backend()));
+ lp_idmap_backend()));
}
return ret;
@@ -229,14 +229,14 @@ BOOL winbindd_idmap_get_rid_from_gid(gid_t gid, uint32 *group_rid,
BOOL ret = False;
if (!impl) {
- impl = get_impl(lp_winbind_backend());
+ impl = get_impl(lp_idmap_backend());
}
if (impl) {
ret = impl->get_rid_from_gid(gid, group_rid, domain);
} else {
DEBUG(0, ("winbindd_idmap_init: could not load backend '%s'\n",
- lp_winbind_backend()));
+ lp_idmap_backend()));
}
return ret;
@@ -248,14 +248,14 @@ BOOL winbindd_idmap_close(void)
BOOL ret = False;
if (!impl) {
- impl = get_impl(lp_winbind_backend());
+ impl = get_impl(lp_idmap_backend());
}
if (impl) {
ret = impl->close();
} else {
DEBUG(0, ("winbindd_idmap_init: could not load backend '%s'\n",
- lp_winbind_backend()));
+ lp_idmap_backend()));
}
return ret;
@@ -265,14 +265,14 @@ BOOL winbindd_idmap_close(void)
void winbindd_idmap_status(void)
{
if (!impl) {
- impl = get_impl(lp_winbind_backend());
+ impl = get_impl(lp_idmap_backend());
}
if (impl) {
impl->status();
} else {
DEBUG(0, ("winbindd_idmap_init: could not load backend '%s'\n",
- lp_winbind_backend()));
+ lp_idmap_backend()));
}
}