Home › Forums › OS X Server and Client Discussion › Open Directory › Linux LDAP Directory master
- This topic has 0 replies, 1 voice, and was last updated 21 years, 12 months ago by
molnar@chello.cz.
-
AuthorPosts
-
November 15, 2004 at 1:55 am #359910
molnar@chello.cz
ParticipantHi all,
I want to set up an Linux box as a LDAP Directory master and connect to it an Mac OS X 10.3 Server. I have set up Linux and Mac OS X in the following configuration:
Linux:
Slackware 9.1 – kernel 2.4.22
Cyrus-SASL 2.1.20 – compiled in CRAM-MD5, DIGEST-MD5 supp.
openLdap 2.2.18 – compiled in SASL support
IP: 192.168.1.2
provides: DNS. LDAPMacOS X 10.3.4
provides: DHCP(without LDAP), Firewall, NAT, and OpenDirectory as Domain Master.
external IP: 10.0.0.20
internal IP: 192.168.1.1When I add Linux box to Directory Access ( with OpenDir mapping), on the server and workstations, and then I add user in WGM to Linux LDAP, the user location is: /10.0.0.20/LDAPv3/192.168.1.2 and nothing happen with Linux. When I try to connect to domain from workstation, it’s always ask a Mac OS Server internal LDAP and, of course, successfully login. The WGM shows that is authenticated to /LDAPv3/192.168.1.2 but shows users from Mac OS. It is same when I remove localhost(or Mac OS Server) from DirAccess. From a debug log of LDAPs it’s look like the workstation ask Linux and MacOS at the same time but from Linux return error that object not found. When I ask to same object manually from any computer on the network ldapsearch ask for CRAM-MD5 password and return object correctly. I imported Apple schemas to Linux, copy and a bit modify slapd.conf file and imported ldif from Mac OS. In ldapbrowser everything looks fine. Through ldapsearch -x …. too. When I change a role of Mac OS Server to Connected to a Directory System the OpenDirectory stop works and report than cannot authenticate. It cannot authenticate to LDAP with any local, Linux or LDAP(created with saslpasswd2) user. From a command line DIGEST-MD5 and CRAM-MD5 working.
Can somebody help with this? Or post me some link to exact manual where is the requirements to Linux and MacOS X Server and how they connect together?A lot of thanks
Peter Molnar
-
AuthorPosts
- You must be logged in to reply to this topic.