Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > MyDNSConfig > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd January 2010, 01:34
mark2010 mark2010 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default help scripting please

am new to Linux enviroment and i need your big help to start with :

scenario

" 1.To test whether user accounts have an empty password. If they
do, it sets a temporary password and forces the user to change the password at the next login.

2. to displays a summary of all accounts for which the password has been set. If no passwords have been set, the program displays a summary line, indicating no password is set. "


thank you

#!/bin/sh
Reply With Quote
Sponsored Links
  #2  
Old 23rd January 2010, 17:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,799
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
Default

How is this related to the myDNSConfig Control panel?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th October 2010, 15:11
jhnmorrison9 jhnmorrison9 is offline
Junior Member
 
Join Date: Oct 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default mydnsconfig.

Dear all,

I need your help for resolving an issue.
The application mydnsconfig is not accepting Arabic Domains can anyone help me please.

Previously i was using Domain Manager in that for arabic domains we have to convert IDN to ASCII code then it will accepts i have done this same thing but the mydnsconfig is not responding and the output is below.

ERROR1. Zone has a invalid format.

So please help me the champs. eagerly waiting for your reply.
Reply With Quote
  #4  
Old 12th October 2010, 15:28
jhnmorrison9 jhnmorrison9 is offline
Junior Member
 
Join Date: Oct 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dears,

I came to know that mydnsconfig will accepting IDNcode can i know how to convert from arabic domain to IDN code.

for example: تجوالي.السعودية (xn--mgbfg1hsao.xn--mgberp4a5d4ar) this is ASCII code of arabic domain but how to convert it in to IDN code. Please help me out from this issue.
Reply With Quote
  #5  
Old 13th October 2010, 19:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

http://mct.verisign-grs.com/
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 15th October 2010, 03:00
jhnmorrison9 jhnmorrison9 is offline
Junior Member
 
Join Date: Oct 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mydnsconfig

Dear Falko,

I need to ask you some thing about Mydnsconfig..

The question is why this application is not accepting Arabic Domains.

As i came to know that Mydnsconfig will accept IDN code for arabic domains but it was not responding.
Example: I did in this way (xn--mgbfg1hsao.xn--mgberp4a5d4ar)--- تجوالي.السعودية

I entered this code in the zone but Mydnsconfig responding me as the zone is not in the correct format. So please help me to resolve this issue....
Reply With Quote
  #7  
Old 15th October 2010, 17:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
 
Default

I think you need to change the regex in interface/web/dns/form/dns_soa.tform.php. Maybe you can change

Code:
'origin' => array (
                        'datatype'        => 'VARCHAR',
                        'formtype'        => 'TEXT',
                        'validators'        => array (         0 => array (        'type'        => 'NOTEMPTY',
                                                                                                                'errmsg'=> 'origin_error_empty'),
                                                                                1 => array (        'type'        => 'UNIQUE',
                                                                                                                'errmsg'=> 'origin_error_unique'),
                                                                                2 => array (        'type'        => 'REGEX',
                                                                                                                'regex' => '/^[\w\.\-]{2,64}\.[a-zA-Z]{2,10}[\.]{0,1}$/',
                                                                                                                'errmsg'=> 'origin_error_regex'),
to

Code:
'origin' => array (
                        'datatype'        => 'VARCHAR',
                        'formtype'        => 'TEXT',
                        'validators'        => array (         0 => array (        'type'        => 'NOTEMPTY',
                                                                                                                'errmsg'=> 'origin_error_empty'),
                                                                                1 => array (        'type'        => 'UNIQUE',
                                                                                                                'errmsg'=> 'origin_error_unique'),
                                                                                2 => array (        'type'        => 'REGEX',
                                                                                                                'regex' => '/^[\w\.\-]{2,64}\.[a-zA-Z]{2,30}[\.]{0,1}$/',
                                                                                                                'errmsg'=> 'origin_error_regex'),
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
which tool to use for scripting?? antonibede Programming/Scripts 6 2nd December 2009 10:36
Yet more shell scripting Wraith Programming/Scripts 2 27th April 2007 06:18
php scripting and shell commands alexnz Programming/Scripts 3 8th August 2006 17:30
Impressive shell scripting namit Programming/Scripts 8 25th March 2006 16:50
bash scripting for begginers aolex Suggest HOWTO 4 21st October 2005 16:45


All times are GMT +2. The time now is 14:54.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.