Hi, I have installed Samba 3.5.5 on a Sparc Solaris 10 system and it's the PDC of a domain mainly consisting of other Sun boxes. On the other hand, I have a PC with Windows 7 that I don't want to put in the same domain (it's in a workgroup) When I try to connect some share (user's home) from the Windows box, I get strange results : - If the share is on the PDC, I can connect giving Username and Password - If the share is on a member of the domain different from the PDC, connection fails. Configuration for PDC : Load smb config files from /usr/local/samba-3.5.4/lib/smb.conf rlimit_max: rlimit_max (256) below minimum Windows limit (16384) Processing section "[netlogon]" Processing section "[profiles]" Processing section "[print$]" Processing section "[printers]" Processing section "[homes]" Loaded services file OK. Server role: ROLE_DOMAIN_PDC Press enter to see a dump of your service definitions [global] unix charset = iso8859-1 workgroup = DCSD-T interfaces = bge0 map to guest = Bad Password passdb backend = tdbsam:/var/samba-3.5.4/private/passdb.tdb username map = /usr/local/samba-%v/lib/usermap log file = /var/samba-%v/log/samba-%m.log printcap name = /usr/local/samba-3.5.4/lib/printcap disable spoolss = Yes logon path logon drive = Q: logon home = \\%L\%U domain logons = Yes os level = 32 preferred master = Yes domain master = Yes [netlogon] comment = Network Logon Service path = /var/samba-%v/netlogon browseable = No [profiles] comment = Profiles Service path = /var/samba-%v/profiles read only = No create mask = 0600 directory mask = 0700 [print$] comment = Printer Driver Download Area path = /var/samba-%v/drivers write list = root guest ok = Yes [printers] comment = All Printers path = /var/samba-%v/spool create mask = 0700 guest ok = Yes printable = Yes browseable = No [homes] comment = Home Directory read only = No create mask = 0640 directory mask = 0750 browseable = No Configuration for a domain member : Load smb config files from /usr/local/samba-3.5.4/lib/smb.conf rlimit_max: rlimit_max (256) below minimum Windows limit (16384) Processing section "[PC_Softs]" Processing section "[homes]" Loaded services file OK. Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions [global] unix charset = iso8859-1 workgroup = DCSD-T security = DOMAIN passdb backend = tdbsam:/var/samba-%v/private/passdb.tdb log file = /var/samba-%v/log/samba-%m.log load printers = No local master = No [PC_Softs] comment = Logiciels PC path = /local/PC_SOFTS write list = correge guest ok = Yes [homes] comment = Home Directory read only = No create mask = 0640 directory mask = 0750 browseable = No Result of an attempt of connection on the member : [2010/10/05 13:25:47.648076, 2] libsmb/namequery.c:801(name_query) Got a positive name query response from 134.212.240.15 ( 134.212.240.15 ) [2010/10/05 13:25:47.940835, 2] auth/auth.c:314(check_ntlm_password) check_ntlm_password: Authentication for user [admin] -> [admin] FAILED with error NT_STATUS_NO_SUCH_USER [2010/10/05 13:25:55.915986, 2] smbd/sesssetup.c:1390(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2010/10/05 13:25:55.917166, 2] smbd/sesssetup.c:1390(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2010/10/05 13:25:55.939908, 2] auth/auth.c:314(check_ntlm_password) check_ntlm_password: Authentication for user [correge] -> [correge] FAILED with error NT_STATUS_NO_SUCH_USER [2010/10/05 13:26:00.436250, 2] smbd/sesssetup.c:1390(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. Any idea of what is wrong ? Thanks
You are missing "password server=yourpdc" on your member server. How should your member server know about your users? Daniel ----------------------------------------------- EDV Daniel M?ller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 T?bingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: mueller at tropenklinik.de Internet: www.tropenklinik.de ----------------------------------------------- -----Urspr?ngliche Nachricht----- Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von Michel Correge Gesendet: Dienstag, 5. Oktober 2010 13:43 An: samba at lists.samba.org Betreff: [Samba] Windows 7 cannot connect to domain member Hi, I have installed Samba 3.5.5 on a Sparc Solaris 10 system and it's the PDC of a domain mainly consisting of other Sun boxes. On the other hand, I have a PC with Windows 7 that I don't want to put in the same domain (it's in a workgroup) When I try to connect some share (user's home) from the Windows box, I get strange results : - If the share is on the PDC, I can connect giving Username and Password - If the share is on a member of the domain different from the PDC, connection fails. Configuration for PDC : Load smb config files from /usr/local/samba-3.5.4/lib/smb.conf rlimit_max: rlimit_max (256) below minimum Windows limit (16384) Processing section "[netlogon]" Processing section "[profiles]" Processing section "[print$]" Processing section "[printers]" Processing section "[homes]" Loaded services file OK. Server role: ROLE_DOMAIN_PDC Press enter to see a dump of your service definitions [global] unix charset = iso8859-1 workgroup = DCSD-T interfaces = bge0 map to guest = Bad Password passdb backend = tdbsam:/var/samba-3.5.4/private/passdb.tdb username map = /usr/local/samba-%v/lib/usermap log file = /var/samba-%v/log/samba-%m.log printcap name = /usr/local/samba-3.5.4/lib/printcap disable spoolss = Yes logon path logon drive = Q: logon home = \\%L\%U domain logons = Yes os level = 32 preferred master = Yes domain master = Yes [netlogon] comment = Network Logon Service path = /var/samba-%v/netlogon browseable = No [profiles] comment = Profiles Service path = /var/samba-%v/profiles read only = No create mask = 0600 directory mask = 0700 [print$] comment = Printer Driver Download Area path = /var/samba-%v/drivers write list = root guest ok = Yes [printers] comment = All Printers path = /var/samba-%v/spool create mask = 0700 guest ok = Yes printable = Yes browseable = No [homes] comment = Home Directory read only = No create mask = 0640 directory mask = 0750 browseable = No Configuration for a domain member : Load smb config files from /usr/local/samba-3.5.4/lib/smb.conf rlimit_max: rlimit_max (256) below minimum Windows limit (16384) Processing section "[PC_Softs]" Processing section "[homes]" Loaded services file OK. Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions [global] unix charset = iso8859-1 workgroup = DCSD-T security = DOMAIN passdb backend = tdbsam:/var/samba-%v/private/passdb.tdb log file = /var/samba-%v/log/samba-%m.log load printers = No local master = No [PC_Softs] comment = Logiciels PC path = /local/PC_SOFTS write list = correge guest ok = Yes [homes] comment = Home Directory read only = No create mask = 0640 directory mask = 0750 browseable = No Result of an attempt of connection on the member : [2010/10/05 13:25:47.648076, 2] libsmb/namequery.c:801(name_query) Got a positive name query response from 134.212.240.15 ( 134.212.240.15 ) [2010/10/05 13:25:47.940835, 2] auth/auth.c:314(check_ntlm_password) check_ntlm_password: Authentication for user [admin] -> [admin] FAILED with error NT_STATUS_NO_SUCH_USER [2010/10/05 13:25:55.915986, 2] smbd/sesssetup.c:1390(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2010/10/05 13:25:55.917166, 2] smbd/sesssetup.c:1390(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2010/10/05 13:25:55.939908, 2] auth/auth.c:314(check_ntlm_password) check_ntlm_password: Authentication for user [correge] -> [correge] FAILED with error NT_STATUS_NO_SUCH_USER [2010/10/05 13:26:00.436250, 2] smbd/sesssetup.c:1390(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. Any idea of what is wrong ? Thanks
Jean-Jacques Moulis
2010-Oct-05 14:31 UTC
[Samba] Windows 7 cannot connect to domain member
On 10/5/2010 1:42 PM, Michel Correge wrote:> When I try to connect some share (user's home) from the Windows box, I > get strange results : > > - If the share is on the PDC, I can connect giving Username and Password > - If the share is on a member of the domain different from the PDC, > connection fails.for clients not member of the domain, you need to specify the domain in the username box when connecting to a member server. DomainName\Username when the domain name is unspecified the member server uses MemberServerName\UserName and that don't work (if you do not define such an user on the member server local password database) this behavior is rather new for samba but normal for a windows server. -- Jean-Jacques Moulis Tel: (013) 281684 ISY Fax: (013) 139282 Link?ping University E-mail: jj at isy.liu.se 581 83 Link?ping
Maybe Matching Threads
- Share problems with NT4 and Samba 3.0.2
- Login from NT4 to Samba 3.0.1
- Problems Windows 7 64 Bit joining a Samba + Ldap domain
- Problem with Samba - Openldap and domain autentication of Windows XP
- Fwd: Re: Problem with Samba - Openldap and domain autentication of Windows XP