LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-24-2009, 11:53 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 51
Could someone write an easy LDAP with NFS Client howto, for squeeze debian?


Hello
I mean this is is not working
https://help.ubuntu.com/community/OpenLDAPServer

first squeeze change the dc-examples lines with the name of my router.

second, this operation is not standard:
Code:
Now, add your entries to the LDAP:

    *

      stop LDAP daemon: sudo /etc/init.d/slapd stop
    *

      delete the content that was automatically added at installation: sudo rm -rf /var/lib/ldap/*
    *

      add the new content sudo slapadd -l init.ldif 
    *

      correct permissions on the database sudo chown -R openldap:openldap /var/lib/ldap
    *

      start LDAP daemon: sudo /etc/init.d/slapd start
there shoudl be some tools to add users normally without changing that much the config

for the moment, what i did was:
adding the password to the slapd.conf
and the restart of slapd works, luckily
and there is already error

i mean Linux is not made easy. They could really make how to working, write it well, or really have higher policy for beeing understood by normal public.

whatever I do I have :
Code:
ldap_bind: Invalid credentials (49)
will it be again one week trying till no results?

i mean how to setup a NFS, no one knows, there is 20x ways of making nfs export server, and one cannot find anything with google. What a pitty, that information is messy, lost, and really not good.

The creator of the programs should really do something.
Write their howto themself, really, and manpages.

Try:
man ldap
nothing.
wow super, great.

that's Linux, but ok, its better than xp.
 
Old 10-25-2009, 12:01 AM   #2
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 51
Code:
ldapmodify -a -D "cn=Directory Manager,dc=example,dc=com" -w password -h server1 -f new.ldif
OK, how to add an user, now, using ldapmodify?
how that SSH/ /home are already using, on the server, this LDAP system? In /etc/password, those 1001, 1002, ... i.e. users id's are they the same as the LDAP? Nowhere it is written.

Please give a config on the server /etc/exports file?

Please give on the clients the /etc/fstab to use?
and what to install to make it /home the same as the server

Last edited by frenchn00b; 10-25-2009 at 12:48 AM.
 
Old 10-26-2009, 12:59 AM   #3
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 51
I have an idea:



Could someone program a single script:

installer-LDAP.sh client
or
installer-LDAP.sh server

and in the menu, one can select add client, restart, ... with menu dialog
Why no-one does those simple things, I mean, or it should be coder, or man maker, or we can fund a dpkg-configure thing
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HowTo: Custom ffmpeg with x264 support for AMD64 on Debian Squeeze propofol Linux - Software 0 10-09-2009 12:34 AM
[SOLVED] Windows Client can't write to Linux NFS Deluka Linux - Networking 6 09-09-2009 11:55 AM
[nfs] remote client do not have write access davidshen84 Linux - Software 2 02-23-2009 09:28 AM
NFS client hangs when write ziobudda Linux - Networking 5 04-14-2006 10:40 PM
NFS client write permissions tireseas Linux - Networking 5 05-03-2005 07:52 AM


All times are GMT -5. The time now is 03:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration