Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
SAMBA CLUSTER PUNJAB GOVT IFMS-IWDMS PROJECT
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Samba's smb.conf == Including all the relevant settings, our final smb.conf will look as follows. The cluster has been configured with 'clustering=yes'. Nitrobit has been configured to use this following directory: /mnt/gfs2/samba/nitrobit <nowiki>[global] </nowiki> workgroup = PUNJABGOVT netbios name = PUNJABGOVT1 hosts allow = 127.0.0.1 192.168.10.0/24 192.168.20.0/24 192.168.70.0/24 security = user passdb backend = ldapsam:"ldap://ldap1.pbifmsiwdms.pjb ldap://ldap2.pbifmsiwdms.pjb" ldap admin dn = cn=Directory manager ldap suffix = dc=pbifmsiwdms,dc=pjb ldap user suffix = ou=People ldap machine suffix = ou=Computers ldap group suffix = ou=Groups ldap passwd sync = yes obey pam restrictions = no passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n <nowiki>*Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . </nowiki> log file = /var/log/samba/%m.log log level = 3 max log size = 1000 syslog only = no socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 os level = 65 domain logons = yes domain master = yes local master = yes preferred master = yes wins proxy = yes wins support = yes logon home = \\%L\%U logon path = \\%L\%U\profile logon drive = H: template shell = /bin/false name resolve order = wins lmhosts hosts bcast encrypt passwords = yes logon script = logon.cmd add user script = /usr/sbin/adduser %u add machine script = /usr/sbin/smbldap-useradd -W %u lm announce = yes pam password change = yes enable privileges = yes <nowiki>;server string = PunjabGovt </nowiki> dns proxy = no winbind enum groups = No winbind trusted domains only = yes winbind use default domain = no map untrusted to domain = Yes map to guest = bad user username map = /etc/samba/smbusers clustering = yes client lanman auth = Yes add group script = /usr/sbin/smbldap-groupadd -p "%g" delete group script = /usr/sbin/smbldap-groupdel "%g" add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g" admin users = root <nowiki>[netlogon] </nowiki> path = /mnt/gfs2/samba/netlogon read only = yes browsable = no guest ok = yes <nowiki>[profiles] </nowiki> path = /mnt/gfs2/samba/profiles read only = no create mask = 0600 directory mask = 0700 <nowiki>[homes] </nowiki> browsable = no writable = yes path = /mnt/gfs2/share/%u <nowiki>[nitrobit] </nowiki> path = /mnt/gfs2/samba/nitrobit read only = no public = yes browsable = yes writable = yes guest ok = yes <nowiki>[csmb] </nowiki> comment = Clustered Samba public = yes path = /mnt/gfs2/share writeable = yes ea support = yes Finally start the Samba service: <nowiki># service ctdb start; chkconfig ctdb on</nowiki>
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)