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. :( In addition, is there more information/tutorial of LDAP available on line? Thank you very much. Long-Sheng Jan 14. 03
On Mon, 2003-01-13 at 23:21, Long-Sheng Kuo wrote:> In addition, is there more information/tutorial of LDAP available on line?Sorry, I can't offer any Perl help. I found this Idealx document helpful as a tutorial for implementing samba as a PDC, using LDAP: http://samba.idealx.org/dist/samba-ldap-howto.pdf hmmm... right now, a DNS lookup is failing for them, so here's another pointer to the document I found useful: http://www.dcs.shef.ac.uk/~davea/Library/samba-ldap-howto.pdf -- Gordon Pritchard, P.Eng. | Institute of Electrical and Research Labs Manager | Electronics Engineers Simon Fraser University, Surrey | Quarter Century Wireless Ass'n gordonp@sfu.ca | Telephone Pioneers of America phone: 604.586.6186
> Message: 17 > Date: Tue, 14 Jan 2003 15:21:15 +0800 > To: samba@lists.samba.org > From: Long-Sheng Kuo <lskuo@fgs.org.tw> > 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