Prev: [Samba] RE : RE : Example of command ". / Setup / provision"
Next: [Samba] help, prs_grow: Buffer overflow - unable to expand buffer by 2 bytes.
From: tms3 on 18 May 2010 10:20 > > > I do not understand, I will have a hostname and NetBIOS name > different? Yes. > > > > So > > -- Domain = SAMBA > > it'll be my name NETBIOS, and > > -- Realm = TPI.DOMAINE.CH-SERVER > > will my machine name + my domain? > > Thank you > ________________________________ > De : tms3(a)tms3.com [tms3(a)tms3.com] > Date d'envoi : mardi 18 mai 2010 15:50 > à : Viatte Frédéric > Cc : Laurent BARRAILLE; samba(a)lists.samba.org > Objet : Re: RE : [Samba] Example of command ". / Setup / provision" > > > > SNIP > > How to know the NetBIOS name in Linux? > Linux does not care. Only Windows cares. > > > The name of my domain is: DOMAINE.CH > The name of my server: SERVEUR-TPI > The posix name of the server does not matter. Nor does the DNS name > as it can have more than one DNS name. You need to work with Samba as > a somewhat separate entity. It is simply easier to match names up for > us humans. So.... > > > If I put "-- realm = SERVEUR-TPI.DOMAINE.CH -- domain = DOMAINE.CH " > > Nope. See, the important thing is the "domain" name should be a > single simple short word. So the easiest bit would be: > > realm = SERVEUR-TPI.DOMAINE.CH -- domain =SERVEUR-TPI > > BUT!!!!!! your kerberos realm does NOT have to match the machine name > either! So we could forget the *nix name completely and just for > simplicity: > > --realm=SAMBA.DOMAINE.CH --domain=SAMBA > > > His able to walk? > > Thank you > > > ________________________________________ > De : samba-bounces(a)lists.samba.org [samba-bounces(a)lists.samba.org] de > la part de tms3(a)tms3.com [tms3(a)tms3.com] > Date d'envoi : mardi 18 mai 2010 15:11 > à : Laurent BARRAILLE > Cc : samba(a)lists.samba.org > Objet : Re: [Samba] Example of command ". / Setup / provision" > > SNIP > > > > Because in the "HOWTO" is set "- realm = samdom.example.com - domain = > SAMDOM" > > but what corresponds "SAMDOM" Because the domain is "example.com" no ? > > SAMDOM is the Windows domain. > This is a sub domain of the "example.com" domain > > Well, not really. SAMDOM is the NETBIOS name of the domain, which we > have to use the "way back" machine to Winblows NT4 to come to grips > with it. So, yes the domain IS example.com, and, if you want, you can > do this: > > realm = EXAMPLE.COM and have domain = EXAMPLE. > > It is also possible to have the domain = EX or TEST and the realm be > EXAMPLE.COM, though I'd not recommend it. > > For the most part it is a design issue. > > > > > Thanks > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Michael Wood on 19 May 2010 11:50 2010/5/19 Viatte Frédéric <Frederic.Viatte(a)rpn.ch>: > Because the realm of the HOWTO shows that it is necessary to use the complete name of the server it is false? No, the HOWTO does not have the server name in the realm. "samdom" is not the server name. > I have put: > > - Realm=serveur-tpi.domaine.ch > > And > > - Domain=domaine.ch (I am to oblige to put it otherwise I cannot join any more the domain with a client) No. "--domain" must not have a "." in it. Use "--realm=domaine.ch --domain=DOMAINE". > And afterward, I changed the name of NetBIOS in the file " smb.conf " and I put "Samba". I did not have to do that when I tested Samba4. I just used "--realm=something.org.za --domain=SOMETHING" and the server's name was kudu.something.org.za. > Here is the named.conf which comes from the directory " / etc. / " Do you have a DOMAIN.CH zone in addition to the one created by provision in /usr/local/samba/private? Where did you put the #include statement? > > Thank you > ________________________________________ > De : Michael Wood [esiotrot(a)gmail.com] > Date d'envoi : mercredi 19 mai 2010 14:07 > À : Viatte Frédéric > Cc : samba(a)lists.samba.org > Objet : Re: RE : [Samba] RE : RE : Example of command ". / Setup / provision" > > Hi > > 2010/5/19 Viatte Frédéric <Frederic.Viatte(a)rpn.ch>: >> -----Message d'origine----- >> De : Viatte Frédéric >> Envoyé : mercredi, 19. mai 2010 11:58 >> À : 'Michael Wood' >> Cc : tms3(a)tms3.com; samba(a)lists.samba.org >> Objet : RE: RE : [Samba] RE : RE : Example of command ". / Setup / provision" >> >> I solved this error, but I have another one now, here it is: >> >> Error occurred while starting named service. >> Error: / usr / local / samba / private / named.conf: 6: unknown option 'zone' >> >> I tried to send you my file "named.conf" file "private" I do not know if you've received? > > It seems you are still using "SERVEUR-TPI.DOMAINE.CH" as your realm > and DNS domain. Why not just "DOMAIN.CH"? > > Otherwise there seems to be nothing wrong with the named.conf you attached. > > What does your /etc/named.conf file look like? > > (On Ubuntu it's /etc/bind/named.conf instead of /etc/named.conf.) -- Michael Wood <esiotrot(a)gmail.com> -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Michael Wood on 20 May 2010 03:10 2010/5/19 Viatte Frédéric <Frederic.Viatte(a)rpn.ch>: > I can not test now, I'll try tomorrow. you're sure if we put -- > domain=DOMAINE (without ".CH") his walk? because I try and it seems to The --domain option refers to a Windows NT-style domain name and not a DNS domain. So it must not have a "." in it. > me that I could not join a domain. There must have been some other reason that you could not join the domain with "--domain=DOMAINE". for # include, I put in the > "option" just below "include.... / forwarders"! for the area in domaine.ch > ". / private" I confirm you tomorrow! thank you The #include of the .../private/named.conf must not be inside option {...}. That is why it was complaining about "zone". But if you have both the "zone domain.ch ..." and "#include ..../private/named.conf" in the /etc/named.conf then they will probably conflict with each other. -- Michael Wood <esiotrot(a)gmail.com> -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Michael Wood on 20 May 2010 03:20 Hi 2010/5/20 Viatte Frédéric <Frederic.Viatte(a)rpn.ch>: > Hello > > For my zone DOMAINE.CH, yes I have one in "/usr/local/samba/private/dns" ! It is called "domaine.ch.zone" > > And for # include "/usr/local/samba /private/named.conf" I put in "/usr/named.conf" in the "options" below "notify no" As mentioned in my previous e-mail, it won't work if you put the #include into "options". Put it at the bottom of the file where it says: # You can insert further zone records for your own domains below or create # single files in /etc/named.d/ and add the file names to # NAMED_CONF_INCLUDE_FILES. # See /usr/share/doc/packages/bind/README.SUSE for more details. Or you could follow the instructions in the above comment, but just including the #include here should work (as long as the contents of the file do not conflict with the other zones already defined in /etc/named.conf.) > -----Message d'origine----- > De : Michael Wood [mailto:esiotrot(a)gmail.com] > Envoyé : mercredi, 19. mai 2010 17:49 > À : Viatte Frédéric > Cc : samba(a)lists.samba.org > Objet : Re: RE : RE : [Samba] Example of command ". / Setup / provision" > > 2010/5/19 Viatte Frédéric <Frederic.Viatte(a)rpn.ch>: >> Because the realm of the HOWTO shows that it is necessary to use the complete name of the server it is false? > > No, the HOWTO does not have the server name in the realm. "samdom" is > not the server name. > >> I have put: >> >> - Realm=serveur-tpi.domaine.ch >> >> And >> >> - Domain=domaine.ch (I am to oblige to put it otherwise I cannot join any more the domain with a client) > > No. "--domain" must not have a "." in it. Use "--realm=domaine.ch > --domain=DOMAINE". > >> And afterward, I changed the name of NetBIOS in the file " smb.conf " and I put "Samba". > > I did not have to do that when I tested Samba4. I just used > "--realm=something.org.za --domain=SOMETHING" and the server's name > was kudu.something.org.za. > >> Here is the named.conf which comes from the directory " / etc. / " > > Do you have a DOMAIN.CH zone in addition to the one created by > provision in /usr/local/samba/private? Where did you put the #include > statement? -- Michael Wood <esiotrot(a)gmail.com> -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Michael Wood on 20 May 2010 03:40
2010/5/20 Viatte Frédéric <Frederic.Viatte(a)rpn.ch>: > Ok, I solved the problem by changing my DNS zone because there was a conflict! Now I tried to do the tests, but without success! I read the file "message.log" and here is what I found when I restart my DNS: > > the working directory is not writable ( what folder ? ) > > zone domaine.ch/IN: loading from master file /usr/local/samba/private/dns/domaine.ch.zone failed: file not found > > But my file exists and is in the right place! Try this: * Move /usr/local/samba/private/named.conf to /etc/named.conf.samba4. * Move /usr/local/samba/private/dns/domaine.ch.zone to /var/lib/named/master (I think.) * Edit named.conf.samba4 and change the path to domaine.ch.zone to where you moved it. * Make sure /etc/named.conf points to the new location of named.conf.samba4. See if that works. > -----Message d'origine----- > De : Michael Wood [mailto:esiotrot(a)gmail.com] > Envoyé : jeudi, 20. mai 2010 09:15 > À : Viatte Frédéric > Cc : Samba > Objet : Re: RE : RE : [Samba] Example of command ". / Setup / provision" > > Hi > > 2010/5/20 Viatte Frédéric <Frederic.Viatte(a)rpn.ch>: >> Hello >> >> For my zone DOMAINE.CH, yes I have one in "/usr/local/samba/private/dns" ! It is called "domaine.ch.zone" >> >> And for # include "/usr/local/samba /private/named.conf" I put in "/usr/named.conf" in the "options" below "notify no" > > As mentioned in my previous e-mail, it won't work if you put the > #include into "options". Put it at the bottom of the file where it > says: > > # You can insert further zone records for your own domains below or create > # single files in /etc/named.d/ and add the file names to > # NAMED_CONF_INCLUDE_FILES. > # See /usr/share/doc/packages/bind/README.SUSE for more details. > > Or you could follow the instructions in the above comment, but just > including the #include here should work (as long as the contents of > the file do not conflict with the other zones already defined in > /etc/named.conf.) > >> -----Message d'origine----- >> De : Michael Wood [mailto:esiotrot(a)gmail.com] >> Envoyé : mercredi, 19. mai 2010 17:49 >> À : Viatte Frédéric >> Cc : samba(a)lists.samba.org >> Objet : Re: RE : RE : [Samba] Example of command ". / Setup / provision" >> >> 2010/5/19 Viatte Frédéric <Frederic.Viatte(a)rpn.ch>: >>> Because the realm of the HOWTO shows that it is necessary to use the complete name of the server it is false? >> >> No, the HOWTO does not have the server name in the realm. "samdom" is >> not the server name. >> >>> I have put: >>> >>> - Realm=serveur-tpi.domaine.ch >>> >>> And >>> >>> - Domain=domaine.ch (I am to oblige to put it otherwise I cannot join any more the domain with a client) >> >> No. "--domain" must not have a "." in it. Use "--realm=domaine.ch >> --domain=DOMAINE". >> >>> And afterward, I changed the name of NetBIOS in the file " smb.conf " and I put "Samba". >> >> I did not have to do that when I tested Samba4. I just used >> "--realm=something.org.za --domain=SOMETHING" and the server's name >> was kudu.something.org.za. >> >>> Here is the named.conf which comes from the directory " / etc. / " >> >> Do you have a DOMAIN.CH zone in addition to the one created by >> provision in /usr/local/samba/private? Where did you put the #include >> statement? -- Michael Wood <esiotrot(a)gmail.com> -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba |