In Samba 4.1 I get the following output for smbstatus: Samba version 4.1.1 PID Username Group Machine ------------------------------------------------------------------- 2482 john Everyone 10.0.0.109 (ipv4:10.0.0.109:49178) 7364 george Everyone 10.0.0.60 (ipv4:10.0.0.60:49232) In Samba 3.6 it was like this: Samba version 3.6.24 PID Username Group Machine ------------------------------------------------------------------- 15102 paul Everyone ath64x2-5400-1 (192.168.254.177) 13245 ringo Everyone i7x4-42g-1 (192.168.254.193) You can see that in 4.1 the Machine column gives me the ip address instead of the actual machine name. I use this information in various scripts and I would like to have the machine name back again. Is this a configuration issue on my part or a problem with smbstatus? Mark -- Please update your records with my new email address.
Mark, I think (and I may be wrong here, so if a dev sees this correct me) smbstatus works with sockets. With that being said, I don't think it has been updated to work with samba as an AD DC, but should still work fine on other configurations (member server, legacy DC, etc). If you are running with a non ad dc config, let us know, there may be a bug there. Ricky On Wed, Dec 17, 2014 at 5:12 PM, Mark Nienberg < mnlists at tippingstructural.com> wrote:> > In Samba 4.1 I get the following output for smbstatus: > Samba version 4.1.1 > > PID Username Group Machine > ------------------------------------------------------------------- > 2482 john Everyone 10.0.0.109 (ipv4:10.0.0.109:49178) > 7364 george Everyone 10.0.0.60 (ipv4:10.0.0.60:49232) > > > In Samba 3.6 it was like this: > Samba version 3.6.24 > > PID Username Group Machine > ------------------------------------------------------------------- > 15102 paul Everyone ath64x2-5400-1 (192.168.254.177) > 13245 ringo Everyone i7x4-42g-1 (192.168.254.193) > > > You can see that in 4.1 the Machine column gives me the ip address instead > of the actual machine name. I use this information in various scripts and I > would like to have the machine name back again. > > Is this a configuration issue on my part or a problem with smbstatus? > > Mark > > -- > Please update your records with my new email address. > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Sorry I should have said in my original post, this server is a NT4 style domain server. Looking in /var/log/samba I see log files with the machine names in the file names, so samba definitely knows the machine names. On Thu, Dec 18, 2014 at 1:17 PM, Ricky Nance <ricky.nance at gmail.com> wrote:> > Mark, I think (and I may be wrong here, so if a dev sees this correct me) > smbstatus works with sockets. With that being said, I don't think it has > been updated to work with samba as an AD DC, but should still work fine on > other configurations (member server, legacy DC, etc). If you are running > with a non ad dc config, let us know, there may be a bug there. > > Ricky > > On Wed, Dec 17, 2014 at 5:12 PM, Mark Nienberg < > mnlists at tippingstructural.com> wrote: > >> In Samba 4.1 I get the following output for smbstatus: >> Samba version 4.1.1 >> >> PID Username Group Machine >> ------------------------------------------------------------------- >> 2482 john Everyone 10.0.0.109 (ipv4:10.0.0.109:49178 >> ) >> 7364 george Everyone 10.0.0.60 (ipv4:10.0.0.60:49232) >> >> >> In Samba 3.6 it was like this: >> Samba version 3.6.24 >> >> PID Username Group Machine >> ------------------------------------------------------------------- >> 15102 paul Everyone ath64x2-5400-1 (192.168.254.177) >> 13245 ringo Everyone i7x4-42g-1 (192.168.254.193) >> >> >> You can see that in 4.1 the Machine column gives me the ip address instead >> of the actual machine name. I use this information in various scripts and >> I >> would like to have the machine name back again. >> >> Is this a configuration issue on my part or a problem with smbstatus? >> >> Mark >> >> -- >> Please update your records with my new email address. >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >> >-- Please update your records with my new email address.