SWAT creates duplicate entry in smb.conf
miguel.sanders at arcelormittal.com
miguel.sanders at arcelormittal.com
Fri May 15 19:13:09 GMT 2009
Hi guys
I'm observing something odd (yet harmless) when editing the global options via SWAT in Samba 3.3.4.
This is my smb.conf prior to any change in SWAT.
#
# cat /usr/samba/lib/smb.conf
# Samba config file created using SWAT
# from UNKNOWN (10.226.4.51)
# Date: 2009/05/15 21:06:28
[global]
workgroup = DOSIM000
realm = SIDMAR.BE
server string = AIX Samba %v
security = ADS
guest account = guest
ntlm auth = No
syslog = 3
syslog only = Yes
log file = /var/adm/syslog.out
ldap ssl = no
idmap uid = 1000-2000
idmap gid = 1000-2000
winbind separator = +
[DFSROOT]
path = /GPFS/samba/dfsroot
msdfs root = Yes
[SIDSMIG]
path = /GPFS/home/users/SIDSMIG
valid users = DOSIM000+SIDSMIG
force user = SIDSMIG
force group = staff
read only = No
create mask = 0700
force create mode = 0700
directory mask = 0700
force directory mode = 0700
[TMP]
path = /tmp
read only = No
After hitting "Commit Changes" in the globals section (even without altering any values) the smb.conf now looks like
# cat /usr/samba/lib/smb.conf
# Samba config file created using SWAT
# from UNKNOWN (10.226.4.51)
# Date: 2009/05/15 21:09:28
[global]
workgroup = DOSIM000
realm = SIDMAR.BE
server string = AIX Samba %v
security = ADS
guest account = guest
ntlm auth = No
syslog = 3
syslog only = Yes
log file = /var/adm/syslog.out
ldap ssl = no
idmap uid = 1000-2000
idmap gid = 1000-2000
winbind separator = +
[DFSROOT]
path = /GPFS/samba/dfsroot
msdfs root = Yes
[SIDSMIG]
path = /GPFS/home/users/SIDSMIG
valid users = DOSIM000+SIDSMIG
force user = SIDSMIG
force group = staff
read only = No
create mask = 0700
force create mode = 0700
directory mask = 0700
force directory mode = 0700
[TMP]
path = /tmp
read only = No
[DFSROOT]
path = /GPFS/samba/dfsroot
msdfs root = Yes
The DFSROOT stanza is duplicated…
What about that?
Met vriendelijke groet
Best regards
Bien à vous
Miguel SANDERS
ArcelorMittal Gent
UNIX Systems & Storage
IT Supply Western Europe | John Kennedylaan 51
B-9042 Gent
T +32 9 347 3538 | F +32 9 347 4901 | M +32478 805 023
E miguel.sanders at arcelormittal.com
www.arcelormittal.com/gent
****
This message and any attachment are confidential, intended solely for the use of the individual or entity to whom it is addressed and may be protected by professional secrecy or intellectual property rights.
If you have received it by mistake, or are not the named recipient(s), please immediately notify the sender and delete the message. You are hereby notified that any unauthorized use, copying or dissemination of any or all information contained in this message is prohibited.
Arcelormittal shall not be liable for the message if altered, falsified, or in case of error in the recipient.
This message does not constitute any right or commitment for ArcelorMittal except when expressly agreed otherwise in writing in a separate agreement.
****
More information about the samba-technical
mailing list