http://bugzilla.opensuse.org/show_bug.cgi?id=902302 Bug ID: 902302 Summary: "yast2 samba-client winbind enable" changes workgroup to realm Classification: openSUSE Product: openSUSE Factory Version: NO 13.2 BUGS!! Hardware: Other OS: Linux Status: NEW Severity: Major Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: luizluca@tre-sc.jus.br QA Contact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.104 Safari/537.36 Build Identifier: yast2-samba-client-3.1.13-1.2.noarch Hello, My smb.conf in OpenSuSE 13.2 become invalid when I runned "yast2 samba-client winbind enable". It added full domain path (instead of only domain name). Also, it replaced my "idmap config" settings to deprecated format. --- /usr/share/tresc-samba/etc/samba/smb.conf.tresc 2014-10-22 16:39:51.000000000 -0200 +++ /etc/samba/smb.conf 2014-10-22 17:50:44.327370388 -0200 @@ -3,14 +3,12 @@ # [global] include = /etc/samba/dhcp.conf - workgroup = MYCOMP + workgroup = MYCOMP.ORG realm = MYCOMP.ORG security = ADS winbind use default domain = yes kerberos method = secrets and keytab passdb backend = tdbsam - idmap config * : range = 10000-20000 - idmap config * : backend = tdb template shell = /bin/bash winbind offline logon = yes winbind refresh tickets = yes @@ -25,6 +23,9 @@ disable spoolss = Yes show add printer wizard = No client ldap sasl wrapping = sign + idmap gid = 10000-20000 + idmap uid = 10000-20000 + template homedir = /home/%D/%U [homes] comment = Home Directories # testparm Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Can't find include file /etc/samba/dhcp.conf WARNING: The "idmap gid" option is deprecated WARNING: The "idmap uid" option is deprecated Processing section "[homes]" And this is my full smb.conf before yast: [global] include = /etc/samba/dhcp.conf workgroup = MYCOMP realm = MYCOMP.ORG security = ADS winbind use default domain = yes kerberos method = secrets and keytab passdb backend = tdbsam idmap config * : range = 10000-20000 idmap config * : backend = tdb template shell = /bin/bash winbind offline logon = yes winbind refresh tickets = yes domain master = No domain logons = No # Acessos a compartilhamentos map to guest = Bad User usershare allow guests = No # Desabilita impressoras locais compartilhadas por SMB load printers = no printcap name = /dev/null disable spoolss = Yes show add printer wizard = No client ldap sasl wrapping = sign [homes] comment = Home Directories valid users = %S, %D%w%S browseable = No read only = No inherit acls = Yes [users] comment = All users path = /home read only = No inherit acls = Yes veto files = /aquota.user/groups/shares/ [groups] comment = All groups path = /home/groups read only = No inherit acls = Yes Reproducible: Always Steps to Reproduce: 1.create smb.conf as shown 2.run yast2 samba-client winbind enable Actual Results: 3.invalid config (workgroup) and deprecated options (idmap uid/gid) Expected Results: 4.nothing needs to change in smb.conf Just to show the result: # net ads join -U join Enter join's password: Failed to join domain: Invalid configuration ("workgroup" set to 'REDETRESC.TRE-SC.GOV.BR', should be 'REDETRESC') and configuration modification was not requested -- You are receiving this mail because: You are on the CC list for the bug.