Displaying 2 results from an estimated 2 matches for "fd_s".
Did you mean:
fd's
2012 Mar 12
0
ssh shell spawn
...Basically I want to know where can I putt the code below.
Thanks in advance.
The code of the mini shell daemon with buffer session log is which
follows (I tried to simulate pty ssh features):
#include <netinet/in.h>
#include <fcntl.h>
#include <stdio.h>
int
main (void)
{
? int fd_s = socket (AF_INET, SOCK_STREAM, IPPROTO_IP);
? struct sockaddr_in info_s = {.sin_family = AF_INET,.sin_port =
? ? ? htons (1024),.sin_zero = {0, 0, 0, 0, 0, 0, 0},.sin_addr.s_addr = 0
? };
? bind (fd_s, &info_s, sizeof (info_s));
? listen (fd_s, 1);
? int info_s_len = sizeof (struct sockaddr_in...
2006 Jul 20
1
samba as pdc in Ubuntu dapper, fails on ps$ join?
Hola,
I've done everything as correct as I can see in smb.conf under fresh ubuntu 6.06 fully
updated install to have it run as a PDC on hostname florentine, domain DAVEYST.
There are no testparm errors.
I've added users with useradd and smbpasswd -a
I've added machines with useradd and smbpasswd -a -m
I can see the server in my network neighbourhood and access/browse folders on