Samba4 + OpenLDAP - problem

mmaciej mmaciej at natimax.pl
Wed Aug 5 13:24:30 MDT 2009



Motaz Diab wrote:
> 
> I face your problem so if you find the solution, can you send me please?
> 
> 

Hi 
I moved a bit forward.
The problem was with my openldap and berkeley
Finnaly i did:

add unsteble repo to my source.list
I downloaded debian source for openldap -> 2.4.17
I installed all dependence packets (berkeley 4.7.25-7) libdb4.7 libdb4.7-dev
etc.

I add followings to my openldap configure options:
--enable-debug
--enable-dynamic
--enable-syslog
--enable-proctitle
--enable-ipv6
--enable-local
--enable-slapd
--enable-aci
--enable-cleartext
--enable-crypt
--disable-lmpasswd
--enable-spasswd
--enable-modules
--enable-rewrite
--enable-rlookups
--enable-slapi
--enable-slp
--enable-wrappers
--enable-backends=mod
--enable-bdb
--enable-dnssrv
--enable-hdb
--enable-ldap
--enable-monitor
--disable-ndb
--enable-memberof
--enable-refint
--enable-syncprov
--enable-translucent
--enable-deref
--enable-dds (I didnt add this before when I compiled from source and I
think that was the problem)
--with-subdir=ldap
--with-cyrus-sasl
--with-threads
--with-tls=gnutls

I builded debian package and installed it:

After making provision-backend database type in my slapd.conf was hdb - i
didn't compile --enable-hdb so I changed to bdb.
Now everythinkg working well
I share the same home directory with samba4 and nfs4 and I can log in on the
same account  from windows Xp and Linux machines and use the same Desktop
etc - dont know yet if this is smart idea
I would like to use openldap for managing all accounts (linux using openldap
-samba backend and windows using samba4 ad)
I had to add posixAccount and posixGroup to my users to enable loging from
linux, is there any other work around?
Best regards


Ps.
There is still this problem:
http://www.nabble.com/Samba-4---Alpha-8---OpenLDAP-missing-schema-attributes-td24816910.html
I solved this:
dn: cn=Test User,cn=Users,dc=example,dc=com
changetype: modify
add: uidNumber
uidNumber: the numbers samba4 using

-
add gidNumber, posixAccount and posixGroup to user or group




-- 
View this message in context: http://www.nabble.com/Samba4-%2B-OpenLDAP---problem-tp24644818p24834462.html
Sent from the Samba - samba-technical mailing list archive at Nabble.com.



More information about the samba-technical mailing list