>Теперь нужно смотреть на логи самбы при log level хотя бы 3,
>а если не поможет, то 10, но 10 уровень генерит довольно
>большой лог. JohnProfiс, ведь не нужно сервер загонять в свой же домен?
log level = 3 passdb:5 auth:10 winbind:2
/var/log/samba/smbd.log:
[2009/04/16 13:39:27, 0] smbd/server.c:main(944)
smbd version 3.0.33-3.7.el5 started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
[2009/04/16 13:39:27, 2] param/loadparm.c:do_section(3820)
Processing section "[homes]"
[2009/04/16 13:39:27, 2] param/loadparm.c:do_section(3820)
Processing section "[netlogon]"
[2009/04/16 13:39:27, 3] param/loadparm.c:lp_add_ipc(2728)
adding IPC service
[2009/04/16 13:39:27, 3] printing/pcap.c:pcap_cache_reload(117)
reloading printcap cache
[2009/04/16 13:39:27, 3] printing/pcap.c:pcap_cache_reload(223)
reload status: ok
[2009/04/16 13:39:27, 3] printing/pcap.c:pcap_cache_reload(117)
reloading printcap cache
[2009/04/16 13:39:27, 3] printing/pcap.c:pcap_cache_reload(223)
reload status: ok
[2009/04/16 13:39:27, 2] lib/interface.c:add_interface(81)
added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
[2009/04/16 13:39:27, 3] smbd/server.c:main(982)
loaded services
[2009/04/16 13:39:27, 3] smbd/server.c:main(997)
Becoming a daemon.
[2009/04/16 13:39:27, 2] lib/tallocmsg.c:register_msg_pool_usage(105)
Registered MSG_REQ_POOL_USAGE
[2009/04/16 13:39:27, 2] lib/dmallocmsg.c:register_dmalloc_msgs(75)
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2009/04/16 13:39:27, 5] passdb/pdb_interface.c:smb_register_passdb(68)
Attempting to register passdb backend ldapsam
[2009/04/16 13:39:27, 5] passdb/pdb_interface.c:smb_register_passdb(81)
Successfully added passdb backend 'ldapsam'
[2009/04/16 13:39:27, 5] passdb/pdb_interface.c:smb_register_passdb(68)
Attempting to register passdb backend ldapsam_compat
[2009/04/16 13:39:27, 5] passdb/pdb_interface.c:smb_register_passdb(81)
Successfully added passdb backend 'ldapsam_compat'
[2009/04/16 13:39:27, 5] passdb/pdb_interface.c:smb_register_passdb(68)
Attempting to register passdb backend NDS_ldapsam
[2009/04/16 13:39:27, 5] passdb/pdb_interface.c:smb_register_passdb(81)
Successfully added passdb backend 'NDS_ldapsam'
[2009/04/16 13:39:27, 5] passdb/pdb_interface.c:smb_register_passdb(68)
Attempting to register passdb backend NDS_ldapsam_compat
[2009/04/16 13:39:27, 5] passdb/pdb_interface.c:smb_register_passdb(81)
Successfully added passdb backend 'NDS_ldapsam_compat'
[2009/04/16 13:39:27, 5] passdb/pdb_interface.c:smb_register_passdb(68)
Attempting to register passdb backend smbpasswd
[2009/04/16 13:39:27, 5] passdb/pdb_interface.c:smb_register_passdb(81)
Successfully added passdb backend 'smbpasswd'
[2009/04/16 13:39:27, 5] passdb/pdb_interface.c:smb_register_passdb(68)
Attempting to register passdb backend tdbsam
[2009/04/16 13:39:27, 5] passdb/pdb_interface.c:smb_register_passdb(81)
Successfully added passdb backend 'tdbsam'
[2009/04/16 13:39:27, 5] passdb/pdb_interface.c:make_pdb_method_name(121)
Attempting to find an passdb backend to match ldapsam:ldap://127.0.0.1/ (ldapsam)
[2009/04/16 13:39:27, 5] passdb/pdb_interface.c:make_pdb_method_name(142)
Found pdb backend ldapsam
[2009/04/16 13:39:27, 2] lib/smbldap_util.c:smbldap_search_domain_info(256)
smbldap_search_domain_info: Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=SCLAD.LAN))]
[2009/04/16 13:39:27, 2] lib/smbldap.c:smbldap_open_connection(786)
smbldap_open_connection: connection opened
[2009/04/16 13:39:27, 3] lib/smbldap.c:smbldap_connect_system(997)
ldap_connect_system: successful connection to the LDAP server
[2009/04/16 13:39:27, 2] lib/smbldap_util.c:smbldap_search_domain_info(263)
smbldap_search_domain_info: Problem during LDAPsearch: No such object
[2009/04/16 13:39:27, 2] lib/smbldap_util.c:smbldap_search_domain_info(264)
smbldap_search_domain_info: Query was: dc=sclad,dc=lan, (&(objectClass=sambaDomain)(sambaDomainName=SCLAD.LAN))
[2009/04/16 13:39:27, 2] passdb/pdb_ldap.c:pdb_init_ldapsam(5667)
pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the domain
pdb_init_ldapsam: Continuing on regardless, will be unable to allocate new users/groups, and will risk BDCs having inconsistant SIDs
[2009/04/16 13:39:27, 5] passdb/pdb_interface.c:make_pdb_method_name(153)
pdb backend ldapsam:ldap://127.0.0.1/ has a valid init
[2009/04/16 13:39:27, 10] auth/auth_util.c:create_local_nt_token(896)
Create local NT token for S-1-22-1-0
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 3] groupdb/mapping.c:pdb_create_builtin_alias(723)
pdb_create_builtin_alias: Could not get a gid out of winbind
[2009/04/16 13:39:27, 0] auth/auth_util.c:create_builtin_administrators(844)
create_builtin_administrators: Failed to create Administrators
[2009/04/16 13:39:27, 2] auth/auth_util.c:create_local_nt_token(966)
create_local_nt_token: Failed to create BUILTIN\Administrators group!
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 3] groupdb/mapping.c:pdb_create_builtin_alias(723)
pdb_create_builtin_alias: Could not get a gid out of winbind
[2009/04/16 13:39:27, 0] auth/auth_util.c:create_builtin_users(810)
create_builtin_users: Failed to create Users
[2009/04/16 13:39:27, 2] auth/auth_util.c:create_local_nt_token(993)
create_local_nt_token: Failed to create BUILTIN\Users group!
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 10] auth/auth_util.c:add_aliases(708)
pdb_enum_alias_memberships failed: NT_STATUS_UNSUCCESSFUL
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 10] auth/auth_util.c:create_local_nt_token(896)
Create local NT token for S-1-22-1-0
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 3] groupdb/mapping.c:pdb_create_builtin_alias(723)
pdb_create_builtin_alias: Could not get a gid out of winbind
[2009/04/16 13:39:27, 0] auth/auth_util.c:create_builtin_administrators(844)
create_builtin_administrators: Failed to create Administrators
[2009/04/16 13:39:27, 2] auth/auth_util.c:create_local_nt_token(966)
create_local_nt_token: Failed to create BUILTIN\Administrators group!
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 3] groupdb/mapping.c:pdb_create_builtin_alias(723)
pdb_create_builtin_alias: Could not get a gid out of winbind
[2009/04/16 13:39:27, 0] auth/auth_util.c:create_builtin_users(810)
create_builtin_users: Failed to create Users
[2009/04/16 13:39:27, 2] auth/auth_util.c:create_local_nt_token(993)
create_local_nt_token: Failed to create BUILTIN\Users group!
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 10] auth/auth_util.c:add_aliases(708)
pdb_enum_alias_memberships failed: NT_STATUS_UNSUCCESSFUL
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 3] lib/util_seaccess.c:se_access_check(250)
[2009/04/16 13:39:27, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-7
[2009/04/16 13:39:27, 0] services/services_db.c:svcctl_init_keys(420)
svcctl_init_keys: key lookup failed! (WERR_ACCESS_DENIED)
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 5] auth/auth_util.c:make_server_info_sam(675)
make_server_info_sam: made server info for user nobody -> nobody
[2009/04/16 13:39:27, 10] auth/auth_util.c:create_local_nt_token(896)
Create local NT token for S-1-5-21-93199991-951995455-3406427012-501
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 3] groupdb/mapping.c:pdb_create_builtin_alias(723)
pdb_create_builtin_alias: Could not get a gid out of winbind
[2009/04/16 13:39:27, 0] auth/auth_util.c:create_builtin_administrators(844)
create_builtin_administrators: Failed to create Administrators
[2009/04/16 13:39:27, 2] auth/auth_util.c:create_local_nt_token(966)
create_local_nt_token: Failed to create BUILTIN\Administrators group!
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 3] groupdb/mapping.c:pdb_create_builtin_alias(723)
pdb_create_builtin_alias: Could not get a gid out of winbind
[2009/04/16 13:39:27, 0] auth/auth_util.c:create_builtin_users(810)
create_builtin_users: Failed to create Users
[2009/04/16 13:39:27, 2] auth/auth_util.c:create_local_nt_token(993)
create_local_nt_token: Failed to create BUILTIN\Users group!
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/04/16 13:39:27, 10] auth/auth_util.c:add_aliases(708)
pdb_enum_alias_memberships failed: NT_STATUS_UNSUCCESSFUL
[2009/04/16 13:39:27, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/04/16 13:39:27, 10] auth/auth_util.c:make_new_server_info_guest(1560)
create_local_token failed: NT_STATUS_NO_SUCH_USER
[2009/04/16 13:39:27, 0] smbd/server.c:main(1059)
ERROR: failed to setup guest info.