smbd.logに次のようなログが出て、smbdが立ち上がらない。
-----------
[2007/10/10 19:37:12, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2007/10/10 19:37:12, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2007/10/10 19:37:12, 5] lib/smbldap.c:smbldap_search_ext(1179)
smbldap_search_ext: base => [ou=Groups,dc=yasu3smb,dc=lan,dc=osstech,dc=co,dc=jp"], filter => [(&(objectClass=sambaGroupMapping)(sambaSID=S-1-5-32-545))], scope => [2]
[2007/10/10 19:37:12, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/10/10 19:37:12, 5] lib/smbldap.c:smbldap_search_ext(1179)
smbldap_search_ext: base => [ou=Groups,dc=yasu3smb,dc=lan,dc=osstech,dc=co,dc=jp"], filter => [(&(|(objectclass=sambaGroupMapping)(sambaGroupType=4))(|(sambaSIDList=S-1-5-21-3113096016-1197468713-2324795320-501)(sambaSIDList=S-1-22-2-514)(sambaSIDList=S-1-1-0)(sambaSIDList=S-1-5-2)(sambaSIDList=S-1-5-32-546)))], scope => [2]
[2007/10/10 19:37:12, 0] smbd/server.c:main(960)
ERROR: failed to setup guest info.
-----------------
次のsmb.confから間違いを探してください...
-----------------
[global]
unix charset = UTF-8
display charset = UTF-8
dos charset = CP932
netbios name = CAROL
workgroup = YASU3SMB
server string = %L (Samba %v @ %h)
dns proxy = yes
wins proxy = yes
guest account=Guest
map to guest = bad user
log level = 5
syslog = 0
log file = /var/log/samba/%m.log
max log size = 5000
security = user
domain logons = Yes
logon path =
logon home =
logon drive =
logon script =
passdb backend = ldapsam:"ldap://localhost"
ldap ssl = no
ldap admin dn = "cn=Manager,dc=yasu3smb,dc=lan,dc=osstech,dc=co,dc=jp"
ldap passwd sync = Yes
ldap delete dn = no
ldap suffix = dc=yasu3smb,dc=lan,dc=osstech,dc=co,dc=jp"
ldap user suffix = ou=Users
ldap group suffix = ou=Groups
ldap machine suffix = ou=Computers
add user script = /usr/sbin/smbldap-useradd -n -m "%u"
delete user script = /usr/sbin/smbldap-userdel -r "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/sbin/smbldap-groupdel "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
add machine script = /usr/sbin/smbldap-useradd -w "%u"
... 省略 ...
-----------
うーむ、ドメイン参加できなくて1日悩んでしまった...。
0 件のコメント:
コメントを投稿