summaryrefslogtreecommitdiff
path: root/source3/lib/afs.c
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2011-07-15 15:35:18 +0200
committerChristian Ambach <ambi@samba.org>2011-07-21 14:55:06 +0200
commitffef23d40f100ba678bc2af73eb24bc6fc93356e (patch)
treebccfe17dcd0194b8ea00e280a5c8852ed95b1ac1 /source3/lib/afs.c
parent9779af85d6fe3091448ed77166877e3fcdfc3cfe (diff)
downloadsamba-ffef23d40f100ba678bc2af73eb24bc6fc93356e.tar.gz
samba-ffef23d40f100ba678bc2af73eb24bc6fc93356e.tar.bz2
samba-ffef23d40f100ba678bc2af73eb24bc6fc93356e.zip
s3:lib/afs use stdbool types
Diffstat (limited to 'source3/lib/afs.c')
-rw-r--r--source3/lib/afs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/lib/afs.c b/source3/lib/afs.c
index 2ee1747a77..849e9ce55d 100644
--- a/source3/lib/afs.c
+++ b/source3/lib/afs.c
@@ -93,11 +93,11 @@ static bool afs_createtoken(const char *username, const char *cell,
des_key_schedule key_schedule;
if (!secrets_init())
- return False;
+ return false;
if (!secrets_fetch_afs_key(cell, &key)) {
DEBUG(1, ("Could not fetch AFS service key\n"));
- return False;
+ return false;
}
ct->AuthHandle = key.kvno;
@@ -184,7 +184,7 @@ static bool afs_createtoken(const char *username, const char *cell,
*ticket = data_blob(clear_ticket, len);
- return True;
+ return true;
}
char *afs_createtoken_str(const char *username, const char *cell)
@@ -276,7 +276,7 @@ bool afs_login(connection_struct *conn)
afs_username, cell));
if (!afs_createtoken(afs_username, cell, &ticket, &ct))
- return False;
+ return false;
/* For which Unix-UID do we want to set the token? */
ct.ViceId = getuid();
@@ -296,7 +296,7 @@ bool afs_login(connection_struct *conn)
bool afs_login(connection_struct *conn)
{
- return True;
+ return true;
}
char *afs_createtoken_str(const char *username, const char *cell)