Jump to content
  • Announcements

    • spinynorman

      Mandriva Official Documentation

      Official documentation for extant versions of Mandriva can be found at doc.mandriva.com.   Documentation for the latest release may take some time to appear there. You can install all the manuals from the main repository if you have Mandriva installed - files are prefixed mandriva-doc.
    • paul

      Forum software upgrade   10/29/17

      So you may have noticed the forum software has upgraded !!!
      A few things that have changed. We no longer have community blogs (was never really used) We no longer have a portal page.
      We can discuss this, and decide whether it is needed (It costs money) See this thread: Here


  • Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About lbbros

  • Rank
    New Here
  • Birthday 09/06/1977

Contact Methods

  • AIM
  • MSN
  • Website URL
  • ICQ
  • Yahoo

Profile Information

  • Location
    Milano, Italy
  1. Thank you very much! I didn't know about such use for grep.
  2. Hello. I've stumbled across this problem, seeing if I can sort it out. I have two text files, that contain one term per line. The second file contains some terms that are common to the first one. I need to find a way to (using shell scripting, perl, or python): a. identify the common items; b. identify where the common items are in the first file (with line number). Point b is what I can't seem to do. I can easily get the common items with the bash join command but I haven't found a way to "trace" them back to their positions in the first file. I can't seem to get this issue sorted out. If you have any advice, I'd be very helpful.
  3. LDAP automount maps

    Hello. Recently I've been setting up a LDAP server for single sign-on in a small network of computers (4). The LDAP server is in place and authentication works smoothly, but I'd like to add automount in this fashion: two directories for generic, non-user specific items, under the directory /common /common/files (on server: /home/files) /common/data (on server: /home/data) In this case, when an user cd /common/files (with /common directory present on the local machine), the files directory would be automatically mounted over NFS. Then, there are user-specific directories on the server (not home dirs, more like personal storage dirs - seldon is the server's name): /home/seldon/<username> (on server: /home/<username>) I've tried reading around and there's nothing very clear to configure the LDAP server, and how to configure the exports (I didn't understand well what man exports said). Anyone willing to shed some light on the subject? Thanks.
  4. I've got a couple problems trying to use automount with LDAP in MDK 9.1. This is a file server that hosts the LDAP server and some directories that are exported via NFS to the other boxes (3) using automount. The problem happens when someone tries to access large (~100 Mb) files over the network. For some unknown reason, the client machines (MDK 9.2) hangs (needs the sysrq sequence to reboot) and the network is completely flooded, up to the point of being unusable (until the 60s timeout). Any clues on what would the problem be? I can post all the related config files if needed. Thanks in advance!
  5. Hello. I've installed a Samba PDC using LDAP (using the instructions on the MandrakeSecure website) in a 9.1 headless box that I use as a server. I have several computers, and most of them have joined the domain without problems (they use Windows XP - I set the security options and the SignOrSeal registry patch). However, one of them doesn't. After a test to join that computer on Linux (it's dual-boot) to the domain, upon rebooting in Windows XP it would complain that accessing the domain was unavailable. So, I detached it and upon reboot, it would not join the domain anymore saying that "multiple connections from the same user". However, there are no active connections. And also, looking at the logs on the server, it's evident that it doesn't find the machine account in the LDAP database. However, it should create it as soon as the machine joining the domain provides the right credentials. Even creating the machine account from the server would not let WinXP join (same error). What could be the cause of this problem? I can post smb.conf and slapd.conf if needed. Thanks in advance!
  6. Hello! I've recently downloaded the whole KDE 3.1 (source RPMs) from Cooker. I've just rebuilt QT, but now before going on I have a doubt: how can I rebuild the other KDE packages without actually installing anything (if it's possible)? I know they depend on each other, so what should I do to have a basic set of RPMs done before having to install some of them? Thanks in advance!
  7. kde 3.1 install ?

    Did you removeyour old .kde directory? Usually most problems arise from having a pre-existing .kde directory around.
  8. Hello! At work, I was just given a "new" computer. It's a HP Vectra, Pentium-class (not sure about clock speed) with 16 Mb RAM and 1.5 Gb HD. Now, I want to wipe out Windows from this computer and install a flavor of Linux. The matter is, it's not really THAT powerful, so what do you suggest me? Which distro should I install? (preferably one that uses a packaging system so that I can update easily). I *might* be able to add more memory, but I'm not sure... Thanks!
  9. Advanced search in a text - help!

    Let me say...THANKS! This will save a lot of time 8)
  10. Advanced search in a text - help!

    Thanks for the reply. Yes, you're right about anything that comes first. My search idea would be "I want to do a search for the letter <X> in column N. Show me how many occurrences you find." or (even better) "Scan column N. Tell me which letters, and how many, you find." Sorry for being confusing, I was never good at explaining 8)
  11. Hello! For work reasons, I was given a long (600k) text file. Every line in this text file is made up as follows: 1 - a code made up of letters and spaces, 9 characters; 2- an empty area of 7 characters; 3- A series of either dashes (-) or letters, 60 characters long; something like 3543786-01 ---------------G-W------FF (etc) now what I need to do is to search in the third area (3) by *columns*, looking for a specific letter, and printing out the result. Basically, if I have something like that: 3543786-01 --AB------------G-W------FF (etc) 3543786-02 --AB------------G-X------FF (etc) 3543786-03 --AB------------G-C------FF (etc) I'd like to say, limit the search to a single column (the one with the A in my example) and look in the file for occurrences of that letter, getting a result like: Letter: A Column: 3 Number of occurrences: 3 It's important to search by columns, and not by rows. I would then repeat the search for the subsequent columns, till the end of the line. I was told that using awk would do the trick, but I have no idea how 8( Thanks for your help!
  12. ATI Radeon 9000

    Get the MOST RECENT snapshot from DRI first, as the older ones had a glibc incompatibility that made X crash hopelessly. Unpack the archive, cd to the "dripkg" directory and run "./install.sh" as root. Then edit your XF86Config-4 file. In the "Device Section" put ChipID 0x4242 right above "EndSection" and don't forget to add Section "DRI" Mode 0666 EndSection in the file, to make direct rendering accessible for non-root users. (not sure if it will work with the R9700 as it uses the r300 chip, but it's worth a shot!)
  13. ATI Radeon 9000

    The DRI drivers tilll 23/09 don't recognize the Radeon 9000 (I haven't tried later builds, but remember, the Radeon 8500 has the R200 chip, while the 9000 has the R250). Anyway, the best idea is to download the latest r200 DRI driver from http://dri.sf.net and then "fool" X to make it recognize the card as an ATI Radeon 8500. This way, you'll get at least 2D acceleration enabled till proper drivers come out. The idea is to add the line ChipID 0x4242 to the Device section in XF86Config-4.