> Message: 17
> Date: Tue, 14 Jan 2003 15:21:15 +0800
> To: [EMAIL PROTECTED]
> From: Long-Sheng Kuo <[EMAIL PROTECTED]>
> Subject: [Samba] import_smbpasswd.pl for samba + LDAP
> 
> Hello All!
>    I am trying to follow the instructions to store Samba's Uer/Machine 
> Account information in an LDAP Directory (Samba-LDAP-HOWTO.html). Is there 
> anyone knowing how to run this Perl script: "import_smbpasswd.pl" in 
> examples/LDAP directory? I don't know Perl. :(

Which version of samba is this? There was a change in some of the
scripts somewhere around 2.2.5 IIRC. Anyway, in both cases you need to
edit the script to set your ldap server details ($DN, $ROOTDN, $rootpw
and $LDAPSERVER, and then run something like this:

./import_smbpasswd.pl < /etc/samba/smbpasswd

> 
>    In addition, is there more information/tutorial of LDAP available on line?

Mandrakesecure.net had a decent tutorial a while back.

Buchan

-- 
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to