[clug] NT 2000 x SAMBA

HENRIQUE BIERWAGEN henriquebierwagen at yahoo.com
Tue Jun 24 00:01:03 EST 2003


Sorry, the smb.conf was deleted by clug....

thanks

------------------------------------------------------

[global] 
 
   workgroup = MDKGROUP 
 
 
;  netbios name = <name_of_this_server> 
 
 
   server string = Samba Server %v 
 
 
; message command = /usr/bin/linpopup "%f" "%m" %s; rm
%s 
 
 
   printcap name = cups 
   load printers = yes 
 
 
   printing = cups 
 
 
   printer admin = @adm 
 
;   printer admin = @"Domain Admins" 
 
 
   log file = /var/log/samba/log.%m 
 
 
   max log size = 50 
 
 
; log level = 3 
 
 
;   hosts allow = 192.168.1. 192.168.2. 127. 
 
 
;  guest account = pcguest 
 
  map to guest = bad user 
 
 
   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 
 
;  pam password change = 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 = yes 
 
;  template homedir = /home/%D/%U 
 
 
;  obey pam restrictions = yes 
 
 
;  template shell = /bin/bash 
 
 
   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 
 
 
;   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/share/samba/scripts/smbldap-useradd.pl -w -d
/dev/null -g machines -c 'Machine Account' -s
/bin/false %u 
 
; add user script = /usr/sbin/useradd -s /bin/false %u

 
 
; domain admin group = root @adm 
 
; domain guest group = nobody @guest 
 
 
; ldap admin dn = cn=root,dc=mydomain,dc=com 
; ldap ssl = start_tls 
 
; ldap port = 389 
; ldap suffix = dc=mydomain,dc=com 
; ldap server = ldap.mydomain.com 
 
 
 
; name resolve order = wins lmhosts bcast 
 
 
;   wins support = yes 
 
 
;   wins server = w.x.y.z 
 
 
;   wins proxy = yes 
 
 
   dns proxy = no  
 
 
;  preserve case = no 
;  short preserve case = no 
 
;  default case = lower 
 
;  case sensitive = no 
 
 
;   client code page = 850 
;   character set = ISO8859-1 
 
 
 
[homes] 
   comment = Home Directories 
   browseable = no 
   writable = yes 
 
;   vfs object = /usr/lib/samba/vfs/recycle.so 
;   vfs options= /etc/samba/recycle.conf 
 
;   veto files =
/*.eml/*.nws/*.dll/*.mp3/*.MP3/*.mpg/*.MPG/*.vbs/*.VBS/

 
 
; [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 
;    writable = yes 
 
;    root preexec =
PROFILE=/var/lib/samba/profiles/%u; if [ ! -e $PROFILE
]; \ 
;    then mkdir -pm700 $PROFILE; chown %u.%g
$PROFILE;fi 
 
 
 
[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 -r # 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 
   guest ok = yes 
 
 
 
[pdf-generator] 
   path = /var/tmp 
   guest ok = No 
   printable = Yes 
   comment = PDF Generator (only valid users) 
   #print command = /usr/share/samba/scripts/print-pdf
file path win_path recipient IP doc_name & 
   print command = /usr/share/samba/scripts/print-pdf
%s ~%u //%L/%u %m %I "%J" & 
 
 
;[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 
 
;   vfs object = /usr/lib/samba/vfs/audit.so 
 
 
;[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 = /usr/somewhere/else/public 
;   public = yes 
;   only guest = yes 
;   writable = yes 
;   printable = no 
 
 
;[myshare] 
;   comment = Mary's and Fred's stuff 
;   path = /usr/somewhere/shared 
;   valid users = mary fred 
;   public = no 
;   writable = yes 
;   printable = no 
;   create mask = 0765 


=====

 HENRIQUE BIERWAGEN  ICQ# 151033696 - 19 96113086 - 19 32491186 

 Eletrical Engineering Undergraduating Student - Unicamp 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



More information about the linux mailing list