This is a cleaner way to enter into s3compat, and moves as much of the
glue out of source4/winbind as possible.
Andrew Bartlett
/* this is a hack for now to enable the s3 winbindd
in s4 */
if (lp_parm_bool(conn->lp_ctx, NULL, "s3compat", "winbindd", false)) {
- void s3compat_winbindd_accepted_new_connection(int accepted_sock, bool privileged);
- s3compat_winbindd_accepted_new_connection(socket_get_fd(conn->socket),
- wbsrv_socket->privileged);
+ void s3compat_winbind_accept(struct stream_connection *conn);
+ s3compat_winbind_accept(conn);
return;
}
#endif