20 Dec 2006

HOWTO install smbldap-tools on SLES10

Posted by Jacob Emcken

You can download smbldap-tools from their homepagedon’t!

If have searched yast for smbldap-tools, you will probably (like me) have found nothing. I tried to install the platform independent RPM package. Only to find that I was missing:

perl(Unicode::MapUTF8) is needed by smbldap-tools

Well there is not specific package for smbldap-tools for SLES 10… but I found that the perl scrips is included in the samba-doc package. After you have installed the samba-doc package, you will be able to find somewhere like this:

/usr/share/doc/packages/samba/examples/LDAP/smbldap-tools-0.9.1

The version might vary when new service packs arrive.

Now copy the the following files to /usr/local/sbin/:

smbldap-groupadd
smbldap-groupmod
smbldap-passwd
smbldap-tools.spec
smbldap-userdel
smbldap-usermod
smbldap_tools.pm
smbldap-groupdel
smbldap-groupshow
smbldap-populate
smbldap-useradd
smbldap-userinfo
smbldap-usershow

And copy the following configuration files to /etc/smbldap-tools:

smbldap.conf
smbldap_bind.conf

From here you are on your own :)

4 Comments to HOWTO install smbldap-tools on SLES10

Daniele
June 11, 2007

Great!!!

Many thanks!!!

Denis
March 3, 2008

Hi there! Can u help me a little more? I tried everything and only get errors when I try to execute some smbldap-* scripts …. invalid file references and stuff …. any clue?

Thanx!

Jacob Emcken
March 4, 2008

When you said you tried everything be more specific.

Copy paste the exact path and script you are trying to run along with the error message. Without that I can’t do anything to help.

Mikhail
November 18, 2008

The decision was not so difficult as i thinked, thank you very very much.

Leave a comment