Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!
0 Пользователей и 1 Гость просматривают эту тему.
#======================= Global Settings =======================[global]workgroup = WORKGROUPserver string = Samba Ubuntu#interfaces = eth0 192.168.0.1wins server = w.x.y.zlog file = /var/log/samba/%m.log#max log size = 50#map to guest = Bad User dns proxy = no#security = usernetbios name = SERVER os level = 255wins support = nohosts allow = 192.168.0.0/8#### Networking ######## Debugging/Accounting ####log file = /var/log/samba/log.%mmax log size = 50syslog only = nosyslog = 0panic action = /usr/share/samba/panic-action %d####### Authentication #######server role = standalone server passdb backend = tdbsam obey pam restrictions = yes unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .guest ok = yes pam password change = yes map to guest = bad user########## Domains ########### logon path = \\%N\profiles\%U# logon path = \\%N\%U\profile logon drive = H:# logon home = \\%N\%U; logon script = logon.cmd add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u add group script = /usr/sbin/addgroup --force-badname %g############ Misc ############; include = /home/samba/etc/smb.conf.%m; idmap uid = 10000-20000; idmap gid = 10000-20000; template shell = /bin/bash; usershare max shares = 100 usershare allow guests = yes#======================= Share Definitions =======================[homes]comment = Home Directoriesbrowseable = noread only = yescreate mask = 0700directory mask = 0700valid users = %Sguest ok = yesread only = no[netlogon] comment = Network Logon Service path = /home/samba/netlogon guest ok = yes read only = yes;[profiles]; comment = Users profiles; path = /home/samba/profiles; guest ok = no; browseable = no; create mask = 0600; directory mask = 0700[printers] comment = All Printers browseable = no path = /var/spool/samba printable = yes guest ok = no read only = yes create mask = 0700[print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes guest ok = no; write list = root, @lpadmin[public]comment = Ubuntu File Server path = /srv/pubbrowseable = yesguest ok = yesforce user = meforce group = WORKGROUPread only = nocreate mask = 0777
force group = WORKGROUP
Страница сгенерирована за 0.018 секунд. Запросов: 21.