[Samba] Re: Good News, ou=computer works! :-)
abartlet at samba.org
Thu Jan 15 21:20:57 GMT 2004
On Thu, Jan 15, 2004 at 09:42:53AM -0400, Vegeta wrote:
> Beast wrote:
> > I'm just storing machine accounts under
> > ou=computer,ou=site,dc=domain,dc=com and it works.
> > Tested with W2K sp2 and W2K sp3, recreating from fresh ldif 2 times were
> > never failed. Im sure it is 'stable' right now :-)
> > 'works' means it was able to add machine trust on-the-fly, or using manual
> > creation with smbpasswd command.
> > The key is in not to use 'objectclass=sambaSamAccount' in ldap filter.
> > Tks to everybody who helps...
> > --beast
> I did not use 'objectclass=sambaSamAccount' and 3.0.2pre1 still doesn't work
> for me using ou=computers
All LDAP searche (for account objects, anyway) are done under the
'ldap suffix'. If you have that set so that it can 'see' both
ou=People and ou=Computers, it really should 'just work'. The 'ldap
user suffix' and 'ldap machine suffix' was meant to control where
users and machines get put, if they don't already exist. Due to
current requirments, you pretty much always have to run an add user
script, so more important issetting this in the ldap tools.
More information about the samba