search for: some_script

Displaying 9 results from an estimated 9 matches for "some_script".

2017 Sep 26
3
syncpasswords/getpassword: some examples, please...
[Clearly, this question is intimately connected to the previous...] I need a way to ''preprocess'' or at least intercept password changes, because i need to propagate them to other ''legacy'' systems. I've looked around and found syncpasswords / getpassword samba-tool commands, but really i've not understood how they work. Seems to me that can be useful in
2017 Dec 26
4
Answered time on channel
...arrier)) Exten => h,1,NoOp(ANSWERED_TIME: ${ANSWEREDTIME} >>> DIAL_TIME: ${DIALEDTIME} >>> HANGUP_TIME: ${EPOCH} >>> ANSWERED TIME ${MATH(${EPOCH}-${ANSWEREDTIME},int)}) [call-answer-from-carrier] Exten => s,1,Noop(CALL WAS ANSWERED AT ${EPOCH} Exten => s,n,Agi(some_script.py) Now in theory the hangup time of the call (${EPOCH} in the h extension) minus the answered time should be the same as the noop from my subroutine. I am finding that some times they match and some times they are off by a second. My issue is that the external system expects the answered time to...
2017 Sep 27
0
syncpasswords/getpassword: some examples, please...
...and Samba 4.5. - configure gpg encrypted password for syncing to external system # gpg2 --gen-key # gpg2 --list-keys --keyid-format LONG - add the pub key to "password hash gpg key ids" in smb.conf - configure password script # samba-tool user syncpasswords --script=/some_folder/some_script.py --cache-ldb-initialize --decrypt-samba-gpg --attributes=virtualClearTextUTF8,sAMAccountName # samba-tool user syncpasswords --logfile=/var/log/some_log_file.log --daemon some_script.py receives the username (sAMAccountName) and password (virtualClearTextUTF8) in base64. The script ends with p...
2017 Dec 27
3
Answered time on channel
...(ANSWERED_TIME: ${ANSWEREDTIME} >>> DIAL_TIME: > ${DIALEDTIME} >>> HANGUP_TIME: ${EPOCH} >>> ANSWERED TIME ${MATH(${EPOCH}-${ > ANSWEREDTIME},int)}) > > [call-answer-from-carrier] > Exten => s,1,Noop(CALL WAS ANSWERED AT ${EPOCH} > Exten => s,n,Agi(some_script.py) > > Now in theory the hangup time of the call (${EPOCH} in the h extension) > minus the answered time should be the same as the noop from my subroutine. > I am finding that some times they match and some times they are off by a > second. My issue is that the external system expec...
2009 Apr 29
1
Rails, multiple connections and threads
Hi, I have a rails app which currently does the following "After the launch of the page, there is a button click which starts another ruby script on server using system(ruby <file-name>)" This execution may take a while around 5-10 mins. I have following questions 1. While the script is being executed are other connection requests to server waiting or are there services? 2. Is
2015 Apr 24
9
Real sh? Or other efficient shell for non-interactive scripts
On 04/24/2015 03:57 AM, Pete Geenhuizen wrote: > if you leave it out the script will run in whatever environment it > currently is in. I'm reasonably certain that a script with no shebang will run with /bin/sh. I interpret your statement to mean that if a user is using ksh and enters the path to such a script, it would also run in ksh. That would only be true if you
2012 May 30
3
Need help installing a ruby on rails script
Hello. Im only used to PHP and Perl/CGI scripts. Ruby scripts are VERY confusing. I have no idea how to install ruby script. Could somebody plaese tell me how? Thank you. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/OPhf9HB28E4J. To
1999 Apr 28
0
Transparent Samba Account Creation/Authentication using NT DC
...ulation of the smbpasswd file. The smbpasswd file is not used or required in the following scenario. There have been some very important Samba innovations recently, and more are coming in the very near future. With 'security = domain' and some simple scripting via 'add user script = some_script', it is possible to create *local* Unix accounts on-the-fly. Passwords are not stored on the Samba server and authentication is provided by an NT DC. Voila! No effort is required to keep accounts/passwords synced with NT! Of course it's not quite as simple as this, but very near ;-) You...
2024 Jan 06
14
[Bug 3649] New: Control sockets do not connect anymore (after updating OpenSSH)
https://bugzilla.mindrot.org/show_bug.cgi?id=3649 Bug ID: 3649 Summary: Control sockets do not connect anymore (after updating OpenSSH) Product: Portable OpenSSH Version: 9.6p1 Hardware: ARM OS: Mac OS X Status: NEW Severity: enhancement Priority: P5 Component: ssh