/*
* Dolda Connect - Modular multiuser Direct Connect-style client
- * Copyright (C) 2004 Fredrik Tolf (fredrik@dolda2000.com)
+ * Copyright (C) 2004 Fredrik Tolf <fredrik@dolda2000.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
if((pwd = getpwnam(data->username)) == NULL)
return(AUTH_ERR);
if(sk->ucred.uid == -1) {
- errno = EBADE;
+ errno = EOPNOTSUPP; /* Bleh */
return(AUTH_ERR);
}
if(pwd->pw_uid == sk->ucred.uid) {