From: Muhammad B. Al-N. <mb...@gm...> - 2013-10-24 10:14:30
|
Hello, After installing LDAP server. LDAP client doesn't work from Webmin and I get this error message: --- The NSS-LDAP configuration file /etc/ldap.conf was not found on your system. Maybe LDAP client support is not installed, or the module configuration is incorrect. --- How can I fix this issue? P.S. I'm using Ubuntu 13.04 x64 -- Best Regards Muhammad Bashir Al-Noimi |
From: Andrey R. <anr...@fr...> - 2013-10-24 19:35:05
|
Greetings, Webmin users list! > After installing LDAP server. LDAP client doesn't work from Webmin and > I get this error message: > --- > The NSS-LDAP configuration file /etc/ldap.conf was not found on your > system. Maybe LDAP client support is not installed, or the module > configuration is incorrect. > --- > How can I fix this issue? > P.S. I'm using Ubuntu 13.04 x64 If you have /etc/ldap/ldap.conf file, make a symlink. -- WBR, Andrey Repin (anr...@fr...) 24.10.2013, <23:28> Sorry for my terrible english... |
From: Jamie C. <jca...@we...> - 2013-10-24 19:48:18
|
On 24/Oct/2013 03:13 Muhammad Bashir Al-Noimi <mb...@gm...> wrote .. > Hello, > > After installing LDAP server. LDAP client doesn't work from Webmin and > I get this error message: > > --- > The NSS-LDAP configuration file /etc/ldap.conf was not found on your > system. Maybe LDAP client support is not installed, or the module > configuration is incorrect. > --- > > How can I fix this issue? > > P.S. I'm using Ubuntu 13.04 x64 You may need to install the NSS-LDAP client package. On Ubuntu, you should be able to do this with : apt-get install libnss-ldap libpam-ldap - Jamie |
From: Muhammad B. Al-N. <mb...@gm...> - 2013-10-26 18:44:02
|
<html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bidimailui-detected-decoding-type="latin-charset" bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 10/24/2013 09:48 PM, Jamie Cameron wrote:<br> </div> <blockquote cite="mid:138...@we..." type="cite"> <pre wrap="">You may need to install the NSS-LDAP client package. On Ubuntu, you should be able to do this with : apt-get install libnss-ldap libpam-ldap</pre> </blockquote> <font face="Tahoma">I wonder why webmin doesn't install these packages by itself! Do I've to ask for feature request of bug report about it?</font><br> <br> <pre class="moz-signature" cols="72">-- Best Regards, Muhammad Bashir Al-Noimi</pre> </body> </html> |
From: Andrey R. <anr...@fr...> - 2013-10-26 22:50:08
|
Greetings, Webmin users list! > I wonder why webmin doesn't install these packages by itself! Do I've to ask > for feature request of bug report about it? Because it doesn't need these packages for normal operation, to begin with. -- WBR, Andrey Repin (anr...@fr...) 27.10.2013, <02:41> Sorry for my terrible english... |
From: Muhammad B. Al-N. <mb...@gm...> - 2013-10-27 00:49:37
|
On 10/26/2013 11:42 PM, Andrey Repin wrote: > Because it doesn't need these packages for normal operation, to begin with. AFAIK, webmin can't configure LDAP without these packages so I think they are vital for webmin!!! -- Best Regards, Muhammad Bashir Al-Noimi |
From: Jamie C. <jca...@we...> - 2013-10-27 00:53:39
|
On 26/Oct/2013 17:49 Muhammad Bashir Al-Noimi <mb...@gm...> wrote .. > On 10/26/2013 11:42 PM, Andrey Repin wrote: > > Because it doesn't need these packages for normal operation, to begin with. > > AFAIK, webmin can't configure LDAP without these packages so I think > they are vital for webmin!!! What I will probably add is a link in Webmin that offers to install those packages if they are missing. - Jamie |
From: Muhammad B. Al-N. <mb...@gm...> - 2013-10-27 02:17:50
|
On 10/27/2013 01:53 AM, Jamie Cameron wrote: > What I will probably add is a link in Webmin that offers to install those > packages if they are missing. Fine solution, thanks. -- Best Regards, Muhammad Bashir Al-Noimi |
From: Andrey R. <anr...@fr...> - 2013-10-27 02:35:06
|
Greetings, Webmin users list! > On 10/26/2013 11:42 PM, Andrey Repin wrote: >> Because it doesn't need these packages for normal operation, to begin with. > AFAIK, webmin can't configure LDAP without these packages so I think > they are vital for webmin!!! Webmin doesn't need LDAP for normal operation. -- WBR, Andrey Repin (anr...@fr...) 27.10.2013, <06:26> Sorry for my terrible english... |
From: Muhammad B. Al-N. <mb...@gm...> - 2013-10-26 09:47:13
|
On Thu, Oct 24, 2013 at 8:48 PM, Jamie Cameron <jca...@we...> wrote: > You may need to install the NSS-LDAP client package. On Ubuntu, you should > be able to do this with : > > apt-get install libnss-ldap libpam-ldap It asks me about ldap:/// URI, from where can I get this string while LDAP server already installed by webmin? -- Best Regards Muhammad Bashir Al-Noimi |
From: Muhammad B. Al-N. <mb...@gm...> - 2013-10-26 09:51:56
|
On Sat, Oct 26, 2013 at 10:46 AM, Muhammad Bashir Al-Noimi <mb...@gm...> wrote: > On Thu, Oct 24, 2013 at 8:48 PM, Jamie Cameron <jca...@we...> wrote: >> You may need to install the NSS-LDAP client package. On Ubuntu, you should >> be able to do this with : >> >> apt-get install libnss-ldap libpam-ldap > > > It asks me about ldap:/// URI, from where can I get this string while > LDAP server already installed by webmin? BTW, When I tried to add my local IP (10.0.2.15) Webmin couldn't manage users and the groups and gave me this error message: -- Could not parse the LDAP server URI ldapi:///10.0.2.15/. Click here to adjust the module configuration. -- -- Best Regards Muhammad Bashir Al-Noimi |
From: Jamie C. <jca...@we...> - 2013-10-26 16:04:53
|
On 26/Oct/2013 02:51 Muhammad Bashir Al-Noimi <mb...@gm...> wrote .. > On Sat, Oct 26, 2013 at 10:46 AM, Muhammad Bashir Al-Noimi > <mb...@gm...> wrote: > > On Thu, Oct 24, 2013 at 8:48 PM, Jamie Cameron <jca...@we...> wrote: > >> You may need to install the NSS-LDAP client package. On Ubuntu, you should > >> be able to do this with : > >> > >> apt-get install libnss-ldap libpam-ldap > > > > > > It asks me about ldap:/// URI, from where can I get this string while > > LDAP server already installed by webmin? > > > BTW, When I tried to add my local IP (10.0.2.15) Webmin couldn't > manage users and the groups and gave me this error message: > -- > Could not parse the LDAP server URI ldapi:///10.0.2.15/. Click here to > adjust the module configuration. You should use ldap://10.0.2.15/ |
From: Muhammad B. Al-N. <mb...@gm...> - 2013-10-26 18:53:01
|
On 10/26/2013 05:04 PM, Jamie Cameron wrote: > On 26/Oct/2013 02:51 Muhammad Bashir Al-Noimi<mb...@gm...> wrote .. >> >On Sat, Oct 26, 2013 at 10:46 AM, Muhammad Bashir Al-Noimi >> ><mb...@gm...> wrote: >>> > >On Thu, Oct 24, 2013 at 8:48 PM, Jamie Cameron<jca...@we...> wrote: >>>> > >>You may need to install the NSS-LDAP client package. On Ubuntu, you should >>>> > >>be able to do this with : >>>> > >> >>>> > >>apt-get install libnss-ldap libpam-ldap >>> > > >>> > > >>> > >It asks me aboutldap:/// URI, from where can I get this string while >>> > >LDAP server already installed by webmin? >> > >> > >> >BTW, When I tried to add my local IP (10.0.2.15) Webmin couldn't >> >manage users and the groups and gave me this error message: >> >-- >> >Could not parse the LDAP server URI ldapi:///10.0.2.15/. Click here to >> >adjust the module configuration. > You should useldap://10.0.2.15/ Sorry, my mistake :-[ After using ldapi://10.0.2.15/ I got this error message: -- Failed to connect to LDAP server 10.0.2.15 port . Click here to adjust the module configuration. -- -- Best Regards, Muhammad Bashir Al-Noimi |
From: Muhammad B. Al-N. <mb...@gm...> - 2013-10-26 20:48:25
|
I tried to start from scratch. Formatted my server then installed webmin then followed the mentioned steps exactly as mentioned in http://doxfer.webmin.com/Webmin/LDAPClient (except I used cn=manager,dc=example,dc=net instead) but I got this error message when I clicked on "Validate Configuration" button in LDAP Client module: -- Finding LDAP base for users .. .. found base dc=example,dc=net. Connecting to LDAP server .. Failed to bind to LDAP server 127.0.0.1 as cn=manager,dc=example,dc=net : Invalid credentials -- What I'm missing? -- Best Regards, Muhammad Bashir Al-Noimi |
From: Jamie C. <jca...@we...> - 2013-10-26 23:08:43
|
On 26/Oct/2013 13:48 Muhammad Bashir Al-Noimi <mb...@gm...> wrote .. > I tried to start from scratch. Formatted my server then installed webmin > then followed the mentioned steps exactly as mentioned in > http://doxfer.webmin.com/Webmin/LDAPClient (except I used > cn=manager,dc=example,dc=net instead) but I got this error message when > I clicked on "Validate Configuration" button in LDAP Client module: > -- > Finding LDAP base for users .. > .. found base dc=example,dc=net. > > Connecting to LDAP server .. > Failed to bind to LDAP server 127.0.0.1 as cn=manager,dc=example,dc=net > : Invalid credentials > -- > > What I'm missing? That means that the LDAP username or password set in the client module doesn't match what the LDAP server is configured to accept. - Jamie |
From: Muhammad B. Al-N. <mb...@gm...> - 2013-10-27 00:41:25
|
On 10/27/2013 12:08 AM, Jamie Cameron wrote: > That means that the LDAP username or password set in the client module > doesn't match what the LDAP server is configured to accept. Unfortunately this info didn't help me here but I found this post <http://edin.no-ip.com/blog/hswong3i/ldap-single-sign-webmin-ubuntu-12-04-howto> which gave me what I'm looking for but I faced only a tiny problem in last step of "Validate Configuration" as following so may you please be more generous and help me to fix it to validate what if OpenLDAP works fine or not -- Finding LDAP base for users .. .. found base dc=Users,dc=localdomain. Connecting to LDAP server .. .. connected to mbnoimi-VirtualBox Searching for users .. .. found 1 users. Checking Unix users service .. .. service is setup to query LDAP. Looking for Unix user example .. .. user does not exist. -- BTW, example user already exists as shown in this screenshot: http://img600.imageshack.us/img600/5824/w40x.png -- Best Regards, Muhammad Bashir Al-Noimi |
From: Jamie C. <jca...@we...> - 2013-10-27 01:18:27
|
On 26/Oct/2013 17:41 Muhammad Bashir Al-Noimi <mb...@gm...> wrote .. > On 10/27/2013 12:08 AM, Jamie Cameron wrote: > > That means that the LDAP username or password set in the client module > > doesn't match what the LDAP server is configured to accept. > Unfortunately this info didn't help me here but I found this post > <http://edin.no-ip.com/blog/hswong3i/ldap-single-sign-webmin-ubuntu-12-04-howto> > which gave me what I'm looking for but I faced only a tiny problem in > last step of "Validate Configuration" as following so may you please be > more generous and help me to fix it to validate what if OpenLDAP works > fine or not > > -- > Finding LDAP base for users .. > .. found base dc=Users,dc=localdomain. > > Connecting to LDAP server .. > .. connected to mbnoimi-VirtualBox > > Searching for users .. > .. found 1 users. > > Checking Unix users service .. > .. service is setup to query LDAP. > > Looking for Unix user example .. > .. user does not exist. > -- > > BTW, example user already exists as shown in this screenshot: > http://img600.imageshack.us/img600/5824/w40x.png This can happen if the NSS LDAP integration isn't working properly, which means that your system cannot lookup Unix users in the LDAP database. Check that gets logged to /var/log/secure, /var/log/authlog /var/log/messages if you run "su example -c 'echo test'" as root. - Jamie |
From: Muhammad B. Al-N. <mb...@gm...> - 2013-10-27 02:28:38
|
On 10/27/2013 02:18 AM, Jamie Cameron wrote: > This can happen if the NSS LDAP integration isn't working properly, > which means that your system cannot lookup Unix users in the LDAP database. > > Check that gets logged to /var/log/secure, /var/log/authlog > /var/log/messages if you run "su example -c 'echo test'" as root. Here is the result of above command: -- mbnoimi@mbnoimi-VirtualBox:~ > su example -c 'echo test' No passwd entry for user 'example' [1]mbnoimi@mbnoimi-VirtualBox:~ > -- P.S. I tried to change the password of examle user but it didn't affect so I got same result :( -- Best Regards, Muhammad Bashir Al-Noimi |
From: Jamie C. <jca...@we...> - 2013-10-27 03:25:29
|
On 26/Oct/2013 19:28 Muhammad Bashir Al-Noimi <mb...@gm...> wrote .. > On 10/27/2013 02:18 AM, Jamie Cameron wrote: > > This can happen if the NSS LDAP integration isn't working properly, > > which means that your system cannot lookup Unix users in the LDAP database. > > > > Check that gets logged to /var/log/secure, /var/log/authlog > > /var/log/messages if you run "su example -c 'echo test'" as root. > Here is the result of above command: > -- > mbnoimi@mbnoimi-VirtualBox:~ > su example -c 'echo test' > No passwd entry for user 'example' > [1]mbnoimi@mbnoimi-VirtualBox:~ > > -- > > P.S. I tried to change the password of examle user but it didn't affect > so I got same result :( Did anything useful get logged to /var/log/secure or /var/log/authlog when you ran that command? - Jamie |
From: Muhammad B. Al-N. <mb...@gm...> - 2013-10-27 07:29:59
|
On 10/27/2013 04:25 AM, Jamie Cameron wrote: > Did anything useful get logged to /var/log/secure or /var/log/authlog > when you ran that command? Both of them are empty! -- Best Regards, Muhammad Bashir Al-Noimi |
From: Muhammad B. Al-N. <mb...@gm...> - 2013-10-27 07:47:01
|
On 10/27/2013 08:29 AM, Muhammad Bashir Al-Noimi wrote: > On 10/27/2013 04:25 AM, Jamie Cameron wrote: >> Did anything useful get logged to /var/log/secure or /var/log/authlog >> when you ran that command? > Both of them are empty! I noticed something important. when I called dpkg-reconfigure libpam-ldapd my pc didn't ask me to anything while it should ask me to enable PAM profile (Unix authentication, LDAP Authentication) -- Best Regards, Muhammad Bashir Al-Noimi |
From: Muhammad B. Al-N. <mb...@gm...> - 2013-10-27 10:53:50
|
On Sun, Oct 27, 2013 at 8:46 AM, Muhammad Bashir Al-Noimi <mb...@gm...> wrote: > On 10/27/2013 08:29 AM, Muhammad Bashir Al-Noimi wrote: >> >> On 10/27/2013 04:25 AM, Jamie Cameron wrote: >>> >>> Did anything useful get logged to /var/log/secure or /var/log/authlog >>> when you ran that command? >> >> Both of them are empty! > > I noticed something important. when I called dpkg-reconfigure libpam-ldapd > my pc didn't ask me to anything while it should ask me to enable PAM profile > (Unix authentication, LDAP Authentication) I tried to fix this issue by editing /etc/nslcd.conf as following but unfortunately I still get "Looking for Unix user example ... user does not exist." : -- uid nslcd gid nslcd uri ldap://mbnoimi-VirtualBox/ base dc=localdomain bindpw 13HWupvq66DOo rootpwmoddn cn=admin,dc=localdomain -- P.S. I got bindpw from LDAP Server -> Administration password: Unix encrypted -- Best Regards Muhammad Bashir Al-Noimi |
From: Jamie C. <jca...@we...> - 2013-10-27 17:26:03
|
On 27/Oct/2013 00:29 Muhammad Bashir Al-Noimi <mb...@gm...> wrote .. > On 10/27/2013 04:25 AM, Jamie Cameron wrote: > > Did anything useful get logged to /var/log/secure or /var/log/authlog > > when you ran that command? > > Both of them are empty! Completely empty, or do they just not get new lines when a user logs in? Also, try checking /var/log/auth.log if you are on Debian or Ubuntu. - Jamie |
From: Muhammad B. Al-N. <mb...@gm...> - 2013-10-29 11:58:21
|
Thanks a lot guys, I fixed this issue by helping from: http://ubuntuforums.org/showthread.php?t=2183981&p=12830319#post12830319 On Sun, Oct 27, 2013 at 6:25 PM, Jamie Cameron <jca...@we...> wrote: > On 27/Oct/2013 00:29 Muhammad Bashir Al-Noimi <mb...@gm...> wrote .. >> On 10/27/2013 04:25 AM, Jamie Cameron wrote: >> > Did anything useful get logged to /var/log/secure or /var/log/authlog >> > when you ran that command? >> >> Both of them are empty! > > Completely empty, or do they just not get new lines when a user logs in? > Also, try checking /var/log/auth.log if you are on Debian or Ubuntu. > > - Jamie > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list -- Best Regards Muhammad Bashir Al-Noimi |
From: Andrey R. <anr...@fr...> - 2013-10-26 22:50:08
|
Greetings, Webmin users list! >>> You may need to install the NSS-LDAP client package. On Ubuntu, you should >>> be able to do this with : >>> >>> apt-get install libnss-ldap libpam-ldap >> >> >> It asks me about ldap:/// URI, from where can I get this string while >> LDAP server already installed by webmin? > BTW, When I tried to add my local IP (10.0.2.15) Webmin couldn't > manage users and the groups and gave me this error message: > -- > Could not parse the LDAP server URI ldapi:///10.0.2.15/. Click here to > adjust the module configuration. > -- ldapi:// - is a UNIX socket URI. You need ldap:// or ldaps:// with IP address. Also, use 127.0.0.1 with ldap:// if you're connecting to local system. Normally, you don't need secure (ldaps://) connection within local system. -- WBR, Andrey Repin (anr...@fr...) 27.10.2013, <02:38> Sorry for my terrible english... |