[Samba] Console client bug

Rowland Penny rpenny at samba.org
Sat Mar 4 15:42:44 UTC 2023



On 04/03/2023 13:08, belaz--- via samba wrote:
> I've deleted actual samba service, but not other packages, so it still shows something:


What do you mean 'deleted actual samba service', do you mean that Samba 
isn't running ?

> 
> Load smb config files from /etc/samba/smb.conf
> Loaded services file OK.
> Weak crypto is allowed
> Server role: ROLE_STANDALONE
> 
> # Global parameters
> [global]
>          log file = /var/log/samba/log.%m
>          logging = file
>          map to guest = Bad User
>          max log size = 1000
>          obey pam restrictions = Yes
>          pam password change = Yes
>          panic action = /usr/share/samba/panic-action %d
>          passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
>          passwd program = /usr/bin/passwd %u
>          server role = standalone server
>          unix password sync = Yes
>          usershare allow guests = Yes
>          idmap config * : backend = tdb
> 
> 
> [homes]
>          browseable = No
>          comment = Home Directories
>          create mask = 0700
>          directory mask = 0700
>          valid users = %S
> 
> 
> [printers]
>          browseable = No
>          comment = All Printers
>          create mask = 0700
>          path = /var/spool/samba
>          printable = Yes
> 
> 
> [share]
>          comment = Files to share
>          path = "/home/me/Desktop/Share"
> 
> 
> [print$]
>          comment = Printer Drivers
>          path = /var/lib/samba/printers

OK, I created a standalone server in a VM using your smb.conf and I 
cannot stop it working.

> And by the way, in the beginning it didn't even create the log folder and file. The file appeared only when I created the folder manually.

The log file got created during my tests, was the smbd daemon running 
when you tried ?

Rowland





More information about the samba mailing list