Samba_2.2 + --with-ldapsam

Ignacio Coupeau icoupeau at unav.es
Mon Oct 1 01:12:11 GMT 2001


Shanker Balan wrote:
> 
> Hello:
> 
> Gerald (Jerry) Carter wrote,
> > You need to add the password for the "ldap admin dn" using
> >
> >       root# smbpasswd -w <secret>
> 
> Hmm... something funny happening here!

In the code I found WITH_LDAP and WITH_LDAP_SAM. I think that in the
utils/smbpasswd.c WITH_LDAP should be replaced by WITH_LDAP_SAM...
--
[root at arcos source-SAMBA_2_2-010929]# rgrep -x c WITH_LDAP
../source-SAMBA_2_2-011001/*
../source-SAMBA_2_2-011001/param/loadparm.c:#ifdef WITH_LDAP_SAM
../source-SAMBA_2_2-011001/param/loadparm.c:#ifdef WITH_LDAP_SAM
../source-SAMBA_2_2-011001/param/loadparm.c:#endif /* WITH_LDAP_SAM */
../source-SAMBA_2_2-011001/param/loadparm.c:#ifdef WITH_LDAP_SAM
../source-SAMBA_2_2-011001/param/loadparm.c:#endif /* WITH_LDAP_SAM */
../source-SAMBA_2_2-011001/param/loadparm.c:#ifdef WITH_LDAP_SAM
../source-SAMBA_2_2-011001/param/loadparm.c:#endif /* WITH_LDAP_SAM */
../source-SAMBA_2_2-011001/passdb/passgrp.c:#elif defined(WITH_LDAP)
../source-SAMBA_2_2-011001/passdb/pdb_ldap.c:#ifdef WITH_LDAP_SAM
../source-SAMBA_2_2-011001/utils/smbpasswd.c:#ifdef WITH_LDAP
../source-SAMBA_2_2-011001/utils/smbpasswd.c:#ifdef WITH_LDAP
../source-SAMBA_2_2-011001/utils/smbpasswd.c:#ifdef WITH_LDAP
../source-SAMBA_2_2-011001/utils/smbpasswd.c:#ifdef WITH_LDAP
../source-SAMBA_2_2-011001/utils/smbpasswd.c:#ifdef WITH_LDAP
--
Also, I don't know if this is correct or useless at this moment:
../source-SAMBA_2_2-011001/groupdb/aliasdb.c:#elif defined(WITH_LDAP)
../source-SAMBA_2_2-011001/groupdb/groupdb.c:#elif defined(WITH_LDAP)

Ignacio
____________________________________________________
Ignacio Coupeau, Ph.D.     e-mail: icoupeau at unav.es
CTI, Director              fax:    948 425619
University of Navarra      voice:  948 425600
Pamplona, SPAIN            http://www.unav.es/cti/




More information about the samba-ntdom mailing list