Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-15-2012, 12:39 AM   #1
Registered: Jun 2010
Location: AZ
Distribution: Slackware
Posts: 105

Rep: Reputation: 1
nss_ldap attempts to bind to ldap before rcnetwork starts?

Hey guys, I'm having abit of an issue getting my server to succesfully bind to ldap.

Looking at my dmesg logs, I can see nss_ldap is attempting to contact my ldap server before ifup/ rcnetwork has even started:

[ 34.292746] systemd[1]: nss_ldap: failed to bind to LDAP server ldap:// Can't contact LDAP server
[ 34.292755] systemd[1]: nss_ldap: reconnecting to LDAP server (sleeping 4 seconds)...
[ 34.305190] ifup[1272]: Service network not started and mode 'auto' -> skipping

[EDIT]I am sure my ldap configuration is okay, I simpy copied it from a working configuration in our OpenSUSE 11.4 server to our new OpenSUSE 12.1.

I'm sure I can fix this with chkconfig.. Problem is, I'm not sure which service in suse corresponds to nss_ldap, so I don't know which one to chkconfig. (I know in rhel its slapd.)

I've configured this successfully on rhel6 without any problems. I am a bit new to SUSE, any help in this issue is greatly appreciated.



Last edited by slugman; 04-15-2012 at 09:02 AM.
Old 04-16-2012, 07:19 AM   #2
Registered: Jun 2010
Location: AZ
Distribution: Slackware
Posts: 105

Original Poster
Rep: Reputation: 1
Greg from the Suse forums, and a couple dudes from the freenode #suse channel recommended removing systemd in place of sysvinit. I was given the following link:
openSUSE:Managing Systemd - openSUSE

Unfortnately, removing systemd did not seem like a sound option.. zypper prompted me to remove 386MB worth of dependencies.. They were mostly install patterns, one of which I already had to remove. However, there were a couple packages I did not want to get rid of, i.e. acpid, samba, a couple more I can't think of off the top of my head.

So, I just settled with adding 'init=/sbin/sysvinit' to my grub kernel cmd-line parameter.

nss_ldap is now able to bind to my ldap server without issues Now, if I can only get getent passwd to work... (another matter for another forum).

Last edited by slugman; 04-16-2012 at 07:26 AM.


chkconfig, ifup, ldap, network, opensuse

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
nss_ldap: failed to bind to LDAP server pitccorp01 Linux - Newbie 4 12-14-2011 12:37 PM
Trouble with ldap auth on linux. nss_ldap, padl, ... Ratclaws Linux - General 1 03-16-2011 04:40 PM
nss_ldap as unprivileged user without giving away the ldap.secret chakkerz Linux - Security 5 08-16-2010 10:28 PM
LDAP+nss_ldap+squid vnick Linux - Server 1 10-25-2009 04:17 AM
nss_ldap, can't contact LDAP server! mesh2005 Linux - Networking 3 12-06-2005 01:22 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:33 PM.

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