unstable用のsamba-jp
http://people.hypercore.co.jp/~nsaito/samba-ja/
/debian/rulesに
--with-ldapsam \
をつける
/etc/samba/smb.confに
# LDAP ldap server = katana.bike.oa.net.jjj ldap port = 389 ldap suffix = "dc=bike,dc=oa,dc=net,dc=jjj" ldap admin dn = "cn=admin,dc=bike,dc=oa,dc=net,dc=jjj" ldap ssl = no
をいれる。
テスト
$testparm Load smb config files from /etc/samba/smb.conf Processing section "[homes]" Processing section "[netlogon]" Processing section "[tmp]" Loaded services file OK. Press enter to see a dump of your service definitions
cp samba-ja-2.2.7a1.1/examples/LDAP/samba.schema /etc/ldap/schema/