search for: pusernam

Displaying 3 results from an estimated 3 matches for "pusernam".

Did you mean: usernam
2001 Apr 06
3
SFTP client script broken after OpenSSH 2.5.1p1 to 2.5.2p2-1
...ello friends, I have a script that uses the sftp client to transfer a file to another server using PK authentication. It was working until I upgraded from OpenSSH 2.5.1p1 to 2.5.2p2-1 yesterday (on a RH Linux 6.2 system). The sftp command is: sftp -o "IdentityFile ~/.ssh/id_dsa" \ $PUSERNAME@$PSERVER >$TEMPFILE 2>&1 <<-! cd $PDIR put $DOC_ARCHIVE ls quit ! Now when I run the script in test mode where it logs into an account on the same box the script appears to ignore the current directory set by the "cd" command and will "put" the file in the...
2007 May 10
2
programming libsmbclient
...; #include <string.h> #include <time.h> #include <errno.h> #include <libsmbclient.h> static void get_auth_data_fn(const char * pServer, const char * pShare, char * pWorkgroup, int maxLenWorkgroup, char * pUsername, int maxLenUsername, char * pPassword, int maxLenPassword) { sprintf( pWorkgroup, "%s", "WG" ); sprintf( pUsername, "%s", "test" ); sprintf( pPassword, "%s", "test" ); } int...
1999 Jun 10
1
Printer Queue control
I am setting up samba as a print server on a FreeBSD machine. I would like the users to be able to control the print queue by using the Pause option in Windows NT. It seems that I have a permission problem doing this though. -- Portion of smb.conf -- [global] lpq command = /usr/bin/lpq -P%p lprm command = /usr/bin/lprm -P%p %j queuepause command =