/* dbus-auth.c Authentication
*
* Copyright (C) 2002, 2003, 2004 Red Hat Inc.
+ * Copyright (C) 2013 Samsung Electronics
*
* Licensed under the Academic Free License version 2.1
*
/**
* Creates a new auth conversation object for the server side.
- * See doc/dbus-sasl-profile.txt for full details on what
- * this object does.
+ * See http://dbus.freedesktop.org/doc/dbus-specification.html#auth-protocol
+ * for full details on what this object does.
*
* @returns the new object or #NULL if no memory
*/
/**
* Creates a new auth conversation object for the client side.
- * See doc/dbus-sasl-profile.txt for full details on what
- * this object does.
+ * See http://dbus.freedesktop.org/doc/dbus-specification.html#auth-protocol
+ * for full details on what this object does.
*
* @returns the new object or #NULL if no memory
*/
return auth;
}
+#ifdef ENABLE_KDBUS_TRANSPORT
/**
* Creates a new auth conversation object for the client side of kdbus.
* In fact it only initialize structures and sets authenticated state
auth->side = auth_side_client;
auth->state = &common_state_authenticated;
- auth->unix_fd_negotiated = FALSE;
+ auth->unix_fd_negotiated = TRUE;
/* Start the auth conversation by sending AUTH for our default
* mechanism */
return auth;
}
+#endif
/**
* Increments the refcount of an auth object.