Hot answers tagged samba
You're using a remote filesystem. If the server doesn't want you to delete a file, you won't be able to delete the file. The local root user is not necessarily all-powerful on the remote machine. There is presumably an access control list on the Windows machine that causes the file to be read-only or non-deletable through remote accesses.
smbpasswd can do several things, and one of its main purpose is to let an user change his password (even he's working on a remote client machine). For instance, on a workstation, a client can type this to change his password: smbpasswd -r pdc.mydomain.com -r needs the PDC DNS name, and one may also use -U in case the SMB login name is different from the ...
Only top voted, non community-wiki answers of a minimum length are eligible