[Samba] Centos samba-3x / samba-3.6.6 - win7 will not join domain

Thomas Simmons twsnnva at gmail.com
Sun Feb 17 16:47:36 MST 2013


Have you made the necessary registry changes on the Win7 workstation (see
link)? If properly configured, Win7 works perfectly fine with current
versions of Samba 3.

https://wiki.samba.org/index.php/Windows7



On Sun, Feb 17, 2013 at 3:40 PM, peter lawrie <
peter.lawrie at glendiscovery.co.uk> wrote:

> Hi
> Some advice needed on samba-3.6.6 for win7
> Since getting my win7 ultimate pc, I've only used my centos server with
> samba for a workgroup connection. Previously I had an XP client on this
> domain.
>
> I've updated today (17 feb 2013) to the latest centos5.9 (Linux
> 2.6.18-348.1.1.el5.centos.plus on i686) which includes samba3x with
> samba-3.6.600.129_el5
> passdb backend has to be tdbsam now for win7, not smbpasswd
> I've tried repeatedly to join the domain without success.
> My win7 ultimate machine supposedly has the ability to join a domain
> Provided I ensure that nmbd as well as smbd is running, it gives the
> username and password login form and then
>
> The following error occurred attempting to join the domain glendisc
> The specified domain either does not exist or could not be contacted
>
> Since getting the win7 PC I have been connecting to workgroup
> 'glendiscovery' by the server IP address, so it has not previously been on
> the domain.
> I deliberately changed the name to glendisc to avoid possible issues.
> I can still connect to my workgroup shares
> I noted that the samba user root had disappeared so I added new user 'root'
> and 'plawrie' and enabled them in swat password.
> That's presumably for the tdbsam database, instead of smbpasswd
> Still no difference.
>
> I have several customers who have introduced win7 machines, so I will have
> to get this working before I try it on their business networks.
>
> For reference here is my smb.conf
>
> [root at centos55 ~]# cat /etc/samba/smb.conf | more
> # Samba config file created using SWAT
> # from UNKNOWN (0.0.0.0)
> # Date: 2013/02/17 19:56:06
>
> [global]
>         workgroup = GLENDISC
>         server string = Samba Server Version %v
>         obey pam restrictions = Yes
>         pam password change = Yes
>         passwd program = /usr/bin/passwd %u
>         unix password sync = Yes
>         log file = /var/log/samba/%m.log
>         max log size = 50
>         time server = Yes
>         socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
> SO_RCVBUF=8192
>         printcap name = cups
>         logon script = scripts\%U.bat
>         logon path =
>         logon drive = z:
>         domain logons = Yes
>         os level = 64
>         domain master = Yes
>         idmap config * : range =
>         idmap config * : backend = tdb
>         cups options = raw
>
> [printers]
>         comment = All Printers
>         path = /var/spool/samba
>         printable = Yes
>         print ok = Yes
>         browseable = No
>
> [company]
>         comment = company share
>         path = /datastore/company
>         valid users = @adm, @users
>         force group = users
>         read only = No
>         create mask = 0775
>         force create mode = 0775
>         directory mask = 0775
>         force directory mode = 0775
>         inherit permissions = Yes
>         use sendfile = Yes
>
> [netlogon]
>         comment = netlogon
>         path = /datastore/netlogon
>         valid users = @adm, @users
>         read only = No
>
> [homes]
>         writeable = yes
>         path = /home/plawrie
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list