Hot answers tagged samba
The container will exit without any comment, unless you increase the debug level. You can use something like --debuglevel=4. Once you do that, rebuilt and restart the container you will should get something at the end like: Server exit (EOF on stdin) And that points to the solution, change the smbd invocation to: exec ionice -c 3 smbd -FS < /dev/null ...
You shouldn't do that. There're plenty system calls that creates temp files and directories in /tmp, including: Function: FILE * tmpfile (void) Function: FILE * tmpfile64 (void) Function: char * tmpnam (char *result) Function: char * tmpnam_r (char *result) Macro: int L_tmpnam Macro: int TMP_MAX Function: char * tempnam (const char *dir, ...
Short version: The client machine is using MS Windows with "Windows Defender" enabled. The scan process is responsible for that logfile spamming... Verify: Check day and time on the client to run "Windows Defender" scan, compare with your SAMBA logs.
If LVM snapshots are not working for you, then you need to look into periodic (and possibly frequent backups), written to a location where malware does not have write-access. Then you would only have the LVM snapshot active long enough to take the backup. Whether that means using Duplicity or borg-backup or rsync or rdiff-backup or rsnapshot, writing to an ...
this would be consistent with unsuccessful authentication attempt? # This option controls how unsuccessful authentication attempts are mapped # to anonymous connections map to guest = bad user please post logfile showing your authentication succeeding or otherwise
Depending on the setup of the machines in question, you may be able to use rpcclient as the anonymous user: rpcclient -U "" -N -c enumprinters YOURMACHINE Note that this may not work for Windows machines with the default group policy, but should work for most Samba setups.
If you create the printer, either through the web ui or via lpadmin with a URL with the special characters % encoded like this: lpadmin -p fake -v smb://bob:pass%20word@rice/BLAH -P /tmp/foo.ppd then the password will be stored in the /etc/cups/printers.conf file (which is readable only by root) and will not be displayed in the web UI. Be careful though ...
Andrew Bartlett from Catalyst IT gave me the hint to install "winbind". You don't have to use nss_winbind or pam_winbind. Just running winbindd is enough. Of course, this is not a real fix, but it worked for me on two machines and I don't have to downgrade to u7. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820981 for details.
Edit /etc/samba/smb.conf, in [global] section, change the following configurations: netbios name = Debian server string = Debian
Only top voted, non community-wiki answers of a minimum length are eligible