From: "Дмитриев М.Н." <dmitriev.msc@mtu-net.ru> To: Mihail Maximov <community@altlinux.ru> Subject: Re[2]: [Comm] ALT Junior и сеть с ВЫНЬ машинами. Date: Thu, 7 Aug 2003 15:50:51 +0400 Message-ID: <7020191073.20030807155051@mtu-net.ru> (raw) In-Reply-To: <200308071346.04998.mihail@souz-spb.ru> Hello Mihail, Thursday, August 7, 2003, 1:46:04 PM, you wrote: MM> smb.conf - в студию Вот он родимый: #======================= Global Settings ===================================== [global] # 1. Server Naming Options: workgroup = ALTDOMAIN ; netbios name = <name_of_this_server> server string = Samba server on %h (v. %v) ; message command = /usr/bin/linpopup "%f" "%m" %s; rm %s # 2. Printing Options: printcap name = lpstat load printers = yes printing = cups ; printer admin = @adm # 3. Logging Options: log file = /var/log/samba/log.%m max log size = 50 ; log level = 3 # 4. Security and Domain Membership Options: ; hosts allow = 192.168.1. 192.168.2. 127. ; guest account = pcguest security = user ; password server = <NT-Server-Name> ; password server = * ; password level = 8 ; username level = 8 encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd ; unix password sync = Yes ; passwd program = /usr/bin/passwd %u ; passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n ;*passwd:*all*authentication*tokens*updated*successfully* ; username map = /etc/samba/smbusers ; include = /etc/samba/smb.conf.%m ; winbind uid = 10000-20000 ; winbind gid = 10000-20000 ; winbind separator = + ; winbind use default domain = True ; template homedir = /home/%D/%U ; template shell = /bin/bash # 5. Browser Control and Networking Options: socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 ; interfaces = 192.168.12.2/24 192.168.13.2/24 ; remote browse sync = 192.168.3.25 192.168.5.255 ; remote announce = 192.168.1.255 192.168.2.44 ; local master = no ; os level = 33 ; domain master = yes ; preferred master = yes # 6. Domain Control Options: ; domain logons = yes ; logon script = %m.bat ; logon script = %U.bat ; logon path = \\%L\Profiles\%U ; logon home = \\%L\%U\.profile ; add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine Account' -s /bin/false -M %u ; add user script = /usr/sbin/useradd -s /bin/false %u # Domain groups: ; domain admin group = root @wheel ; domain guest group = nobody @guest # 7. Name Resolution Options: ; name resolve order = wins lmhosts bcast ; wins support = yes ; wins server = w.x.y.z ; wins proxy = yes dns proxy = no # 8. File Naming Options: ; preserve case = no ; short preserve case = no ; default case = lower ; case sensitive = no ; client code page = 866 ; character set = KOI8-R #============================ Share Definitions ============================== [homes] comment = Home Directory for '%u' browseable = yes writable = yes ; [netlogon] ; comment = Network Logon Service ; path = /var/lib/samba/netlogon ; guest ok = yes ; writable = no ;root preexec = /usr/bin/ntlogon -u %U -g %G -o %a -d /var/lib/samba/netlogon ;root postexec = rm -f /var/lib/samba/netlogon/%U.bat ;[Profiles] ; path = /var/lib/samba/profiles ; browseable = no ; guest ok = yes [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = yes writable = no printable = yes create mode = 0700 print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. ; print command = lpr-cups -P %p %s # using cups own drivers (use generic PostScript on clients). ; lpq command = lpq -P %p ; lprm command = cancel %p-%j [print$] path = /var/lib/samba/printers browseable = yes read only = yes write list = @adm root ;[tmp] ; comment = Temporary file space ; path = /tmp ; read only = no ; public = yes ;[public] ; comment = Public Stuff ; path = /home/samba/public ; public = yes ; writable = no ; write list = @staff ;[fredsprn] ; comment = Fred's Printer ; valid users = fred ; path = /homes/fred ; printer = freds_printer ; public = no ; writable = no ; printable = yes ;[fredsdir] ; comment = Fred's Service ; path = /usr/somewhere/private ; valid users = fred ; public = no ; writable = yes ; printable = no ;[pchome] ; comment = PC Directories ; path = /usr/pc/%m ; public = no ; writable = yes [public] path = /mnt/windows public = yes only guest = yes writable = yes printable = no [myshare] comment = Mary's and Fred's stuff path = /mnt/windows ; valid users = mary fred public = yes writable = yes printable = no create mask = 0765 -- Best regards, Дмитриев mailto:dmitriev.msc@mtu-net.ru
next prev parent reply other threads:[~2003-08-07 11:50 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-08-05 12:12 Дмитриев М.Н. 2003-08-07 8:02 ` Maxim.Savrilov 2003-08-07 9:44 ` Re[2]: " Дмитриев М.Н. 2003-08-07 7:31 ` Пирогов Алексей 2003-08-07 9:46 ` Mihail Maximov 2003-08-07 11:50 ` Дмитриев М.Н. [this message] 2003-08-07 12:44 ` Mihail Maximov 2003-08-07 14:44 ` Re[2]: " Дмитриев М.Н. 2003-08-15 8:08 ` Дмитриев М.Н. 2003-08-15 8:20 ` Maxim.Savrilov 2003-08-18 10:40 ` Re[4]: " Дмитриев М.Н. 2003-08-18 11:39 ` Maxim.Savrilov 2003-08-15 8:49 ` [Comm] " Vitaly Ostanin 2003-08-18 10:54 ` Дмитриев М.Н. 2003-08-18 11:21 ` Vitaly Ostanin 2003-08-18 4:19 ` [Comm] " Пирогов Алексей 2003-08-18 10:42 ` Re[2]: " Дмитриев М.Н. 2003-08-07 8:10 ` Leonid B. Sysoletin 2003-08-07 8:37 ` Oleg K. Artemjev 2003-08-07 9:41 ` Re[2]: " Дмитриев М.Н. 2003-08-07 8:44 ` Дмитриев М.Н. 2003-08-07 8:51 ` Leonid B. Sysoletin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=7020191073.20030807155051@mtu-net.ru \ --to=dmitriev.msc@mtu-net.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git