ldap filter and man page [WAS Re: [Samba] My story installing Samba-LDAP PDC (it has a happy ending)

Gerald (Jerry) Carter jerry at samba.org
Thu Jan 22 02:30:28 GMT 2004

Hash: SHA1

Beast wrote:

> If I did not set "ldap filter" then according man page 
 > (smb.conf) it will be:
>  Default: ldap filter = (&(uid=%u)(objectclass=sambaAccount))

The ldap filter parameter is irrelavant in some searches (such as the 
idmap backend ldap searches and the gourp mapping lookups).

> Also man page for smb.conf(5) in samba-3.0.2rc1 is 
 > truncated, only 1 page long, at least in srpm package.

Hmmm...it's fine in the tarball.  And it's fine in the RH SRPM.
Something wrong your system ?

> fyi, I've tried 3.0.2rc1 without setting 'ldap filter' in 
 > smb.conf and put computer account under ou=computer and
 > it able to add machine.  Any strong reason to not putting
 > computer account different than user accounts?

It's not real since nss_ldap still has locate the posixAccount
for the computer.

- --
cheers, jerry
  Hewlett-Packard            ------------------------- http://www.hp.com
  SAMBA Team                 ---------------------- http://www.samba.org
  GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
  "If we're adding to the noise, turn off this song" --Switchfoot (2003)
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the samba mailing list