Re: NFS + NIS madness
2011/11/27 Hetz Ben Hamo het...@gmail.com Hi, I have not had the pleasure of setting NFS + NIS for quite a long time (since 2000 approx), but now I need it for a client. I've set up a lab at home to test it before I deployed it. NFS mount works, no problems. However, with NIS when I login to the client, I see the files and everything, but the GID show for example as 500 instead of the actual test group. The user shows correctly. idmap etc works.. Any suggestions? Thanks, Hetz Did you tell your system to use groups from NIS in /etc/nsswitch.conf ? (might need to put 'nis' before 'compat' / 'files' if you want it to override a local equivalent value) -- Shimi ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: NFS + NIS madness
Hi, Doesn't help. Actually the problem is bigger.. See this: [root@client ~]# su - vic id: cannot find name for user ID 500 id: cannot find name for user ID 500 [I have no name!@client ~]$ pwd /home/vic /home/vic is from the NFS. doing ls -la shows me this: $ ls -la total 28 drwx--. 2 500 vic 4096 Nov 23 19:16 . drwxr-xr-x. 4 root root 4096 Nov 25 20:06 .. -rw---. 1 500 vic 264 Nov 23 19:52 .bash_history -rw-r--r--. 1 500 vic18 May 26 2011 .bash_logout -rw-r--r--. 1 500 vic 176 May 26 2011 .bash_profile -rw-r--r--. 1 500 vic 124 May 26 2011 .bashrc idmapd.conf is configured, nfs service is running, I'm going crazy :) Thanks, Hetz On Sun, Nov 27, 2011 at 12:07 PM, shimi linux...@shimi.net wrote: 2011/11/27 Hetz Ben Hamo het...@gmail.com Hi, I have not had the pleasure of setting NFS + NIS for quite a long time (since 2000 approx), but now I need it for a client. I've set up a lab at home to test it before I deployed it. NFS mount works, no problems. However, with NIS when I login to the client, I see the files and everything, but the GID show for example as 500 instead of the actual test group. The user shows correctly. idmap etc works.. Any suggestions? Thanks, Hetz Did you tell your system to use groups from NIS in /etc/nsswitch.conf ? (might need to put 'nis' before 'compat' / 'files' if you want it to override a local equivalent value) -- Shimi ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Reminder: Tel Aviv Perl Mongers Meeting on Wednesday, 30-November-2011
## 2011-03-08: Tel Aviv Perl Mongers Meeting on 30 November, 2011 (The Hebrew text will be followed by an English one). **שימו לב לשינוי במיקום!** זהו הבניין שבו קיימנו את מפגשי שוחרי הפרל התל-אביביים בהתחלה ולא זה ששימש עבור מספר הפגישות האחרונות. ב-30 בנובמבר 2011 (יום רביעי) נערוך את מפגש הפרל החודשי שלנו! אנו נפגשים ב-18:30 ומתחילים ב-19:00. כתובת: מכללת שנקר, בניין ראשי ברחוב אנה פרנק, רמת גן, חדר 300. פרטים נוספים ניתן למצוא [באתר של שוחרי הפרל של תל אביב](http://telaviv.pm.org/). במפגש זה יהיו ההרצאות הבאות: * **כלי הפרלאים, סקירה קצרה של ארבעה מודולים** (מאת ארז שץ) אנו נכסה ארבעה מודולים שהופכים את החיים של מפתח פרל מודרנית לקלים יותר ממה שהיו בעבר: local::lib, cpanm, perlbrew ו-pm-uninstall. * **DBIx::Class וממפי עצמים-בסיסי-נתונים יחסיים** (מאת ארז שץ) - מה הן שכבות מיפוי עצמים-בסיסי-נתונים יחסיים (ORM), מדוע אנו צריכים אותן, ומה DBIx::Class מספקת לכלל מתכנתי הפרל. * **פיירבירד (Firebird): בסיס נתונים שלא מעלה את הנתונים שלכם באש** (מאת עידו קנר) - מבוא לבסיס הנתונים פיירבירד ולסיבות שבגללן הוא מוערך כל כך על ידי אלה שמשתמשים בו. המפגש הוא חינמי וכולם מוזמנים. נתראה שם! ### English Version **Please note the change of venue.** This is the building where we started having TA.pm, and not the one which we used for the last few meetings. On 30 November, 2011 (Wednesday), the Tel Aviv Perl Mongers will hold their monthly meetup. We meet at 18:30 and the talks begin at 19:00. The address is: Shenkar College, main building on Anna Frank street, Ramat Gan, Room 300. One can find more details in [the web-site](http://telaviv.pm.org/) of the Tel Aviv Perl mongers. This meeting will hold the following talks: * **Tools of the perl, a quick survey of 4 modules** (by Erez Schatz) We will cover four modules that make the life of a Modern Perl developer much easier than it used to be: local::lib, cpanm, perlbrew, pm-uninstall. * **DBIx::Class and ORMs** (by Erez Schatz) - What is an ORM, why do we need it, and what does DBIx::Class bring to the table for perl programmers at large. * **Firebird: a database that does not burn your data** (by ik) An introduction to the Firebird database and to why it is so highly-regarded by those who use it. The entrance to the meeting is free-of-charge and everyone are welcome to attend. See you there! -- - Shlomi Fish http://www.shlomifish.org/ Funny Anti-Terrorism Story - http://shlom.in/enemy Xena the warrior princess can meet King David for breakfast and Julius Caesar for lunch. Without time travel. Please reply to list if it's a mailing list post - http://shlom.in/reply . ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: NFS + NIS madness
sounds like an anonymous user mapping on the NFS server side. --guy Hetz Ben Hamo wrote: Hi, I have not had the pleasure of setting NFS + NIS for quite a long time (since 2000 approx), but now I need it for a client. I've set up a lab at home to test it before I deployed it. NFS mount works, no problems. However, with NIS when I login to the client, I see the files and everything, but the GID show for example as 500 instead of the actual test group. The user shows correctly. idmap etc works.. Any suggestions? Thanks, Hetz -- *חץ בן חמו חץ-ביז *השכרה ואירוח של שרתים פיזיים מעוניין להשתמש בשרותים שחסומים לגולש הישראלי? Hulu? NetFlix? Pandora? Google Voice? אם כן, היכנס לכאן http://vps.net.bz/?p=406. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
email 2 sms gateway recommendation?
Hi, I'm looking for a good, reliable and cheap - email to sms gateway. I thought about Soprano from Unicell, but it seems they never heard that the dmey kishuriot went down quite a bit, so each SMS from them costs 33 Agorot. Thanks, Hetz ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: NFS + NIS madness
On Sunday, 27 בNovember 2011 12:30:52 Hetz Ben Hamo wrote: Hi, Doesn't help. Actually the problem is bigger.. Isolate the problem in steps: 1. Check NIS as a directory service (without even using it in nsswitch). Here is a quick checklist -- no use trying a step if previous one failed: * Verify ypbind is running via ps(1) * Verify it successfully bound to the NIS domain via ypwhich(1): - Failed binding is #1 error in NIS - Verify domainname(1) match (server/client) - Verify client access correct server (/etc/yp.conf) - Modern (90's) NIS servers don't answer RPC broadcasts (security) so you must specify the server in the clients /etc/yp.conf - Modern (90's) NIS servers only answer subnets listed in their /var/yp/securenets -- have you added yours to this file? * Verify it returns correct information via ypcat(1), ypmatch(1): - Enumeration: ypcat passwd Modern NIS server enumerate users/groups with id's above specific threshold (e.g: 500 and above), so system users should not be listed. Maybe your NIS server start above 1000. - Lookup (e.g: your vic user): ypmatch vic passwd * If any of these does not work correctly, you need to fix NIS configuration -- don't try to debug nsswitch until all these tests are OK. 2. Only if all items in 1. passed OK, check its integration in NSS (name service switch): * Verify enumeration: - getent passwd * Verify lookup: - getent passwd vic * Or equivalently: - id vic * If previous items in 2. weren't OK, but items on 1. were OK, you have a problem in /etc/nsswitch.conf: - The simplest config is to have files nis in the lines of passwd, shadow and group - A compat line in those three lines serves a special form of files where special lines in these files can (selectively) include data from NIS. Examples: +oron # include only oron's record from NIS +@foobar # include everybody from netgroup (NOT group) foobar -badguy # Obviously + # Everybody (except badguy -- line order affect results) - This means that a passwd: files nis in /etc/nsswitch.conf is equivalent to passwd: compat with a '+' in the end of /etc/passwd. Hope it helps, -- Oron Peled Voice: +972-4-8228492 o...@actcom.co.il http://users.actcom.co.il/~oron When you say I wrote a program that crashed Windows, people just stare at you blankly and say Hey, I got those with the system, *for free* ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
internet provider problems
Hi all Sorry - not related straightly to linux but networking - it bothers me for a while.. Did anyone have *constant *issues with NW provider (because of Lashon ara i'm not saying which one) so that instead of 5Mb i get 600-700k?? Every time i call them - they fix a problem for a day or two and than it continues.. I have almost a year left for the contract, the thing didn't happen before?? tnx! David -- בברכה, דוד רונקין נא בקרו בבלוג שלי: http://dronkin.blogspot.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
What's the best way to sync two laptops?
I now have two laptops which I'll use somewhat interchangeably. What's a good way to sync work between them? My main job is teaching, so I have many teaching notes and other documents. Dropbox might be a good way to sync these. I'm going to be doing some 3D design so I'll have inkscape and blender files as well. Dropbox again, I think. What about browsing stuff? History, passwords, bookmarks. I use Vimperator, which has such a good history mechanism I rarely use bookmarks but rely heavily on history. I could put my entire .mozilla directory in Dropbox. In fact I could put all my . files (cshrc, vimrc, etc.) How do you prefer to handle mail? Do you prefer to keep it on the server or on your local computer? If local, how do you sync multiple computers? If remote, how do you work with past messages when offline? Up to now I've downloaded my gmail to my laptop and not deleted on the server. That gives me a local copy to work with if I have no Internet access, as well as an online backup I can access via my cellphone. Sent email is stored only on my laptop, meaning I don't have access to it when I'm away from my laptop. I've always felt this was not an ideal situation, but fixing this was not a high priority. Keeping everything on the server means I'll run out of space eventually, and keeping a local copy means I consume space on my hard drive. Concrete suggestions as well as your own personal experience and methods will be most appreciated. Years ago I remember reading about someone who had everything checked in to CVS, including all his email. This allowed him to sync his computer at home, work, elsewhere using CVS. Interesting solution. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: What's the best way to sync two laptops?
On 28 November 2011 09:47, Michael Shiloh michaelshiloh1...@gmail.comwrote: I now have two laptops which I'll use somewhat interchangeably. What's a good way to sync work between them? My main job is teaching, so I have many teaching notes and other documents. Dropbox might be a good way to sync these. I'm going to be doing some 3D design so I'll have inkscape and blender files as well. Dropbox again, I think. Sounds like a winner, yes. I use Dropbox sporadically to make some useful files (e.g. my password safe) available across my computers, including my Android phone. What about browsing stuff? History, passwords, bookmarks. I use Vimperator, which has such a good history mechanism I rarely use bookmarks but rely heavily on history. I could put my entire .mozilla directory in Dropbox. In fact I could put all my . files (cshrc, vimrc, etc.) Firefox (7, 8?) comes with sync option. Try that. How do you prefer to handle mail? Do you prefer to keep it on the server or on your local computer? If local, how do you sync multiple computers? If remote, how do you work with past messages when offline? I use Gmail through its web interface for personal mail, and Thunderbird 8 to access workplace Exchange over IMAP. You can use IMAP for GMail too and keep local copies of the entire folder if you like. Up to now I've downloaded my gmail to my laptop and not deleted on the server. That gives me a local copy to work with if I have no Internet access, as well as an online backup I can access via my cellphone. Sent email is stored only on my laptop, meaning I don't have access to it when I'm away from my laptop. You can configure the mail client (Thunderbird in my case) to keep copies of sent mail in different ways: upload to Sent IMAP folder or BCC yourself. Read The Funny Manual. I've always felt this was not an ideal situation, but fixing this was not a high priority. Keeping everything on the server means I'll run out of space eventually, and keeping a local copy means I consume space on my hard drive. Concrete suggestions as well as your own personal experience and methods will be most appreciated. I hope the above answers these questions. Years ago I remember reading about someone who had everything checked in to CVS, including all his email. This allowed him to sync his computer at home, work, elsewhere using CVS. Interesting solution. Stress is on Years ago, IMHO. The world has moved a bit since then. __**_ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/**mailman/listinfo/linux-ilhttp://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: email 2 sms gateway recommendation?
2011/11/28 Hetz Ben Hamo het...@gmail.com Hi, I'm looking for a good, reliable and cheap - email to sms gateway. I thought about Soprano from Unicell, but it seems they never heard that the dmey kishuriot went down quite a bit, so each SMS from them costs 33 Agorot. We use Clickatell to get SMS's in Australia. Checking their price guide at http://www.clickatell.com/pricing/message_cost.php it says $US0.0472 per sms on a 1k sms package to mobile networks in Israel, which Google translates to 0.179 shekel, and goes slightly down as you buy larger packages. How does that price sound to you? --Amos ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: email 2 sms gateway recommendation?
At the end I took smsmail.com's offer.. Thanks, Hetz On Mon, Nov 28, 2011 at 1:05 AM, Amos Shapira amos.shap...@gmail.comwrote: 2011/11/28 Hetz Ben Hamo het...@gmail.com Hi, I'm looking for a good, reliable and cheap - email to sms gateway. I thought about Soprano from Unicell, but it seems they never heard that the dmey kishuriot went down quite a bit, so each SMS from them costs 33 Agorot. We use Clickatell to get SMS's in Australia. Checking their price guide at http://www.clickatell.com/pricing/message_cost.php it says $US0.0472 per sms on a 1k sms package to mobile networks in Israel, which Google translates to 0.179 shekel, and goes slightly down as you buy larger packages. How does that price sound to you? --Amos -- *חץ בן חמו חץ-ביז *השכרה ואירוח של שרתים פיזיים מעוניין להשתמש בשרותים שחסומים לגולש הישראלי? Hulu? NetFlix? Pandora? Google Voice? אם כן, היכנס לכאן http://vps.net.bz/?p=406. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: What's the best way to sync two laptops?
Mount your /home on external hard drive and move drive from one laptop to another? Valery. From: Michael Shiloh michaelshiloh1...@gmail.com To: IGLU Mailing list linux-il@cs.huji.ac.il Sent: Monday, November 28, 2011 12:47 AM Subject: What's the best way to sync two laptops? I now have two laptops which I'll use somewhat interchangeably. What's a good way to sync work between them? My main job is teaching, so I have many teaching notes and other documents. Dropbox might be a good way to sync these. I'm going to be doing some 3D design so I'll have inkscape and blender files as well. Dropbox again, I think. What about browsing stuff? History, passwords, bookmarks. I use Vimperator, which has such a good history mechanism I rarely use bookmarks but rely heavily on history. I could put my entire .mozilla directory in Dropbox. In fact I could put all my . files (cshrc, vimrc, etc.) How do you prefer to handle mail? Do you prefer to keep it on the server or on your local computer? If local, how do you sync multiple computers? If remote, how do you work with past messages when offline? Up to now I've downloaded my gmail to my laptop and not deleted on the server. That gives me a local copy to work with if I have no Internet access, as well as an online backup I can access via my cellphone. Sent email is stored only on my laptop, meaning I don't have access to it when I'm away from my laptop. I've always felt this was not an ideal situation, but fixing this was not a high priority. Keeping everything on the server means I'll run out of space eventually, and keeping a local copy means I consume space on my hard drive. Concrete suggestions as well as your own personal experience and methods will be most appreciated. Years ago I remember reading about someone who had everything checked in to CVS, including all his email. This allowed him to sync his computer at home, work, elsewhere using CVS. Interesting solution. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: What's the best way to sync two laptops?
On Mon, Nov 28, 2011 at 00:47, Michael Shiloh michaelshiloh1...@gmail.com wrote: I now have two laptops which I'll use somewhat interchangeably. What's a good way to sync work between them? My main job is teaching, so I have many teaching notes and other documents. Dropbox might be a good way to sync these. I'm going to be doing some 3D design so I'll have inkscape and blender files as well. Dropbox again, I think. If you go with dropbox, you may find yourself creating an awful lot of symlinks to get everything you want synchronized. I personally prefer SpiderOak; same basic idea, but a lot more customizeable. They claim client side encryption with no keys stored on the server; the codebase is not open source so it's hard to tell for sure, but they talk a better talk than DropBox. [Full disclosure; I have a spideroak account, and if you want to try them, I'd be happy if you'd use this referral link https://spideroak.com/download/referral/a2c5a8d4bd5bfb6b748c0a912cd30aeb ; it's an extra 1GB for each of us . Note that their normal free accounts start at 2GB, but I'm pretty sure that either worldbackupday or hurricanesafe are still valid coupons for 5GB (or 6GB if you use the referral link] -- Mike ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il