Samba 解説

第4章 SambaとLDAPの連携

【リスト4-11】 smbldap_conf.pmの設定例

$SID='S-1-5-21-3657069749-4265089255-823976657';
$slaveLDAP = "127.0.0.1";
$masterLDAP = "127.0.0.1";
$suffix = "dc=miraclelinux,dc=com";
$usersou = q(People);
$computersou = q(Computers);
$groupsou = q(Groups);
$hash_encrypt="MD5";
$binddn = "cn=Manager,$suffix";
$bindpasswd = 'secret';
$_userLoginShell = q(/bin/bash);
$_userHomePrefix = q(/home);
$_userSmbHome = q(\\\\SAMBAPDC\\homes);
$_userProfile = q(\\\\SAMBAPDC\\profiles\\);
$_userHomeDrive = q(X:);
	      

閉じる