mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 08:20:16 +00:00
ptserver: Complete pr_realmName removal
Commit 9ddf9eca56
changed the mechanism
by which the local realm is determined such that pr_realmName is
no longer required.
Tidy things up by removing the unecessary variable.
Change-Id: I9b21340a8ecd38fbb8326dbed276882c9f0e9a62
Reviewed-on: http://gerrit.openafs.org/7266
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
This commit is contained in:
parent
fbc9599484
commit
3029ed4003
@ -146,8 +146,6 @@ struct afsconf_dir *prdir;
|
|||||||
extern afs_int32 depthsg;
|
extern afs_int32 depthsg;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char *pr_realmName;
|
|
||||||
|
|
||||||
int restricted = 0;
|
int restricted = 0;
|
||||||
int rxMaxMTU = -1;
|
int rxMaxMTU = -1;
|
||||||
int rxBind = 0;
|
int rxBind = 0;
|
||||||
@ -466,7 +464,6 @@ main(int argc, char **argv)
|
|||||||
afs_com_err(whoami, code, "Couldn't get server list");
|
afs_com_err(whoami, code, "Couldn't get server list");
|
||||||
PT_EXIT(2);
|
PT_EXIT(2);
|
||||||
}
|
}
|
||||||
pr_realmName = info.name;
|
|
||||||
|
|
||||||
/* initialize audit user check */
|
/* initialize audit user check */
|
||||||
osi_audit_set_user_check(configDir, pr_IsLocalRealmMatch);
|
osi_audit_set_user_check(configDir, pr_IsLocalRealmMatch);
|
||||||
|
@ -180,4 +180,3 @@ afsconf_GetNoAuthFlag(struct afsconf_dir *adir)
|
|||||||
|
|
||||||
char *prdir = "/dev/null";
|
char *prdir = "/dev/null";
|
||||||
struct prheader cheader;
|
struct prheader cheader;
|
||||||
char *pr_realmName;
|
|
||||||
|
Loading…
Reference in New Issue
Block a user