LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-15-2012, 12:39 AM   #1
slugman
Member
 
Registered: Jun 2010
Location: Los Estados No Estan Unidos
Distribution: Slackware
Posts: 58

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://dc006.digital.com: 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.

Thanks,

Diego

Last edited by slugman; 04-15-2012 at 09:02 AM.
 
Old 04-16-2012, 07:19 AM   #2
slugman
Member
 
Registered: Jun 2010
Location: Los Estados No Estan Unidos
Distribution: Slackware
Posts: 58

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.
 
  


Reply

Tags
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


All times are GMT -5. The time now is 01:04 AM.

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