Форум русскоязычного сообщества Ubuntu


Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?
Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!

Автор Тема: Все про Samba, проблема не решаеться  (Прочитано 3764 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн gelik

  • Автор темы
  • Новичок
  • *
  • Сообщений: 34
    • Просмотр профиля
Все про Samba, проблема не решаеться
« : 26 Января 2010, 20:51:21 »
Все про Samba, проблема не решаеться и читал сдесь на форуме хоть убей не получается. А конкретно читал http://novikovmaxim.livejournal.com/99654.html. Только один момент смушает я не могу найти подраздел Misc. И еще когда нажимаю правой кнопкой мышки не могу поставить галочку напротив "Гостевой доступ". Вот мой smb.conf
[global]
   netbios name = Samba24
   server string = Samba file and print server
   workgroup = Workgroup
   security = user
   hosts allow = 127. 192.168.0.
   interfaces = 127.0.0.1/8 192.168.0.0/24
   bind interfaces only = yes
   remote announce = 192.168.0.255
   remote browse sync = 192.168.0.255
   printcap name = cups
;   load printers = yes
   cups options = raw
;   printing = cups
   guest account = smbguest
   log file = /var/log/samba/samba.log
   max log size = 1000
;   null passwords = no
   username level = 6
   password level = 6
;   encrypt passwords = yes
   unix password sync = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   local master = no
   domain master = no
;   preferred master = no
;   domain logons = no
   os level = 33
   logon drive = m:
   logon home = \\%L\homes\%u
   logon path = \\%L\profiles\%u
   logon script = %G.bat
;   time server = no
   name resolve order = wins lmhosts bcast
;   wins support = no
;   wins proxy = no
   dns proxy = no
;   preserve case = yes
;   short preserve case = yes
   client use spnego = no
   client signing = no
   client schannel = no
;   server signing = no
   server schannel = no
;   nt pipe support = yes
;   nt status support = yes
   allow trusted domains = no
   obey pam restrictions = yes
   enable spoolss = yes
;   client plaintext auth = no
;   disable netbios = no
   follow symlinks = no
   update encrypted = yes
;   pam password change = no
   passwd chat timeout = 120
;   hostname lookups = no
   usershare owner only = False
   username map = /etc/samba/smbusers
;   smb passwd file = /etc/samba/smbpasswd
   passwd program = /usr/bin/passwd '%u'
   passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
   add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
   add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
   add group script = /usr/sbin/groupadd '%g'
   delete user script = /usr/sbin/userdel '%u'
   delete user from group script = /usr/sbin/userdel '%u' '%g'
   delete group script = /usr/sbin/groupdel '%g'
   add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
   machine password timeout = 120
   idmap uid = 16777216-33554431
   idmap gid = 16777216-33554431
   template shell = /dev/null
   winbind use default domain = yes
   winbind separator = @
   winbind cache time = 360
   winbind trusted domains only = yes
   winbind nested groups = no
   winbind nss info = no
;   winbind refresh tickets = no
;   winbind offline logon = no

[homes]
   comment = Home Directories
   path = /home
   read only = no
;   available = yes
;   browseable = yes
   guest ok = yes
;   printable = no
   share modes = no
   locking = no

[netlogon]
   comment = Network Logon Service
   path = /home/netlogon
   read only = no
;   available = yes
;   browseable = yes
;   guest ok = no
;   printable = no
   share modes = no
   locking = no

[profiles]
   comment = User Profiles
   path = /var/samba/profiles
   read only = no
;   available = yes
   browseable = no
;   guest ok = no
;   printable = no
   locking = no
   create mode = 0600
   directory mask = 0700

Оффлайн AnrDaemon

  • Заслуженный пользователь
  • Старожил
  • *
  • Сообщений: 28511
    • Просмотр профиля
Re: Все про Samba, проблема не решаеться
« Ответ #1 : 26 Января 2010, 21:07:01 »
testparm приведи...
Хотите получить помощь? Потрудитесь представить запрошенную информацию в полном объёме.

Прежде чем [Отправить], нажми [Просмотр] и прочти собственное сообщение. Сам-то понял, что написал?…

Оффлайн gelik

  • Автор темы
  • Новичок
  • *
  • Сообщений: 34
    • Просмотр профиля
Re: Все про Samba, проблема не решаеться
« Ответ #2 : 26 Января 2010, 21:21:06 »
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
WARNING: The "share modes" option is deprecated
Processing section "[netlogon]"
WARNING: The "share modes" option is deprecated
Processing section "[profiles]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
   netbios name = SAMBA24
   server string = Samba file and print server
   interfaces = 127.0.0.1/8, 192.168.0.0/24
   bind interfaces only = Yes
   update encrypted = Yes
   client schannel = No
   server schannel = No
   allow trusted domains = No
   obey pam restrictions = Yes
   guest account = smbguest
   passwd program = /usr/bin/passwd '%u'
   passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
   passwd chat timeout = 120
   username map = /etc/samba/smbusers
   password level = 6
   username level = 6
   unix password sync = Yes
   log file = /var/log/samba/samba.log
   max log size = 1000
   name resolve order = wins lmhosts bcast
   client signing = No
   client use spnego = No
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   printcap name = cups
   machine password timeout = 120
   add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
   delete user script = /usr/sbin/userdel '%u'
   add group script = /usr/sbin/groupadd '%g'
   delete group script = /usr/sbin/groupdel '%g'
   add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
   delete user from group script = /usr/sbin/userdel '%u' '%g'
   add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
   logon script = %G.bat
   logon path = \\%L\profiles\%u
   logon drive = m:
   logon home = \\%L\homes\%u
   os level = 33
   local master = No
   domain master = No
   dns proxy = No
   remote announce = 192.168.0.255
   remote browse sync = 192.168.0.255
   usershare owner only = No
   idmap uid = 16777216-33554431
   idmap gid = 16777216-33554431
   template shell = /dev/null
   winbind separator = @
   winbind cache time = 360
   winbind use default domain = Yes
   winbind trusted domains only = Yes
   winbind nested groups = No
   winbind nss info = no
   hosts allow = 127., 192.168.0.
   cups options = raw
   follow symlinks = No

[homes]
   comment = Home Directories
   path = /home
   read only = No
   guest ok = Yes
   locking = No
   share modes = No

[netlogon]
   comment = Network Logon Service
   path = /home/netlogon
   read only = No
   locking = No
   share modes = No

[profiles]
   comment = User Profiles
   path = /var/samba/profiles
   read only = No
   create mask = 0600
   directory mask = 0700
   browseable = No
   browsable = No
   locking = No

 

Страница сгенерирована за 0.019 секунд. Запросов: 20.