On Sunday 06 Nov 2011 23:08:27 you wrote: > > -----Original Message----- > > From: samba-boun...@lists.samba.org [mailto:samba- > > boun...@lists.samba.org] On Behalf Of steve > > Sent: Sunday, November 06, 2011 6:55 AM > > To: samba@lists.samba.org > > Subject: Re: [Samba] win 7 no logon servers available error > > > > On Sunday 06 Nov 2011 00:06:17 steve wrote: > > > Hi > > > I have joined a win 7 computer to my samba domain. Logging in gives > > > > me: > > > 'There are currently no logon servers available to service the logon > > > request.' > > > > > > The win 7 machine is called S-PC and getent passwd gives me: > > > > > > S-PC$:x:1002:100:Machine:/var/lib/nobody:/bin/false > > > lynn2:*:1001:1001:l:/home/lynn2:/bin/bash > > > > > > lynn2 is an ldap user who can login OK. > > > > > > I see that /var/lib/samba(netlogon is empty. > > > > > > I've been through endless posts trying to sort this out. I have a > > > > samba pdc > > > > > setup with ldap on opensuse 11.4. > > > > > > The logs give this: > > > > > > [2011/11/05 23:45:23.779300, 0] > > > passdb/pdb_get_set.c:212(pdb_get_group_sid) pdb_get_group_sid: Failed > > > > to > > > > > find Unix account for S-PC$ > > > > > > But that doesn't make sense because S-PC$ _does_ have a Unix account. > > > > > > Can anyone help me? > > > > smb.conf is: > <snip> > > > Reinstalled openldap, samba and windows 7, the latter on oracle virtual > > box. > > > > I joined the domain HH1 without problems. I have setup bind on the > > samba host > > as a DNS server and stup the win 7 machine with static settings which > > point to > > the host with the dns server. No problems. Win 7 can ping out through > > the > > gateway and see webpages. But _still_ I get the 'no logon servers > > available' > > message when trying to logon to the domain. The users can login at a > > linux > > command prompt fine. THey can also see their files when logged into the > > win 7 > > box by typing e.g. > > > > \\HH1\steve2 > > > > So I don't think this is a DNS problem, I don't think it is a Win 7 > > problem > > and LDAP is working so it must have something to do with samba. The > > samba is > > that shipped with opensuse 11.4 version, 3.5.7 > > > > Does anyone have any clue as to where to turn next? > > THanks so much and sorry to have to bump this one on a Sunday. > > > > Steve. > > <snip> > > Steve; > > The AppArmor profiles for nmbd and smbd prevented smbd and nmbd from > running on Opensuse 11.4. If you have not done so already go to > YaST>Novell AppArmor>AppArmor Control Panel>Configure Profile Modes. Set > both > user.sbin.[s,n]mbd to complain rather than enforce. If this works you can > rewrite the profiles for proper operation or leave them off. > > PV > Hi Yes. I tried with AppArmor to complain and then turned it off. Still no logon servers.
Here is what I got when joining the domain for the first time: Nov 7 07:05:14 hh1 smbd[6753]: [2011/11/07 07:05:14.802235, 0] lib/util_sock.c:474(read_fd_with_timeout) Nov 7 07:05:14 hh1 smbd[6753]: [2011/11/07 07:05:14.802429, 0] lib/util_sock.c:1441(get_peer_addr_internal) Nov 7 07:05:14 hh1 smbd[6753]: getpeername failed. Error was Transport endpoint is not connected Nov 7 07:05:14 hh1 smbd[6753]: read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer. Nov 7 07:05:27 hh1 pulseaudio[3905]: ratelimit.c: 113 events suppressed Nov 7 07:05:51 hh1 nmbd[6047]: [2011/11/07 07:05:51.005754, 0] nmbd/nmbd_incomingdgrams.c:308(process_local_master_announce) Nov 7 07:05:51 hh1 nmbd[6047]: process_local_master_announce: Server S-PC at IP 192.168.1.4 is announcing itself as a local master browser for worrkgroup HH1 and we think we are master. Forcing election. Nov 7 07:05:51 hh1 nmbd[6047]: [2011/11/07 07:05:51.017996, 0] nmbd/nmbd_become_lmb.c:148(unbecome_local_master_success) Nov 7 07:05:51 hh1 nmbd[6047]: ***** Nov 7 07:05:51 hh1 nmbd[6047]: Nov 7 07:05:51 hh1 nmbd[6047]: Samba name server HH1 has stopped being a local master browser for workgroup HH1 on subnet 192.168.1.2 Nov 7 07:05:51 hh1 nmbd[6047]: Nov 7 07:05:51 hh1 nmbd[6047]: ***** Nov 7 07:06:10 hh1 nmbd[6047]: [2011/11/07 07:06:10.957521, 0] nmbd/nmbd_become_lmb.c:395(become_local_master_stage2) Nov 7 07:06:10 hh1 nmbd[6047]: ***** Nov 7 07:06:10 hh1 nmbd[6047]: Nov 7 07:06:10 hh1 nmbd[6047]: Samba name server HH1 is now a local master browser for workgroup HH1 on subnet 192.168.1.2 Nov 7 07:06:10 hh1 nmbd[6047]: Nov 7 07:06:10 hh1 nmbd[6047]: ***** And here is the result of starting smb and nmb now: Nov 7 07:27:48 hh1 nmbd[7677]: ***** Nov 7 07:30:00 hh1 smbd[7780]: [2011/11/07 07:30:00.326907, 0] smbd/server.c:501(smbd_open_one_socket) Nov 7 07:30:00 hh1 smbd[7780]: smbd_open_once_socket: open_socket_in: Address already in use Nov 7 07:30:00 hh1 smbd[7780]: [2011/11/07 07:30:00.328619, 0] smbd/server.c:501(smbd_open_one_socket) Nov 7 07:30:00 hh1 smbd[7780]: smbd_open_once_socket: open_socket_in: Address already in use Nov 7 07:30:05 hh1 nmbd[7677]: [2011/11/07 07:30:05.525647, 0] nmbd/nmbd.c:71(terminate) Nov 7 07:30:05 hh1 nmbd[7677]: Got SIGTERM: going down... Nov 7 07:30:06 hh1 nmbd[7822]: [2011/11/07 07:30:06.171691, 0] nmbd/nmbd_logonnames.c:160(add_logon_names) Nov 7 07:30:06 hh1 nmbd[7822]: add_domain_logon_names: Nov 7 07:30:06 hh1 nmbd[7822]: Attempting to become logon server for workgroup HH1 on subnet 192.168.1.2 Nov 7 07:30:06 hh1 nmbd[7822]: [2011/11/07 07:30:06.173068, 0] nmbd/nmbd_become_dmb.c:292(become_domain_master_browser_bcast) Nov 7 07:30:06 hh1 nmbd[7822]: become_domain_master_browser_bcast: Nov 7 07:30:06 hh1 nmbd[7822]: Attempting to become domain master browser on workgroup HH1 on subnet 192.168.1.2 Nov 7 07:30:06 hh1 nmbd[7822]: [2011/11/07 07:30:06.174071, 0] nmbd/nmbd_become_dmb.c:305(become_domain_master_browser_bcast) Nov 7 07:30:06 hh1 nmbd[7822]: become_domain_master_browser_bcast: querying subnet 192.168.1.2 for domain master browser on workgroup HH1 Nov 7 07:30:10 hh1 nmbd[7822]: [2011/11/07 07:30:10.178990, 0] nmbd/nmbd_logonnames.c:121(become_logon_server_success) Nov 7 07:30:10 hh1 nmbd[7822]: become_logon_server_success: Samba is now a logon server for workgroup HH1 on subnet 192.168.1.2 Nov 7 07:30:14 hh1 nmbd[7822]: [2011/11/07 07:30:14.183889, 0] nmbd/nmbd_become_dmb.c:110(become_domain_master_stage2) Nov 7 07:30:14 hh1 nmbd[7822]: ***** Nov 7 07:30:14 hh1 nmbd[7822]: Nov 7 07:30:14 hh1 nmbd[7822]: Samba server HH1 is now a domain master browser for workgroup HH1 on subnet 192.168.1.2 Nov 7 07:30:14 hh1 nmbd[7822]: Nov 7 07:30:14 hh1 nmbd[7822]: ***** Still no logon servers. Any ideas? Really don't know what else I can try! Thanks Steve. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba