Hi all I have setup a Samba server for a client, and most things work fine (except a strange problem with some clients and SMB1). However, when I created the virtual server before migrating it to the client, I obviously forgot to change a parameter. [global] netbios name = CLIENTNETBIOSNAME realm = CLIENTNETBIOSNAME.SE workgroup = CLIENTNETBIOSNAME idmap config * : backend = tdb idmap config * : range = 10000-20000 idmap config TEST : backend = rid idmap config TEST : range = 30000-40000 As you can see, I forgot to change the "idmap config" from TEST::backend/rid to CLIENTNETBIOSNAME. AFAIK it still works, so my question is how this would affect the server operation. Do I need to leave and rejoin the domain, or should I just leave it as it is? I have changed the parameter and restarted Samba without noticing any erratic behavior. Anders -- ----------------------------------------------------------------------------------------------------------------------- This signature contains 100% recyclable electrons as prescribed by Mother Nature Anders ?stling +46 768 716 165 (Mobil) +46 431 45 56 01 (Hem)
On 18/06/2020 16:14, Anders ?stling via samba wrote:> Hi all > I have setup a Samba server for a client, and most things work fine > (except a strange problem with some clients and SMB1). However, when I > created the virtual server before migrating it to the client, I > obviously forgot to change a parameter. > > [global] > netbios name = CLIENTNETBIOSNAME > realm = CLIENTNETBIOSNAME.SE > workgroup = CLIENTNETBIOSNAME > idmap config * : backend = tdb > idmap config * : range = 10000-20000 > idmap config TEST : backend = rid > idmap config TEST : range = 30000-40000There is another problem: 'netbios name = CLIENTNETBIOSNAME' and 'workgroup = CLIENTNETBIOSNAME' They cannot be the same. Probably your users & groups got an ID in the '10000-20000' range and if your users hadn't logged in, you shouldn't have a problem. Rowland
On 18/06/2020 16:40, Anders ?stling wrote:> Yep, they got 10xxx numbers, checked with wbinfo --user-info and --group-info > > Do you recommend me to change back to the faulty name or should I just > leave it corrected? What impact would it have to change the parameter > after domain join?If your users hadn't logged in, it wouldn't? have much impact, though you would probably have to restart Samba. To put it another way, if there were no files or directories belonging to normal users or groups before the change, you shouldn't have any problems. Rowland
Skickat fr?n min iPhone> 18 juni 2020 kl. 18:09 skrev Rowland penny via samba <samba at lists.samba.org>: > > ?On 18/06/2020 16:40, Anders ?stling wrote: >> Yep, they got 10xxx numbers, checked with wbinfo --user-info and --group-info >> >> Do you recommend me to change back to the faulty name or should I just >> leave it corrected? What impact would it have to change the parameter >> after domain join? > If your users hadn't logged in, it wouldn't have much impact, though you would probably have to restart Samba. To put it another way, if there were no files or directories belonging to normal users or groups before the change, you shouldn't have any problems.Well in my case, several users have logged in, roaming profiles are created and a boatload of files are migrated from an old Windows server. Still, no obvious issues detected. Maybe it will come back and haunt me later? What if I just leave and re-join the domain leaving all files as they are? I?m using Windows ACL for all files/shares.> Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba