Marco Gaiarin
2017-Dec-18 15:24 UTC
[Samba] [Curiosity] 'netbios aliases' works in AD mode?
Mandi! L.P.H. van Belle via samba In chel di` si favelave...> I dont get what your goal is, sorry.. :-/And Rowland:> Why do you think you need 'netbios aliases' ?Simply: i was (ab)used to have, in my NT domain, some aliases for my servers, so i can change servers (and move services) but keeping things consistent. Eg, all my printers are connected to \\CUPS\\<printername>, and my main share is \\FILE\Work . Ever. Because 'CUPS' and 'FILE' are aliases of my servers. Some weeks ago i've asked if samba in AD mode can have server aliases, as 'netbios aliases' had in NT mode. Someone (Andrew, https://lists.samba.org/archive/samba/2017-December/212597.html) reply me, 'yes', you have to set 'netbios aliases' but also add 'SPN'. I'm simply trying to figure out how to do that, and i'm simply noted that there's no DNS record for the aliases, as expected (ok, at least as i expect ;). I hope i'm clear, now. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
Rowland Penny
2017-Dec-18 15:57 UTC
[Samba] [Curiosity] 'netbios aliases' works in AD mode?
On Mon, 18 Dec 2017 16:24:23 +0100 Marco Gaiarin via samba <samba at lists.samba.org> wrote:> Mandi! L.P.H. van Belle via samba > In chel di` si favelave... > > > I dont get what your goal is, sorry.. :-/ > > And Rowland: > > > Why do you think you need 'netbios aliases' ? > > > Simply: i was (ab)used to have, in my NT domain, some aliases for my > servers, so i can change servers (and move services) but keeping > things consistent. > > Eg, all my printers are connected to \\CUPS\\<printername>, and my > main share is \\FILE\Work . Ever. > Because 'CUPS' and 'FILE' are aliases of my servers. > > > Some weeks ago i've asked if samba in AD mode can have server aliases, > as 'netbios aliases' had in NT mode. > > Someone (Andrew, > https://lists.samba.org/archive/samba/2017-December/212597.html) > reply me, 'yes', you have to set 'netbios aliases' but also add 'SPN'. > > > I'm simply trying to figure out how to do that, and i'm simply noted > that there's no DNS record for the aliases, as expected (ok, at least > as i expect ;). > > > I hope i'm clear, now. >OK, NT4-style domains use netbios to find computers. AD domains use dns So, my advice would be to use CNAME records in AD. What Andrew said was correct, but netbios is on the way out, it relies on SMB1 and the latest Win10 has this turned off by default. Rowland
Marco Gaiarin
2017-Dec-19 12:44 UTC
[Samba] [Curiosity] 'netbios aliases' works in AD mode?
Mandi! Rowland Penny via samba In chel di` si favelave...> OK, NT4-style domains use netbios to find computers. > AD domains use dnsOk, this is clear.> So, my advice would be to use CNAME records in AD. > What Andrew said was correct, but netbios is on the way out, it relies > on SMB1 and the latest Win10 has this turned off by default.Ok, trying to sumarize: if i need a server alias: a) for older clients (netbios/SMB1), i have to add 'netbios aliases' *AND* define SPN b) for newer clients (AD/smb>1), i have to set a CNAME. So, if i need both (for compatibility reason), i have to do both. Right? -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
L.P.H. van Belle
2017-Dec-19 13:10 UTC
[Samba] [Curiosity] 'netbios aliases' works in AD mode?
Only b is needed. Im connecting here from a win 10 to a samba 3.6.6 smb1 through an CNAME. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Marco Gaiarin via samba > Verzonden: dinsdag 19 december 2017 13:45 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] [Curiosity] 'netbios aliases' works in AD mode? > > Mandi! Rowland Penny via samba > In chel di` si favelave... > > > OK, NT4-style domains use netbios to find computers. > > AD domains use dns > > Ok, this is clear. > > > > So, my advice would be to use CNAME records in AD. > > What Andrew said was correct, but netbios is on the way > out, it relies > > on SMB1 and the latest Win10 has this turned off by default. > > Ok, trying to sumarize: if i need a server alias: > > a) for older clients (netbios/SMB1), i have to add 'netbios aliases' > *AND* define SPN > > b) for newer clients (AD/smb>1), i have to set a CNAME. > > > So, if i need both (for compatibility reason), i have to do > both. Right? > > -- > dott. Marco Gaiarin GNUPG > Key ID: 240A3D66 > Associazione ``La Nostra Famiglia'' > http://www.lanostrafamiglia.it/ > Polo FVG - Via della Bontà, 7 - 33078 - San Vito al > Tagliamento (PN) > marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 > f +39-0434-842797 > > Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! > http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 > (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >