My first install of openSUSE so forgive me if I have missed something obvious.
Summary of what I have done so far below:
[ul]
[li]fresh install of openSUSE 12.1 + ‘File Server’ software installed + others
[/li][li]Network services -> Swat: enabled
[/li][li]Services enabled:
[/li][LIST]
[li][]nmb
[/li][li][]smb
[/li][li][]xinitd
[/li][li][]cifs (smbfs not present appears to have been replaced by cifs)
[/li][li]
[/li][/ul]
[li]Network services -> Samba Server
[/li][ul]
[li][]start-up: during boot
[/li][li][]Identity - configure workgroup & NetBIOS hostname
[/li][li][]Firewall - allow services
[/li][LIST]
[li][][]Samba server
[/li][li][][]Samba client
[/li][li][][*]NetBIOS Server
[/li][/ul]
[/LIST]
[/LIST]
Problem is when I try and save the Samba Server configuration I get the error: ‘unable to find a suitable server for domain <domainname>’
Didn’t know I had, mind you I have been clicking around and looking so might have inadvertantly done something I shouldn’t have. Where do I find the option to stop samba being a PDC?
Only remaining issue is that I had to setup the user in Samba with:
smbpasswd -a <username>
which is ok for testing but not suitable for lots of users.
Is there some way to get Samba to use the Windows ACLs to authenticate connections?
Looks like I was a little previous when I said all working now, it’s not today.
smb.conf replaced with the one from swerdna, systemd-sysvinit now replaced with sysvinit-init, Samber server config edited again from Yast, server rebooted.
Attempt to diagnose the problem using the small amount of experience I have on this subject but problem is findsmb returns:
dhcppc5:/home/nick # findsmb
Scalar value @t1[3] better written as $t1[3] at /usr/bin/findsmb line 45.
Scalar value @t2[3] better written as $t2[3] at /usr/bin/findsmb line 45.
Scalar value @name[0] better written as $name[0] at /usr/bin/findsmb line 79.
Scalar value @info[0] better written as $info[0] at /usr/bin/findsmb line 114.
Scalar value @name[0] better written as $name[0] at /usr/bin/findsmb line 122.
Use of uninitialized value $_ in pattern match (m//) at /usr/bin/findsmb line 27.
Use of uninitialized value $_ in pattern match (m//) at /usr/bin/findsmb line 29.
Use of uninitialized value $_ in pattern match (m//) at /usr/bin/findsmb line 27.
Use of uninitialized value $_ in pattern match (m//) at /usr/bin/findsmb line 29.
Use of uninitialized value $BCAST in concatenation (.) or string at /usr/bin/findsmb line 51.
*=DMB
+=LMB
Use of uninitialized value $BCAST in concatenation (.) or string at /usr/bin/findsmb line 62, <NMBLOOKUP> line 2.
I just had this happen to me on 13.1. It seems that I had selected “Windows Domain Membership” in YaST and it populated the domain = line in smb.conf I confirmed that by running it twice and removing it from smb.conf.
I hope this helps. It took me a while to figure this out:)