[Samba] Re: SAMBA + OPENLDAP - Getent - Please help :)

This is a discussion on [Samba] Re: SAMBA + OPENLDAP - Getent - Please help :) within the Samba forums, part of the Networking and Network Related category; Fellows: I am still stuck with getent part. As I mentioned previously, nss_ldap-207-2.i386.rpm (which came with ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-27-2005
Choudary Mumtaz
 
Posts: n/a
Default [Samba] Re: SAMBA + OPENLDAP - Getent - Please help :)

Fellows:
I am still stuck with getent part. As I mentioned previously, nss_ldap-207-2.i386.rpm (which came with RedHat 3) gave me segmentation fault, so I have configured nss_ldap-232 from the padl site. I have used the following configure parameters:
configure --with-ldap-lib=openldap --with-ldap-conf-file=/etc --with-ldap-dir=
/usr --enable-schema-mapping=yes
OpenLDAP openldap-2.2.20 is configured as:
configure --prefix=/usr --enable-slapd --enable-ldbm=yes --enable-ldap=yes --e
nable-dnssrv --enable-hdb --enable-dyngroup --enable-slurpd --with-cyrus-sasl=no
--with-tls=no --enable-ipv6=no --enable-crypt=yes --enable-passwd=yes --enable
-dyngroup=yes

Samba samba-3.0.10 is configured as:
configure --enable-cups --with-ldap --with-smbmount --with-quotas --with-winb
ind --with-ldapsam

ldap.conf configuration is as follows:
#SIZELIMIT 12
#TIMELIMIT 15
DEREF never
host 192.168.1.198
base dc=mercurytechs,dc=com
binddn cn=Manager,dc=XXXXXXX,dc=com
bindpw XXXXXXX
pam_password exop
nss_base_passwd ou=People,dc=XXXXXXX,dc=com?sub
nss_base_shadow ou=People,dc=XXXXXXX,dc=com?sub
nss_base_group ou=Groups,dc=XXXXXX,dc=com?sub

pdbedit -Lv lists all the users. slapcat does list all the accounts and groups. I can query the ldap database using ldapsearch, but getent doesn't give me any output at all. Please let me know, where may be a possible mistake.
Thank you.



Choudary Mumtaz <asadmumtaz1@yahoo.com> wrote:

I am not able to download the attached file. May you please send me another copy? Also, I have switched to nss_ldap-207-2.i386.rpm and now I get a segmentation error when I do
getent --service=ldap passwd
May someone please point me to the right direction?
Thank you.

Tony Earnshaw wrote:
Jim C.:

> |>Yes. I have followed the instructions from the book, and I have also
> ...
> | will cost you both time and sweat .(
>
>
> Heck, I'd be ecstatic if I could just get a schema file patch for
> posixGroups that appropriately support dn syntax.


For me the standard Openldap nis.schema (posix) and samba3 schema work
o.k. - of did I have to change the samba3 schema? My working one's
attached.

--Tonni

--
mail: tonye@billy.demon.nl
http://www.billy.demon.nl--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

---------------------------------
Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba


---------------------------------
Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0