samba stopped working after FC4 upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I did an upgrade from FC3 to FC4. After the upgrade my client computer stopped being able to access the server files or login to via samba. The message logs are as follows:

from log.client

=========================
[2005/09/17 21:23:54, 3] auth/auth.c:check_ntlm_password(219)
check_ntlm_password: Checking password for unmapped user [myclient]\[user-client]@[myclient] with the new password interface
[2005/09/17 21:23:54, 3] auth/auth.c:check_ntlm_password(222)
 check_ntlm_password:  mapped user is: [server]\[user-client]@[myclient]
[2005/09/17 21:23:54, 3] smbd/sec_ctx.c:push_sec_ctx(256)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/09/17 21:23:54, 3] smbd/uid.c:push_conn_ctx(365)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/09/17 21:23:54, 3] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/09/17 21:23:54, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
 .Unable to open passdb database.
[2005/09/17 21:23:54, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/09/17 21:23:54, 3] auth/auth_sam.c:check_sam_security(257)
 check_sam_security: Couldn't find user 'user-client' in passdb.
[2005/09/17 21:23:54, 2] auth/auth.c:check_ntlm_password(312)
check_ntlm_password: Authentication for user [user-client] -> [user-client] FAILED with error NT_STATUS_NO_SUCH_USER
[2005/09/17 21:23:54, 3] smbd/process.c:timeout_processing(1334)
 timeout_processing: End of file from client (client has disconnected).


from /var/log/messages

Sep 17 21:28:30 myserver kernel: audit(1127006910.225:1850): avc: denied { setattr } for pid=8692 comm="smbd" name="smbpasswd" dev=hda2 ino=82039 scontext=root:system_r:smbd_t tcontext=system_u:object_r:samba_etc_t tclass=file Sep 17 21:28:30 myserver smbd[8692]: [2005/09/17 21:28:30, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279) Sep 17 21:28:30 myserver smbd[8692]: startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
Sep 17 21:28:30 myserver smbd[8692]:   .Unable to open passdb database.

=====================

I suspect that it has something to do with selinux. Howver I am not sure what to do.

Thanks for your help.

Avram


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux