daily pastebin goal
37%
SHARE
TWEET

Untitled

a guest Sep 9th, 2012 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [global]
  2.         workgroup = OURREALWORKGROUP
  3.         interfaces = 127.0.0.1 eth0
  4.         bind interfaces only = true
  5. ## start logon/profiles
  6.         # logon path sets the Windows XP environment variable %USERPROFILE% that pervades the Windows registry.
  7.         #logon path = \\%L\profiles\.msprofile
  8.         #logon home = \\%L\%U\.9xprofile
  9.         # logon home is for 9x/NT and no use / especially under XP
  10.         # Except that CMD prompts defaults path to it
  11.         #logon home = \\%L\profiles\%u
  12.         logon path = \\svrusers\profiles\%u
  13.         logon home = \\svrusers\profiles\%u
  14.         logon script = %g.bat
  15.         #logon script = scripts\admin.bat
  16.         # logon drive : only NT (?)
  17.         logon drive = Z:
  18. ## end logon/profiles
  19. ## start disable printing
  20.         load printers = no
  21.         printing = bsd
  22.         printcap name = /dev/null
  23.         disable spoolss = Yes
  24.         #printing = cups
  25.         #printcap name = cups
  26.         #printcap cache time = 750
  27.         #cups options = raw
  28. ## end disable printing
  29.         map to guest = Bad User
  30.         include = /etc/samba/dhcp.conf
  31. #??#    usershare allow guests = Yes
  32. # Vista start
  33.         map acl inherit = yes
  34. # Vista end
  35. ## start PDC config
  36.         domain logons = Yes
  37.         domain master = Yes
  38.         local master = Yes
  39.         os level = 65
  40.         preferred master = Yes
  41.         security = user
  42.         wins support = Yes
  43. ## end PDC config
  44.         #add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s /bin/false %m$
  45.         add machine script = /var/lib/samba/script_create_pc.sh %m
  46.         ##should maybe be change to
  47.         #add machine script = /root/scripts/script_create_pc.sh %m
  48. #from old server :
  49.         remote announce = 172.16.1.255/ourrealworkgroup
  50. ## LDAP START
  51.         #passdb backend = smbpasswd
  52.         #new#passdb backend = ldapsam:ldap://172.16.1.232
  53.         #new#ldap admin dn
  54.         ldap suffix =
  55. ## LDAP END
  56. [netlogon]
  57.         comment = Network Logon Service
  58.         path = /var/lib/samba/netlogon
  59.         write list = root
  60. [profiles.V2]
  61.         comment = Network Profiles Service
  62.         path = /data3/data/shares/profiles/
  63.         profile acls = Yes
  64.         csc policy = disable
  65.         hide files = /desktop.ini/
  66.     browseable = No
  67.         writeable = Yes
  68.         read only = No
  69.         store dos attributes = Yes
  70.         create mask = 0600
  71.         directory mask = 0700
  72. [profiles]
  73.         comment = Network Profiles Service
  74.         path = /data3/data/shares/profiles/
  75.         profile acls = Yes
  76.         csc policy = disable
  77.         hide files = /desktop.ini/Thumbs.db/
  78.         browseable = No
  79.         writeable = Yes
  80.         read only = No
  81.         store dos attributes = Yes
  82.         create mask = 0600
  83.         directory mask = 0700
  84. [outlook]
  85.         comment = Archives Outlook %u
  86.         path = /data3/data/shares/outlook/%u
  87.         browseable = Yes
  88.         ;nomore?;readable = Yes
  89.         writeable = Yes
  90.         create mask = 0600
  91.         directory mask = 0700
  92.         hide files = /desktop.ini/
  93. [personnel]
  94.         comment = Dossier personnel %u
  95.         path = /data3/data/shares/private/%u
  96.         browseable = Yes
  97.         ;nomore?;readable = Yes
  98.         writeable = Yes
  99.         create mask = 0600
  100.         directory mask = 0700
  101.         hide files = /desktop.ini/
  102. #??#    inherit acls = Yes
  103. #??#    veto files = /aquota.user/groups/shares/
  104. [commun]
  105.         comment = Repertoire entreprise
  106.         path = /data/shares/commun
  107.         browseable = Yes
  108.         ;nomore?;readable = Yes
  109.         writeable = Yes
  110.         users = @ouremployees
  111.         create mask = 0664
  112.         directory mask = 0775
  113.         hide files = /desktop.ini/
  114. [echanges]
  115.         comment = Repertoire temporaire pour echanges
  116.         path = /data/shares/temporaire
  117.         browseable = Yes
  118.         writeable = Yes
  119.         users = @ouremployees
  120.         create mask = 0640
  121.         directory mask = 0750
  122.         hide files = /desktop.ini/
  123. [twixtel]
  124.         comment = Repertoire programme Twixtel
  125.         path = /data/shares/twixtel
  126.         browseable = No
  127.         writeable = Yes
  128.         create mask = 0644
  129.         directory mask = 0755
  130. ;ouremployees, but not basicusers, and changed folder rights :        create mask = 0640
  131. ;ouremployees, but not basicusers, and changed folder rights :        directory mask = 0750
  132.         hide files = /desktop.ini/
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top