[Samba] PDC + SAMBA + LDAP

Ilia Chipitsine ilia at paramon.ru
Wed Feb 2 10:40:19 GMT 2005


maybe nss doesn't look at ou=Computers ?

try either of:

1) move comupter account to ou=Users
2) make nss look at both ou=Users and ou=Computers


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Good Morning,
>
> My test machine is Workstation 16178-AUDIT$. I've already included in
> the ldap base, like you can see in the base:
>
> smbldap# ldapsearch -D "cn=root,o=frigorifico-aurora,c=br" -b
> "o=frigorifico-aurora,c=br" -x -W '(uid=16178-audit$)'
> Enter LDAP Password:
> # extended LDIF
> #
> # LDAPv3
> # base <o=frigorifico-aurora,c=br> with scope sub
> # filter: (uid=16178-audit$)
> # requesting: ALL
> #
>
> # 16178-AUDIT$, Computers, frigorifico-aurora, br
> dn: uid=16178-AUDIT$,ou=Computers,o=frigorifico-aurora,c=br
> objectClass: top
> objectClass: inetOrgPerson
> objectClass: posixAccount
> cn: 16178-AUDIT$
> sn: 16178-AUDIT$
> uid: 16178-AUDIT$
> uidNumber: 1010
> gidNumber: 515
> homeDirectory: /dev/null
> loginShell: /bin/false
> description: Computer
> gecos: Computer
>
> # search result
> search: 2
> result: 0 Success
>
> # numResponses: 2
> # numEntries: 1
>
> but, the system says that it does not exist. (no account in domain)
>
> [2005/02/01 17:02:42, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1982)
> ~  ldapsam_search_one_group: Problem during the LDAP search: LDAP error:
> invalid DN (Invalid DN syntax)
> [2005/02/01 17:02:42, 0] rpc_server/srv_netlog_nt.c:get_md4pw(244)
> ~  get_md4pw: Workstation 16178-AUDIT$: no account in domain
>
>
> Do you have the solutions?
>
> []'s
> __
> M?rcio Luciano Donada
> mdonada at auroraalimentos dot com dot br
> FreeBSD - The uptime is mesuared in years!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFCAKyLyJq2hZEymxcRAmokAJ99RQmilBZSnMq1wwT7a4UyppHfSwCgtXVF
> mzTq1e+WnnvVbBJIWA6nqrg=
> =boWl
> -----END PGP SIGNATURE-----
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list