Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@maknas:~# smbcontrol all reload-config
- ERROR: invalid DOS charset: 'dos charset' must not be UTF8, using (default value) CP850 instead.
- Unknown parameter encountered: "display charset"
- Ignoring unknown parameter "display charset"
- root@maknas:~# grep -iE '^;|^\#' /etc/samba/smb.conf
- # This is the main Samba configuration file. You should read the
- # smb.conf(5) manual page in order to understand the options listed
- # here. Samba has a huge number of configurable options (perhaps too
- # many!) most of which are not shown in this example
- #
- # Any line which starts with a ; (semi-colon) or a # (hash)
- # is a comment and is ignored. In this example we will use a #
- # for commentry and a ; for parts of the config file that you
- # may wish to enable
- #
- # NOTE: Whenever you modify this file you should run the command "testparm"
- # to check that you have not made any basic syntactic errors.
- #
- #======================= Global Settings =====================================
- ; netbios name = maknas
- ; smb passwd file = /etc/samba/smbpasswd
- ; socket options = tcp_nodelay
- # 8. File Naming Options:
- # Case Preservation can be handy - system default is _no_
- # NOTE: These can be set on a per share basis
- # preserve case = no
- # short preserve case = no
- # Default case is normally upper case for all DOS files
- # default case = lower
- # Be very careful with case sensitivity - it can break things!
- # case sensitive = no
- # Enabling internationalization:
- # you can match a Windows code page with a UNIX character set.
- # Windows: 437 (US), 737 (GREEK), 850 (Latin1 - Western European),
- # 852 (Eastern Eu.), 861 (Icelandic), 932 (Cyrillic - Russian),
- # 936 (Japanese - Shift-JIS), 936 (Simpl. Chinese), 949 (Korean Hangul),
- # 950 (Trad. Chin.).
- # UNIX: ISO8859-1 (Western European), ISO8859-2 (Eastern Eu.),
- # ISO8859-5 (Russian Cyrillic), KOI8-R (Alt-Russ. Cyril.)
- # This is an example for french users:
- ; unix charset = UTF-8
- #============================ Share Definitions ==============================
- # You can enable VFS recycle bin and on-access virus-scanning on a per
- # share basis:
- # Uncomment the next 2 lines (make sure you create a .recycle folder in
- # the base of the share and ensure all users will have write access to it.
- # For virus scanning, install samba-vscan-clamav and ensure the clamd service
- # is running
- # vfs objects = vscan-clamav recycle
- # vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
- # Un-comment the following and create the netlogon directory for Domain Logons
- # [netlogon]
- # comment = Network Logon Service
- # path = /var/lib/samba/netlogon
- # guest ok = yes
- # writable = no
- #Uncomment the following 2 lines if you would like your login scriptsПароль: # they have written to the files
- # vfs objects = fake_perms
- # NOTE: If you have a CUPS print system there is no need to
- # specifically define each individual printer.
- # You must configure the samba printers with the appropriate Windows
- # drivers on your Windows clients or upload the printer driver to the
- # server from Windows (NT/2000/XP). On the Samba server no filtering is
- # done. If you wish that the server provides the driver and the clients
- # send PostScript ("Generic PostScript Printer" under Windows), you have
- # to use 'printcap name = cups' or swap the 'print command' line below
- # with the commented one. Note that print commands only work if not using
- # 'printing=cups'
- ; wr
- itable = No
- # This share is used for Windows NT-style point-and-print support.
- # To be able to install drivers, you need to be either root, or listed
- # in the printer admin parameter above. Note that you also need write access
- # to the directory and share definition to be able to upload the drivers.
- # For more information on this, please see the Printing Support Section of
- # /usr/share/doc/samba-<version>/docs/Samba-HOWTO-Collection.pdf
- #
- # A special case is using the CUPS Windows Postscript driver, which allows
- # all features available via CUPS on the client, by publishing the ppd file
- # and the cups driver by using the 'cupsaddsmb' tool. This requires the
- # installation of the CUPS driver (http://www.cups.org/windows.php)
- # on the server, but doesn't require you to use Windows at all :-).
- #[print$]
- # path = /var/lib/samba/printers
- #; browseable = yes
- # write list = @adm root
- # guest ok = yes
- # inherit permissions = yes
- # Settings suitable for Winbind:
- # write list = @"Domain Admins" root
- # force group = +@"Domain Admins"
- # A useful application of samba is to make a PDF-generation service
- # To streamline this, install windows postscript drivers (preferably colour)
- # on the samba server, so that clients can automatically install them.
- # Note that this only works if 'printing' is *not* set to 'cups'
- #[pdf-gen]
- # path = /var/tmp
- #; guest ok = no
- # printable = Yes
- # comment = PDF Generator (only valid users)
- # printing = bsd
- # #prinroott command = /usr/share/samba/scripts/print-pdf file path win_path recipient IP &
- # print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" " %m" "%I" "%J" &
- # lpq command = /bin/true
- ; browseable = yes
- ; browseable = yes
- ; browseable = yes
- ; browseable = yes
- ; browseable = yes
- ; browseable = yes
- ; browseable = yes
- #[Drivers]
- # path = /mnt/160GB/Drivers
- # comment = shara
- #; browseable = yes
- # guest ok = yes
- # writeable = no
- #[soft]
- # path = /mnt/160GB/soft
- # comment = shara
- #; browseable = yes
- # guest ok = yes
- # writeable = no
- #[DRP]
- # path = /media/cdrom0
- # comment = cdrom-virt
- # browseable = yes
- Неверное имя пользователя
- # guest ok = yes
- # writable = no
- root@maknas:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement