[samba-jp:19524] Re: samba & ドメイン & LDAP でアドバイス是非お願い致します
Toshinori Kawamoto
kawamoto @ nds-tyo.co.jp
2007年 6月 13日 (水) 18:43:24 JST
川本です。
> さとうふみやす @ OSS テクノロジです。
> また、各 Samba の smb.conf の [global] はどうなっています?
> `testparm -s` の出力から [global] の最後の部分までを
> 抜き出して見せてください。
すみません。先ほどのはマシン-Bで
以下がマシン-Aです。
# testparm -s
Load smb config files from /etc/samba/smb.conf
Processing section "[xxxx]"
略
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
# Global parameters
[global]
dos charset = CP932
display charset = UTF-8
workgroup = xxxx
netbios name = xxxxUSR
server string = xxxx USER SERVER
passdb backend = ldapsam:ldap://localhost
password level = 8
log level = 9
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
add user script = /usr/local/sbin/smbldap-useradd.pl -m '%u'
delete user script = /usr/local/sbin/smbldap-userdel.pl '%u'
add group script = /usr/local/sbin/smbldap-groupadd.pl -p '%g'
delete group script = /usr/local/sbin/smbldap-groupdel.pl '%g'
add user to group script = /usr/local/sbin/smbldap-groupmod.pl -m '%u' '%g'
delete user from group script = /usr/local/sbin/smbldap-groupmod.pl -x '%u' '%g'
set primary group script = /usr/local/sbin/smbldap-usermod.pl -g '%g' '%u'
add machine script = /usr/local/sbin/smbldap-useradd.pl -w '%u'
logon script = logon.bat
logon path = \\%L\Profiles\%U
logon home = \\%L\%U\profiles
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
dns proxy = No
ldap admin dn = cn=Manager,dc=xxxxxxxx,dc=co,dc=jp
ldap group suffix = ou=Group
ldap machine suffix = ou=Computers
ldap passwd sync = Yes
ldap suffix = dc=xxxxxxxx,dc=co,dc=jp
ldap user suffix = ou=Users
host msdfs = Yes
admin users = Administrator
create mask = 0666
force directory mode = 0777
inherit acls = Yes
hosts allow = 127., 192.168.
cups options = raw
以上、よろしくお願い致します。
samba-jp メーリングリストの案内