search for: ncreat

Displaying 5 results from an estimated 5 matches for "ncreat".

Did you mean: creat
2008 Feb 28
1
C Code to connect to Asterisk Manager Interface
...RESS); serveraddr.sin_port = htons(SERVER_PORT); bzero((char *) &clientaddr, sizeof(clientaddr)); clientaddr.sin_family = AF_INET; clientaddr.sin_addr.s_addr = INADDR_ANY; clientaddr.sin_port = htons(CLIENT_PORT); sd = socket(AF_INET, SOCK_STREAM, 0); printf("\nCreated socket ..."); bind(sd,(struct sockaddr *) &clientaddr, sizeof(clientaddr)); printf("\nBinding successful ..."); connect(sd,(struct sockaddr *) &serveraddr, sizeof(serveraddr)); printf("\nConnected ..."); *msg=(char)"Action: Login\r\nUse...
1998 Jul 02
1
Synchronize Unix/SMB passwords with 'synchpasswd'
...# Remove user ID's below this value from SMB # # Let's go... # use Text::ParseWords; # For the 'quotewords' function chdir($private_dir); # # Scan through /etc/passwd. Create an array of names to pass to # 'addtosmbpass', but omit all system accounts. # printf("\nCreating a list of Unix users:\n"); setpwent; # Initialize the scan while (@list = getpwent) { # Fetch the next entry ($login,$uid) = @list[0,2]; # Grab login name and uid if ($uid <= $system_id) { printf ("\tOmmitting $login ...\n"); } else { @USERS = (@USERS, "$login"...
2010 Feb 18
0
improved create dovecot certificate script
...{directory}/${name}.crt" check_exists "${certificate}" "public certificate" key="${directory}/${name}.pem" check_exists "${key}" "private key" #.............................................................................# ${echo} "\nCreating new X509 certificate\n\ with configuration ${configuration}\nfor ${name} ...\n" ${OPENSSL} req -new -x509 -nodes -config "${configuration}" \ -days 365 -out "${certificate}" -keyout "${key}" status=${?} if [ ${status} -ne 0 ] then...
2015 Sep 24
2
problems with PJSIP install on UBUNTU 14.04
On 15-09-24 04:42 PM, Ryan, Travis wrote: > Did something change DB-wise with PJSIP and realtime between 13.3.2 > and 13.5.0? I'm getting an unknown column error and unsure where I > need that column and the type it needs to be. Yes, the schema can change between versions. Following the instructions on
2019 Oct 15
4
Splitting the large libguestfs repo
I got a little way into this. The two attached patches are preliminary work. My proposed split is: libguestfs.git common -> git submodule libguestfs-common.git generator/ lib/ all language bindings C based tools (eg. virt-df, virt-edit, guestfish) guestfs-tools.git common -> git submodule libguestfs-common.git