Berkeley CSUA MOTD:Entry 17850
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/24 [General] UID:1000 Activity:popular
5/24    

2000/3/25 [Computer/SW/Unix] UID:17850 Activity:very high
3/24    How do I add new users to a LDAP server (I'm using openldap)?
        Right now I have the rootdn, but I would like to have a couple
        of other users, esp. one that has read-only access.
        \_ man ldap
           \_ people like you are the reason "unix" should be spelled with
              a ch and an e. E-U-N-I-C-H-S.
              \_ "Unix is ready for the desktop" == "Unix weenies aren't
                  ready for the human population"
              \_ You stupid fuck, it's in my man pages.  Just because you
                 lack man page fu doesn't mean all of us have shitty man
                 pages.  Like I said, man ldap.  Get better pages if it isn't
                 there but don't insult your betters.  It only shows how
                 utterly and completely self absorbed and stupid you are.
                 \_ i wasn't the original poster, and i couldn't care less
                    about ldap or whatever.  i just think alot of unix
                    people are assholes, and that one of their most annoying
                    traits ins their "rtfm" attitude.  fuck you.
                    \_ If you don't rtfm you won't solve your problem.  They
                       tell you to rtfm because that's where the answer is.
                       There's no spoon feeding possible.  You want to be
                       spoon fed?  Go ask yermom.  Smart people can manage to
                       type one simple command and skim forward to the examples
                       section to find the answer or something really damned
                       close.  You are not only a stupid fuck and an asshole,
                       but your smearing "alot of unix people" in one nice big
                       easily smearable group is ridiculous.  If providing the
                       only real answer makes me an annoying asshole, then so
                       fucking be it. --annoying asshole who gave right answer
           \_ man ldap on Sol2.7 didn't have anything about adding users.
              Anyone have a better idea. I already looked on http://www.openldap.org
              and they explain how to do ACLs, but not how to add users that
              the ACLs apply to. It seems like I'm missing something obvious.
        \_It's my _guess_ that OpenLDAP doesn't have a cool like app or
          GUI to create users (unlike Netscape or other directory servers).
          But since LDAP users are just entries in the directory, the
          common way to do it is to use your favorite text editor to create
          a LDIF file and use some utility to read the LDIF and place the
          entries into the directory. (LDIF is also much better for adding a
          lot of entries (users), you'll be sick of the GUI really fast.)
          See http://www.openldap.org/faq/data/cache/182.html for some more
          info. You may need to dig into the schema and the documentaton
          for the LDIF format (on web somewhere) if you want something
          fancier. -lcddave
                \_ Yeah, openldap doesn't have a nice gui to add data, but
                   I don't care about that. I'm accessing it all via JNDI
                   from a set of servlets. The part that I was missing is
                   that any valid dn can be used as a user. I just need
                   to add the userPassword field for that record.
          \_ You want him to read the faq?  What are you?  Some kind of
             annoying asshole?  God, I hate it when people provide a real
             answer and cite their source.  You unix people all suck!
ERROR, url_link recursive (eces.Colorado.EDU/secure/mindterm2) 2025/05/24 [General] UID:1000 Activity:popular
5/24    

You may also be interested in these entries...
2012/8/29-11/7 [Computer/SW/Security] UID:54467 Activity:nil
8/29    There was once a CSUA web page which runs an SSH client for logging
        on to soda.  Does that page still exist?  Can someone remind me of the
        URL please?  Thx.
        \_ what do you mean? instruction on how to ssh into soda?
           \_ No I think he means the ssh applet, which, iirc, was an applet
              that implemented an ssh v1 client.  I think this page went away
	...
2012/3/29-6/4 [Computer/HW/Memory, Computer/HW/CPU, Computer/HW/Drives] UID:54351 Activity:nil
3/29    A friend wants a PC (no mac). She doesn't want Dell. Is there a
        good place that can custom build for you (SSD, large RAM, cheap video
        card--no game)?
        \_ As a side note: back in my Cal days more than two decades ago when
           having a 387SX made me the only person with floating-point hardware,
           most machines were custom built.
	...
2012/1/27-3/26 [Computer/SW/Unix] UID:54299 Activity:nil
1/27    Interesting list of useful unix tools. Shout out to
        cowsay even!
        http://www.stumbleupon.com/su/3428AB/kkovacs.eu/cool-but-obscure-unix-tools
        \_ This is nice.  Thanks.
	...
2011/10/26-12/6 [Computer/SW/Unix] UID:54202 Activity:nil
10/24  What's an easy way to see if say column 3 of a file matches a list of
       expressions in a file? Basically I want to combine "grep -f <file>"
       to store the patterns and awk's $3 ~ /(AAA|BBB|CCC)/ ... I realize
       I can do this with "egrep -f " and use regexp instead of strings, but
       was wondering if there was some magic way to do this.
       \_ UNIX has no magic. Make a shell script to produce the ask or egrep
	...
2010/3/10-30 [Computer/SW/Mail] UID:53751 Activity:nil
3/10    What email program do people in Cal CS use nowadays?  In my school days
        people used /usr/bin/mail, then RMail in emacs, then VMail in emacs.
        After my days people used Elm, Pine, Mutt (I forgot which order).  In
        my first two jobs we could tell the seniority of fellow engineers based
        on which email program they use at work, because everyone used what
        they used to use in their school years.  In my last two jobs though,
	...
2009/11/13-30 [Computer/SW/Unix] UID:53523 Activity:nil
11/12   How does one find out if a system has rootkit installed?
        \_ Unix or m$?
           \_ Unix. On M$ I always assume it's compromised.
              \_ Install Tripwire before you plug your server into The Net?
                 The only other answer I can think of is to reinstall the
                 OS from scratch on another server and do an md checksum
	...
2009/9/4-12 [Computer/SW/OS/FreeBSD] UID:53331 Activity:kinda low
9/4     I'm seriously very happy Soda no longer runs FreeBSD.
        FreeBSD is really going down the tubes
        http://freebsdgirl.com/2009/08/its-a-dirty-job-but-someone-ha.html
        \_ funny, I dont remember it geting pwned anywhere near as many tmies
           as it has since the switch to Linux.  And that blog post is
           only abou the installer, not the running OS
	...
2009/7/24-29 [Computer/SW/Editors/Vi] UID:53195 Activity:low
7/24    Is dos2unix available somewhere?  Someone added all those Ctrl-M's to
        motd.public.
        \_ %s/^V^M//g in vim. What has your editor done for you today?
           \_ that works great in vi actually... in vim :set filetype=unix
	...
Cache (776 bytes)
www.openldap.org/faq/data/cache/182.html
Hence, adding entries is done in two steps: 1) create LDIF file 2) run ldapadd Use your favorite editor to create an LDIF format file that contains: dn: dc=<MY-DOMAIN>, dc=<COM> dc: <MY-DOMAIN> o: <MY ORGANIZATION> objectclass: organization objectclass: dcObject dn: cn=Manager, dc=<MY-DOMAIN>, dc=<COM> cn: Manager sn: Manager objectclass: person Be sure to replace <MY-DOMAIN> and <COM> with the appropriate domain components of your domain name. If you cut and paste, be sure to trim any leading whitespace from the example. For example: dn: dc=mydomain, dc=com dc: mydomain o: My Company objectclass: organization objectclass: dcObject dn: cn=Manager, dc=mydomain, dc=com cn: Manager sn: Manager objectclass: person Run ldapadd to insert these entries into your directory.
Cache (526 bytes)
www.openldap.org
The suite includes: * 23 slapd - stand-alone LDAP server * 24 slurpd - stand-alone LDAP replication server * 25 libraries implementing the LDAP protocol, and * utilities, tools, and sample clients. Also available from the 27 OpenLDAP Project: * 28 JLDAP - LDAP Class Libraries for Java contributed by 29 Novell * 30 JDBC-LDAP - Java JDBC - LDAP Bridge Driver contributed by 31 Octet String 32 Our Sponsors 33 Sponsored by Net Boolean 34 Hosted at Internet Systems Consortium This site is 35 powered by 36 open source software.