summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbind_nss.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-10 14:48:33 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-10 14:48:33 +0000
commit43a3faab0831a866559ca56e70c81be582047d0b (patch)
tree260d1729096068494759dce1743d44da61499671 /source3/nsswitch/winbind_nss.c
parent1c0cfff309be9360fa55ca2c72f6efd093f5a062 (diff)
downloadsamba-43a3faab0831a866559ca56e70c81be582047d0b.tar.gz
samba-43a3faab0831a866559ca56e70c81be582047d0b.tar.bz2
samba-43a3faab0831a866559ca56e70c81be582047d0b.zip
- changed smb_getpwnam() to use winbind style usernames
- finished ntdom -> winbind rename in head (This used to be commit ada483cb56453afc6df4ec4be18bfe5e943c7150)
Diffstat (limited to 'source3/nsswitch/winbind_nss.c')
-rw-r--r--source3/nsswitch/winbind_nss.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/source3/nsswitch/winbind_nss.c b/source3/nsswitch/winbind_nss.c
index 5c6227286d..78485aa05e 100644
--- a/source3/nsswitch/winbind_nss.c
+++ b/source3/nsswitch/winbind_nss.c
@@ -323,7 +323,7 @@ static int fill_grent(struct group *result,
/* Rewind "file pointer" to start of ntdom password database */
enum nss_status
-_nss_ntdom_setpwent(void)
+_nss_winbind_setpwent(void)
{
return generic_request(WINBINDD_SETPWENT, NULL, NULL);
}
@@ -331,7 +331,7 @@ _nss_ntdom_setpwent(void)
/* Close ntdom password database "file pointer" */
enum nss_status
-_nss_ntdom_endpwent(void)
+_nss_winbind_endpwent(void)
{
return generic_request(WINBINDD_ENDPWENT, NULL, NULL);
}
@@ -339,7 +339,7 @@ _nss_ntdom_endpwent(void)
/* Fetch the next password entry from ntdom password database */
enum nss_status
-_nss_ntdom_getpwent_r(struct passwd *result, char *buffer,
+_nss_winbind_getpwent_r(struct passwd *result, char *buffer,
size_t buflen, int *errnop)
{
enum nss_status ret;
@@ -354,7 +354,7 @@ _nss_ntdom_getpwent_r(struct passwd *result, char *buffer,
/* Return passwd struct from uid */
enum nss_status
-_nss_ntdom_getpwuid_r(uid_t uid, struct passwd *result, char *buffer,
+_nss_winbind_getpwuid_r(uid_t uid, struct passwd *result, char *buffer,
size_t buflen, int *errnop)
{
enum nss_status ret;
@@ -372,7 +372,7 @@ _nss_ntdom_getpwuid_r(uid_t uid, struct passwd *result, char *buffer,
/* Return passwd struct from username */
enum nss_status
-_nss_ntdom_getpwnam_r(const char *name, struct passwd *result, char *buffer,
+_nss_winbind_getpwnam_r(const char *name, struct passwd *result, char *buffer,
size_t buflen, int *errnop)
{
enum nss_status ret;
@@ -395,7 +395,7 @@ _nss_ntdom_getpwnam_r(const char *name, struct passwd *result, char *buffer,
/* Rewind "file pointer" to start of ntdom group database */
enum nss_status
-_nss_ntdom_setgrent(void)
+_nss_winbind_setgrent(void)
{
return generic_request(WINBINDD_SETGRENT, NULL, NULL);
}
@@ -403,7 +403,7 @@ _nss_ntdom_setgrent(void)
/* Close "file pointer" for ntdom group database */
enum nss_status
-_nss_ntdom_endgrent(void)
+_nss_winbind_endgrent(void)
{
return generic_request(WINBINDD_ENDGRENT, NULL, NULL);
}
@@ -413,7 +413,7 @@ _nss_ntdom_endgrent(void)
/* Get next entry from ntdom group database */
enum nss_status
-_nss_ntdom_getgrent_r(struct group *result,
+_nss_winbind_getgrent_r(struct group *result,
char *buffer, size_t buflen, int *errnop)
{
enum nss_status ret;
@@ -428,7 +428,7 @@ _nss_ntdom_getgrent_r(struct group *result,
/* Return group struct from group name */
enum nss_status
-_nss_ntdom_getgrnam_r(const char *name,
+_nss_winbind_getgrnam_r(const char *name,
struct group *result, char *buffer,
size_t buflen, int *errnop)
{
@@ -448,7 +448,7 @@ _nss_ntdom_getgrnam_r(const char *name,
/* Return group struct from gid */
enum nss_status
-_nss_ntdom_getgrgid_r(gid_t gid,
+_nss_winbind_getgrgid_r(gid_t gid,
struct group *result, char *buffer,
size_t buflen, int *errnop)
{