Category Samba

Samba 3 > 3.0.11 boring stuff… not so boring ;-)

A friend, Arrfab, pointed me to something I completly forgot to check for my problem.

I never had that problem in the past, but to be able to put Users and Computers in different ldap ou's with the newest samba 3 releases, the file /etc/ldap.conf must have the following entries :

nss_base_passwd         ou=Users,ou=OxObjects,dc=yourdomain,dc=be?one
nss_base_passwd         ou=Computers,ou=OxObjects,dc=yourdomain,dc=be?one

In many howto's only one row for nss_base_passwd is used.

Samba 3 > 3.0.4 boring stuff

I'm a big disapointed with samba 3 upper of version 3.0.4(tested on 3.0.22 and 3.023c), using ldap as backend, I don't have a solution to split users and computers accounts... This is very annoying :(

Even if I put in smb.conf :

add machine script = /opt/IDEALX/sbin/smbldap-useradd -w '%u'
ldap machine suffix = ou=Computers

it doesn't work, it seems that this is never took in consideration. (I even tryed the old way to add machines, replacing '%u' by '%m').