My guess is that you have misconfigured nss-ldap.
What is the value of nss_base_passwd in your nss-ldap configuration?
Thierry.
On Monday 27 November 2006 17:43, kleiton@pcs.com.br
wrote:> Good Afternoon
>
> I have some problems in my samba domain.
>
> When I try add some machine on samba domain his execute a smbldap script,
> this script save the entrie on ou=computers but the samba search on
> ou=People,
>
> somepeople can help-me ?
>
> See a LOG piece
>
> Nov 27 12:55:50 xxxxx slapd[8298]: conn=178 op=24 SRCH
> base="ou=People,dc=xxx,dc=xxx" scope=2 deref=0
> filter="(&(objectClass=posixAccount)(uid=kcg-e84$))"
> Nov 27 12:55:50 xxxxx slapd[8298]: conn=178 op=25 SRCH
> base="ou=People,dc=xxx,dc=xxx" scope=2 deref=0
> filter="(&(objectClass=posixAccount)(uid=kcg-e84$))"
>
> My smb.conf ====>
> #======= LDAP DEFINITIONS =>
> passdb backend = ldapsam:ldap://127.0.0.1/
> ldap admin dn = cn=Manager,dc=xxx,dc=xxx
> #ldap delete dn = Yes
> ldap user suffix = ou=People
> ldap Group suffix = ou=Group
> ldap idmap suffix = ou=Idmap
> ldap machine suffix = ou=Computers
> ldap passwd sync = Yes
> ldap suffix = dc=xxx,dc=xxx
> ldap ssl = no
> idmap backend = ldap:ldap://127.0.0.1
> idmap uid = 15000-20000
> idmap gid = 15000-20000
>
> #==== USER DEFINITIONS =============> add user script =
/usr/sbin/smbldap-useradd -m "%u"
> delete user script = /usr/sbin/smbldap-userdel "%u"
> add machine script = /usr/sbin/smbldap-useradd -w "%u"
> add group script = /usr/sbin/smbldap-groupadd -p "%g"
> delete group script = /usr/sbin/smbldap-groupdel "%g"
> add user to group script = /usr/sbin/smbldap-groupmod -m "%u"
"%g"
> delete user from group script = /usr/sbin/smbldap-groupmod -x
"%u" "%g"
> set primary group script = /usr/sbin/smbldap-usermod -g "%g"
"%u"
>
>
> Thanks for help.