summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-04 07:59:34 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-04 07:59:34 +0000
commitf3a861e04e33901c89408a9c89ebaa81fc606f97 (patch)
treee1c30e8a0d51b6ec971bfb8f64843de16b9f9ed1 /source3/smbd
parenta7820eb9af08771106e6e119c17e76be1174d5b3 (diff)
downloadsamba-f3a861e04e33901c89408a9c89ebaa81fc606f97.tar.gz
samba-f3a861e04e33901c89408a9c89ebaa81fc606f97.tar.bz2
samba-f3a861e04e33901c89408a9c89ebaa81fc606f97.zip
- use full_name instead of real_name
- got rid of guest map code in lpq parser (This used to be commit 8e53f781d3cf6a7007764916a0d8e8f1abea1f66)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/lanman.c4
-rw-r--r--source3/smbd/password.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index 2ec08ddbf9..b986df6d07 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -2336,7 +2336,7 @@ static BOOL api_RNetUserGetInfo(connection_struct *conn,uint16 vuid, char *param
/* EEK! the cifsrap.txt doesn't have this in!!!! */
SIVAL(p,usri11_full_name,PTR_DIFF(p2,p)); /* full name */
- pstrcpy(p2,((vuser != NULL) ? vuser->user.real_name : UserName));
+ pstrcpy(p2,((vuser != NULL) ? vuser->user.full_name : UserName));
p2 = skip_string(p2,1);
}
@@ -2395,7 +2395,7 @@ static BOOL api_RNetUserGetInfo(connection_struct *conn,uint16 vuid, char *param
{
SIVAL(p,60,0); /* auth_flags */
SIVAL(p,64,PTR_DIFF(p2,*rdata)); /* full_name */
- pstrcpy(p2,((vuser != NULL) ? vuser->user.real_name : UserName));
+ pstrcpy(p2,((vuser != NULL) ? vuser->user.full_name : UserName));
p2 = skip_string(p2,1);
SIVAL(p,68,0); /* urs_comment */
SIVAL(p,72,PTR_DIFF(p2,*rdata)); /* parms */
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 989d3f045d..a727d2feb3 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -261,12 +261,12 @@ uint16 register_vuid(uid_t uid,gid_t gid, char *unix_name, char *requested_name,
DEBUG(3,("uid %d registered to name %s\n",(int)uid,unix_name));
DEBUG(3, ("Clearing default real name\n"));
- fstrcpy(vuser->user.real_name, "<Full Name>");
+ fstrcpy(vuser->user.full_name, "<Full Name>");
if (lp_unix_realname()) {
if ((pwfile=sys_getpwnam(vuser->user.unix_name))!= NULL)
{
DEBUG(3, ("User name: %s\tReal name: %s\n",vuser->user.unix_name,pwfile->pw_gecos));
- fstrcpy(vuser->user.real_name, pwfile->pw_gecos);
+ fstrcpy(vuser->user.full_name, pwfile->pw_gecos);
}
}