Re: [Samba] A domain controller for the domain could not be contacted (2.2.3a-12.3 for Debian) -- SOLVED by adding updating to 3 and 'domain logons = Yes' to smb.config
John H Terpstra wrote: I've searched on this topic on google, but this led only to other people asking the same question, without any aswers. It would really mean a lot to me to get Samba running in our organisation, but i've already spend a lot of time on this. So if one could give me some pointers were to start, i would be very thankfull First off, I'd recommend you use Samba-3.0.1 or later. I changed my sources.list to use an backport for my system. Below are the lines i added: # samba backport deb http://www.backports.org/debian stable samba deb-src http://www.backports.org/debian stable samba updated my system nemo:/var/log/samba# smbd -V Version 3.0.0-Debian Second, have you read the Samba-HOWTO-Collection? http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf It might help. This is also available in book form. It is called, "The Official Samba-3 HOWTO and Reference Guide" - It's available from Amazon.Com. After reading this document (http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf) my eyes fell on the following part: Note The above parameters make for a full set of parameters that may define the server’s mode of operation. The following smb.conf parameters are the essentials alone: netbios name = BELERIAND workgroup = MIDEARTH domain logons = Yes domain master = Yes security = User The additional parameters shown in the longer listing above just makes for a more complete explanation. I added the following line to my /etc/samba/smb.conf and im getting a login screen for joining the domain. I guess i can figure it out from here by using the other mails / docs :) domain logons = Yes I dont know if installing 3.0 was necessary, but i dont have time to analyse this problem further at this moment, thanx all Eduard Witteveen [global] ;added after reading the http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf page 55 domain logons = Yes ;changes after comments of Fabien Chevalier wins server = 10.0.0.10 ;changes after comments of Patrick Shoaf password level = 8 username level = 8 encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd unix password sync = yes pam password change = yes obey pam restrictions = yes ;basic server settings workgroup = HAWAR3 netbios name = nemo server string = Samba %h PDC running %v socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192 ;PDC and master browser settings os level = 64 preferred master = yes local master = yes domain master = yes ;security and logging settings security = user # encrypt passwords = yes log file = /var/log/samba/log.%m log level = 2 # max log size = 50 # hosts allow = 127.0.0.1 192.168.1.0/255.255.255.0 ;user profiles and home directory logon home = \\%L\%U\ logon drive = H: logon path = \\%L\profiles\%U logon script = netlogon.bat ;sync passwords unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd: *all*authentication*tokens*updated*successfully* ; new machines add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u # shares [unsafe] path = /etc/samba comment = Unsafe Config Share, has to be removed browseable = yes writeable = yes [homes] comment = Home Directories browseable = no writeable = yes [profiles] path = /home/samba/profiles writeable = yes browseable = no create mask = 0600 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] A domain controller for the domain could not be contacted (2.2.3a-12.3 for Debian)
On Thu, 18 Dec 2003, Eduard Witteveen wrote: > Eduard Witteveen wrote: > > > Please let me know what to do next. > > I've searched on this topic on google, but this led only to other people > asking the same question, without any aswers. > It would really mean a lot to me to get Samba running in our > organisation, but i've already spend a lot of time on this. So if one > could give me some pointers were to start, i would be very thankfull First off, I'd recommend you use Samba-3.0.1 or later. Second, have you read the Samba-HOWTO-Collection? http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf It might help. This is also available in book form. It is called, "The Official Samba-3 HOWTO and Reference Guide" - It's available from Amazon.Com. Chapter 2 of the book as a number of worked example solutions that might help you. This chapter is not in the Samba-HOWTO-Collection. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] A domain controller for the domain could not be contacted (2.2.3a-12.3 for Debian)
Eduard Witteveen wrote: Please let me know what to do next. I've searched on this topic on google, but this led only to other people asking the same question, without any aswers. It would really mean a lot to me to get Samba running in our organisation, but i've already spend a lot of time on this. So if one could give me some pointers were to start, i would be very thankfull Eduard Witteveen -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] A domain controller for the domain could not be contacted(2.2.3a-12.3 for Debian)
You need to make sure that your node type is hybrid or you will not be able to contact the samba server. I have had this problem before and that is how I fixed it. Russ -Original Message- From: Fabien Chevalier [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 3:53 AM To: Eduard Witteveen Cc: [EMAIL PROTECTED] Subject: Re: [Samba] A domain controller for the domain could not be contacted(2.2.3a-12.3 for Debian) Le Wednesday 17 December 2003 12:39, Eduard Witteveen a écrit : > Fabien Chevalier wrote: > >It seems your workstation tries to locate the DC by doing a dns > >query, what is not currently supported by Samba. What is your > >workstation node type set to? > > Could you rephrase your question? I dont know how i found out what > the node type of my workstations is. Please send your ipconfig /all. I suppose something's wrong in your network settings. Are you using Dhcp or static Ip? Regards, Fabien Chevalier -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] A domain controller for the domain could not be contacted (2.2.3a-12.3 for Debian)
Fabien Chevalier wrote: I think your Samba server hasn't been registered to your wins server, thus when trying to join the domain, your workstation falls back to dns...which obviously fails. Try to add "wins server = 10.0.0.10" to your smb.conf, and let us know if it works... No. I've attached my current configuration file. When i try to join the domain i still get the same error message(and no logfile). Please let me know what to do next. [global] ;changes after comments of Fabien Chevalier wins server = 10.0.0.10 ;changes after comments of Patrick Shoaf password level = 8 username level = 8 encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd unix password sync = yes pam password change = yes obey pam restrictions = yes ;basic server settings workgroup = HAWAR3 netbios name = nemo server string = Samba %h PDC running %v socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192 ;PDC and master browser settings os level = 64 preferred master = yes local master = yes domain master = yes ;security and logging settings security = user # encrypt passwords = yes log file = /var/log/samba/log.%m log level = 2 # max log size = 50 # hosts allow = 127.0.0.1 192.168.1.0/255.255.255.0 ;user profiles and home directory logon home = \\%L\%U\ logon drive = H: logon path = \\%L\profiles\%U logon script = netlogon.bat ;sync passwords unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd: *all*authentication*tokens*updated*successfully* ; new machines add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u # shares [unsafe] path = /etc/samba comment = Unsafe Config Share, has to be removed browseable = yes writeable = yes [homes] comment = Home Directories browseable = no writeable = yes [profiles] path = /home/samba/profiles writeable = yes browseable = no create mask = 0600 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] A domain controller for the domain could not be contacted (2.2.3a-12.3 for Debian)
Le Wednesday 17 December 2003 13:20, Eduard Witteveen a écrit : > Fabien Chevalier wrote: > >Please send your ipconfig /all. > > I attached the output > > >I suppose something's wrong in your network settings. > >Are you using Dhcp or static Ip? > > Dhcp. (look in the output) > > The linux server (nemo) has ip-number 10.0.0.152 > > > Eduard Witteveen Ok, thanks. I think your Samba server hasn't been registered to your wins server, thus when trying to join the domain, your workstation falls back to dns...which obviously fails. Try to add "wins server = 10.0.0.10" to your smb.conf, and let us know if it works... Good luck, Fabien Chevalier -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] A domain controller for the domain could not be contacted (2.2.3a-12.3 for Debian)
Fabien Chevalier wrote: Please send your ipconfig /all. I attached the output I suppose something's wrong in your network settings. Are you using Dhcp or static Ip? Dhcp. (look in the output) The linux server (nemo) has ip-number 10.0.0.152 Eduard Witteveen Windows IP Configuration Host Name . . . . . . . . . . . . : SHARED-PC Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Ethernet NIC Physical Address. . . . . . . . . : 00-E0-4C-48-3E-AB Dhcp Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes IP Address. . . . . . . . . . . . : 10.0.0.156 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 10.0.0.138 DHCP Server . . . . . . . . . . . : 10.0.0.10 DNS Servers . . . . . . . . . . . : 194.134.0.97 194.134.5.55 Primary WINS Server . . . . . . . : 10.0.0.10 Lease Obtained. . . . . . . . . . : Dienstag, 16. Dezember 2003 10:38:39 Lease Expires . . . . . . . . . . : Dienstag, 23. Dezember 2003 10:38:39 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] A domain controller for the domain could not be contacted (2.2.3a-12.3 for Debian)
Le Wednesday 17 December 2003 12:39, Eduard Witteveen a écrit : > Fabien Chevalier wrote: > >It seems your workstation tries to locate the DC by doing a > > dns query, what is not currently supported by Samba. What is > > your workstation node type set to? > > Could you rephrase your question? I dont know how i found out > what the node type of my workstations is. Please send your ipconfig /all. I suppose something's wrong in your network settings. Are you using Dhcp or static Ip? Regards, Fabien Chevalier -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] A domain controller for the domain could not be contacted (2.2.3a-12.3 for Debian)
Fabien Chevalier wrote: It seems your workstation tries to locate the DC by doing a dns query, what is not currently supported by Samba. What is your workstation node type set to? Could you rephrase your question? I dont know how i found out what the node type of my workstations is. (after some googling i tried looking in the registry for the key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Netbt\Parameters NodeType, but i couldnt find the entry) Eduard Witteveen -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] A domain controller for the domain could not be contacted (2.2.3a-12.3 for Debian)
> The error was: "DNS name does not exist." > (error code 0x232B RCODE_NAME_ERROR) > The query was for the SRV record for > _ldap._tcp.dc._msdcs.HAWAR3 Common causes of this error > include the following: - The DNS SRV record is not registered > in DNS. It seems your workstation tries to locate the DC by doing a dns query, what is not currently supported by Samba. What is your workstation node type set to? Regards, Fabien Chevalier -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] A domain controller for the domain could not be contacted (2.2.3a-12.3 for Debian)
Patrick Shoaf wrote: I am running on RedHat, but everything should be same on server side. Try adding the following lines into the smb.conf file: password level = 8 username level = 8 encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd unix password sync = yes pam password change = yes obey pam restrictions = yes I added your parameters to the config file and also created an additional shared called [unsafe] from which i can easier get the config file when i want to email it. When i want to join the domain with an Windows XP Version 2002 Professional Service Pack 1 i still get the following error: "A domain controller for the domain HAWAR3 could not be contacted. Ensure that the domain name is typed correctly. If the name is correct click Details for troubleshooting" When i click on details: "Note: This information is intended for a network administrator. If you are not your network's administrator, notify the administrator that you received this information, which has been recorded in the file C:\WINDOWS\debug\dcdiag.txt. The domain name HAWAR3 might be a NetBIOS domain name. If this is the case, verify that the domain name is properly registered with WINS. If you are certain that the name is not a NetBIOS domain name, then the following information can help you troubleshoot your DNS configuration. The following error occurred when DNS was queried for the service location (SRV) resource record used to locate a domain controller for domain HAWAR3: The error was: "DNS name does not exist." (error code 0x232B RCODE_NAME_ERROR) The query was for the SRV record for _ldap._tcp.dc._msdcs.HAWAR3 Common causes of this error include the following: - The DNS SRV record is not registered in DNS. - One or more of the following zones do not include delegation to its child zone: HAWAR3 . (the root zone) For information about correcting this problem, click Help." Screenshots: - http://www.nergens.org/samba/ComputerNameChanges.PNG - http://www.nergens.org/samba/ComputerProperties.PNG Attached is my smb.conf Eduard Witteveen [global] ;changes after comments of Patrick Shoaf password level = 8 username level = 8 encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd unix password sync = yes pam password change = yes obey pam restrictions = yes ;basic server settings workgroup = HAWAR3 netbios name = nemo server string = Samba %h PDC running %v socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192 ;PDC and master browser settings os level = 64 preferred master = yes local master = yes domain master = yes ;security and logging settings security = user # encrypt passwords = yes log file = /var/log/samba/log.%m log level = 2 # max log size = 50 # hosts allow = 127.0.0.1 192.168.1.0/255.255.255.0 ;user profiles and home directory logon home = \\%L\%U\ logon drive = H: logon path = \\%L\profiles\%U logon script = netlogon.bat ;sync passwords unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd: *all*authentication*tokens*updated*successfully* ; new machines add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u # shares [unsafe] path = /etc/samba comment = Unsafe Config Share, has to be removed browseable = yes writeable = yes [homes] comment = Home Directories browseable = no writeable = yes [profiles] path = /home/samba/profiles writeable = yes browseable = no create mask = 0600 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba