Re: Scientific Computing Study

2016-05-24 Thread Pritam Khedekar
ME

On Tue, May 24, 2016 at 10:34 PM, Ali Kia <master.lap...@gmail.com> wrote:

> Deal All,
>
> I have a Master's degree in Computer Science (Scientific Computing) and
> interested to become a PhD student. Is there anyone who want to find a new
> student?
>
> I am really sorry for bothering you with this email.
>
>
> Best regards,
> N. wS
>



-- 







Thanks & Regards,

Pritam Khedekar
Tring-Tring: + 91 90 22 25 54 20
E-mail: pritamkhede...@rocketmail.com
-
Note: This communication contains information which is confidential and may
also be legally privileged. It is intended only for the use of authorized
persons. If you are not an intended recipient, or have received the message
in error, you are not authorized to read, copy, disseminate, distribute or
use the Electronic Mail or any attachment in any way. Please notify the
sender by return E-Mail or over the telephone and delete this e-mail. The
sender endeavors to exclude viruses from all communications, but it remains
the obligation of the recipient to check any mail & attachments for viruses.

*~~ *Those who do not remember the past are condemned to repeat it.* ~~*


Fwd: [sadhiq-linux-group] Configure zimbra mail server behind firewall issue

2015-10-23 Thread Pritam Khedekar
-- Forwarded message --
From: "Manish Gawade" 
Date: Oct 23, 2015 3:43 PM
Subject: [sadhiq-linux-group] Configure zimbra mail server behind firewall
issue
To: "sadhiq-linux-group" 
Cc:


Dear all;

plz help me

I configure bind on centos  with grobal IP address [122.15.61.13/29],
Private IP address [192.168.1.18/24],


named.conf entry

//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
#listen-on port 53 { 127.0.0.1; };
#listen-on-v6 port 53 { ::1; };
#listen-on-v6  { none; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; 192.168.1.0/24; };
allow-transfer { localhost; 192.168.1.0/24; };
recursion yes;

dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;

/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";

managed-keys-directory "/var/named/dynamic";
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view "internal" {
match-clients {
localhost;
   192.168.1.0/24;
};

zone "." IN {
type hint;
file "named.ca";
};
zone "spurbihar.org" IN {
type master;
file "spurbihar.org.lan";
allow-update { none; };
};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "1.168.192.db";
allow-update { none; };
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";

view "external" {
match-clients { any; };
allow-query { any; };
recursion no;
zone "spurbihar.org" IN {
type master;
file "spurbihar.org.wan";
allow-update { none; };
};
zone "13.61.15.122.in-addr.arpa" IN {
type master;
file "13.61.15.122.db";
allow-update { none; };
};
};
};



when start named server

it show
named.conf:61: unknown option 'view'





-- 



Regards,




-- 
You received this message because you are subscribed to the Google Groups
"Sadhiq Linux Group" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to sadhiq-linux-group+unsubscr...@googlegroups.com.
To post to this group, send email to sadhiq-linux-gr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sadhiq-linux-group.
For more options, visit https://groups.google.com/d/optout.


named.conf
Description: Binary data


RE: unfortunate bind dns attack

2015-08-03 Thread Pritam Khedekar
Hi.. please confirm your bind version.
On Aug 3, 2015 11:55 AM, Bill Maidment b...@maidment.me wrote:

 -Original message-
 From:   Steven Haigh net...@crc.id.au
 Sent:   Mon 03-08-2015 16:07
 Subject:Re: unfortunate bind dns attack
 Attachment: signature.asc
 To: scientific-linux-users@fnal.gov;
  On 03/08/15 16:04, d tbsky wrote:
   hi:
  one of our dns server was attack and shutdown, it seems cause by
   CVE-2015-5477. we are a small company, so we don't expect 0day attack
   happened to us. anyone suffers from the bug also?
  
   scientific linux has fixed it in SL5, but SL6  SL7 don't  have
   the fix now..
 
  See my request for this here:
 
 https://listserv.fnal.gov/scripts/wa.exe?A2=ind1508L=SCIENTIFIC-LINUX-DEVELF=;
  S=P=76
 
  --
  Steven Haigh
 
  Email: net...@crc.id.au
  Web: http://www.crc.id.au
  Phone: (03) 9001 6090 - 0412 935 897
 
 

 There seems to be a bind-bind-9.9.4-18.el7_1.3.x86_64 in
 sl7-rolling-security
 Is that a fix for this issue?

 Cheers
 Bill Maidment
 www.maidment.me
 Phone: 02 4472 9374



Re: Just wrote my first Perl script

2015-07-14 Thread Pritam Khedekar
Plz send me in zip
On Jul 15, 2015 8:11 AM, Matthew Harris matthew.har...@ipsoft.com wrote:

 Oh wow, yeah any time were pulling out bitwise operators I'm using a CPAN
 module. See http://search.cpan.org/~muir/Net-Netmask-1.9015/Netmask.pod

 But congrats and keep up the learning!

 Matthew Harris | Automation Engineer​ | IPsoft, Austin

 Phone: 888.IPSOFT8 | Direct: 512-354-8116 | matthew.har...@ipsoft.com

 
 From: owner-scientific-linux-us...@listserv.fnal.gov 
 owner-scientific-linux-us...@listserv.fnal.gov on behalf of ToddAndMargo
 toddandma...@zoho.com
 Sent: Tuesday, July 14, 2015 2:31 PM
 To: scientific-linux-users@fnal.gov
 Subject: Re: Just wrote my first Perl script

 On 07/14/2015 09:04 AM, Matthew Harris wrote:
  Nice to see that people are still learning Perl! I'll see some code!

 Hi Matthew,
 Seems to me like you can do anything in Perl.  It is sweet.
 Here is the code.

 I use this for system administration (a lot of us here),
 specifically yo set up my firewall.

 You will love the equation to go from Short Mask to
 Hex Mask.  A guy on the Perl group helped me with
 it and I have no idea how he figured it out.

   $HexMask = ~((1  (32 - $ShortMask)) - 1);

 Wow.  Took me forever to understand what he did!

 -T

 GetNetwork.pl
 code
 #!/usr/bin/perl

 # Given the ip and the short mask in the form of
 # www.xxx.yyy.zz and xx, e.g. 192.168.244.134 26
 # calculate the network

 use strict;
 use warnings; # You'll get little help here without these
 my (  $ScriptName, $ip, $ShortMask, $HexIP, $HexMask,
   $NetworkDots, $num_args, $Network );

 ( $ScriptName = $0 ) =~ s{.*/}{};

 # quit unless we have the correct number of command-line args
 $num_args = $#ARGV + 1;
 if ($num_args != 2) {
  print You forgot something\n;
  print Usage: $ScriptName  IP  ShortMask\n\n;
  exit 1;
 }


 $ip=$ARGV[0];
 $ShortMask=$ARGV[1];


 if ($ip =~ m/(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})/ ) {
 # print $1 $2 $3 $4\n;
 if ($1  255 || $2  255 || $3  255 || $4  255 ) {
print Invalid ip $ip\n;
exit 1;
 }
 $HexIP = ($1  24) + ($2  16) + ($3  8) + $4;
 }


 $HexMask = ~((1  (32 - $ShortMask)) - 1);
 $Network = $HexIP  $HexMask;   #  is a bit wise AND

 $NetworkDots= ($Network  24)
. . .
(($Network  16 )  0xFF)
. . .
(($Network  8 )  0xFF )
. . .
($Network  0xFF );

 # print Your network for ip=$ip and Netmask=$ShortMask is $NetworkDots\n;
 print $NetworkDots\n;
 /code


Re: nfsv4 and rpcidmapd

2015-07-02 Thread Pritam Khedekar
Hi,

Try reconfiguring at clinnt end. Or add 1 more client with fresh
installation and check.

Regards,
PK
On Jul 2, 2015 1:57 PM, Karel Lang AFD l...@afd.cz wrote:

 Hi there,
 how's your users authenticated and resolved to UIDs?

 we use LDAP server with SSSD daemon configured.

 I'd check, if the domain is stated in your sssd.conf (if relevant) and
 check nsswitch.conf (isn't possible your user exist locally with diff UID?)
 and local users have preference in nsswitch.conf - in other words, is user
 'kovacs' same UID on client and server?

 I know it is trivial, but maybe worth checking?


 --
 *Karel Lang*
 *Unix/Linux Administration*
 l...@afd.cz | +420 731 13 40 40
 AUFEER DESIGN, s.r.o. | www.aufeerdesign.cz

 On 07/01/2015 07:02 PM, Orion Poplawski wrote:

 On 06/30/2015 01:46 PM, Eve V. E. Kovacs wrote:

 We have an SL6 nfsv4 file server and a number of SL6 clients.
 We were careful to configure idmapd.conf on both the clients and the
 server to
 have the same domain name as follows:

 # The following should be set to the local NFSv4 domain name
 # The default is the host's DNS domain name.
 #Domain = local.domain.edu
 Domain = localdomain

 All of this worked until recently.

 Now, when I try to change the ownership of my file 'test' on one of the
 clients, I get an error:
 chown: changing ownership of test : Invalid argument

 On the server, I see errors in the log file:
   rpc.idmapd[6092]: nss_getpwnam: name 'kov...@hep.anl.gov' does not
 map into
 domain 'localdomain'


 Another thing that could be tried, add hep.anl.gov to Local-Realms in
 idmapd.conf.