[Samba] Opensuse: Samba LDAP useradd fails

Fajar Priyanto fajarpri at arinet.org
Thu Jul 5 10:01:59 GMT 2007

Hello all,
I'm troubleshooting Zimbra + Samba LDAP on opensuse10.2.
When trying to useradd manually:
fajar102:~ # useradd --service ldap --binddn uid=zimbra,cn=admins,cn=zimbra -g 
20002 test2
Enter LDAP Password:
Cannot find base ou for new users.
LDAP information update failed: Operations error
In /var/log/messages:
Jul  5 16:01:04 fajar102 useradd[14606]: new account added - account=test2, 
uid=20003, gid=100, home=/home/test2, shell=/bin/bash, by=0
But the user is not added.

From zimbra tutorial on Ubuntu, they use this command:
add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
add machine script 
= /usr/sbin/adduser --shell /bin/false --disabled-password --quiet "machine 
account" --force-badname %u
But, looks like it's not compatible with Opensuse, eventhough I changed 
adduser to useradd.

Any hints are appreciated.
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
4:29pm up 1:34, GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20070705/b4e6adcf/attachment.bin

More information about the samba mailing list