Prev: [Samba] Adding Domain User Accounts to Windows 7 Clients (Samba 3.4.8 PDC)
Next: [Samba] libldb-samba.so does not link in source4 samba
From: Christian PERRIER on 15 Jun 2010 15:50 Quoting Matthew Delves (m.delves(a)ballarat.edu.au): > Hey all, > I'm trying to hook a debian squeeze server up to a windows active directory domain, though the packages provided with Debian Squeeze don't have the net command. Is there a package available that I can use to install the net command from? net (indeed /usr/bin/net.samba3, /usr/bin/net being provided through Debian alternatives system) is included in Debian's samba-common-bin package. This package is recommended by samba-common, so a standard Debian install with the "samba" binary package should have it. If you don't have it installed, this is probably because the "install Recommends" option of apt ('APT::Install-Recommends "false";' in /etc/apt/apt.conf) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Robert LeBlanc on 15 Jun 2010 16:30 On Tue, Jun 15, 2010 at 1:47 PM, Christian PERRIER <bubulle(a)debian.org>wrote: > Quoting Matthew Delves (m.delves(a)ballarat.edu.au): > > Hey all, > > I'm trying to hook a debian squeeze server up to a windows active > directory domain, though the packages provided with Debian Squeeze don't > have the net command. Is there a package available that I can use to install > the net command from? > > net (indeed /usr/bin/net.samba3, /usr/bin/net being provided through > Debian alternatives system) is included in Debian's samba-common-bin > package. This package is recommended by samba-common, so a standard > Debian install with the "samba" binary package should have it. > > If you don't have it installed, this is probably because the "install > Recommends" option of apt ('APT::Install-Recommends "false";' in > /etc/apt/apt.conf) > I have had 'net' not correctly registered on some squeeze machines. Since I don't use the net command often, I just run net.samba3. I'm sure you could do an `update-alternatives --config net` as root and choose to use net.samba3 to restore the use of just 'net'. Robert LeBlanc Life Sciences & Undergraduate Education Computer Support Brigham Young University -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Christian PERRIER on 15 Jun 2010 16:50 Quoting Robert LeBlanc (robert(a)leblancnet.us): > I have had 'net' not correctly registered on some squeeze machines. Since I > don't use the net command often, I just run net.samba3. I'm sure you could > do an `update-alternatives --config net` as root and choose to use > net.samba3 to restore the use of just 'net'. Thanks for your input, Robert. The command that's run in samba-common-bin's postinst script is: update-alternatives --install /usr/bin/net net /usr/bin/net.samba3 10 \ --slave /usr/share/man/man8/net.8.gz net.8.gz /usr/share/man/man8/net.samba3.8.gz It's surprising to hear that the "net" alternative wasn't properly registered after installing samba-common-bin. More details about this would be in any case appreciated. And a reproducible test case is certainly worth a bug report in Debian against samba-common-bin. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Robert LeBlanc on 15 Jun 2010 18:40 On Tue, Jun 15, 2010 at 2:43 PM, Christian PERRIER <bubulle(a)debian.org>wrote: > Quoting Robert LeBlanc (robert(a)leblancnet.us): > > > I have had 'net' not correctly registered on some squeeze machines. Since > I > > don't use the net command often, I just run net.samba3. I'm sure you > could > > do an `update-alternatives --config net` as root and choose to use > > net.samba3 to restore the use of just 'net'. > > Thanks for your input, Robert. > > The command that's run in samba-common-bin's postinst script is: > > update-alternatives --install /usr/bin/net net /usr/bin/net.samba3 10 \ > --slave /usr/share/man/man8/net.8.gz net.8.gz > /usr/share/man/man8/net.samba3.8.gz > > It's surprising to hear that the "net" alternative wasn't properly > registered after installing samba-common-bin. More details about this > would be in any case appreciated. And a reproducible test case is > certainly worth a bug report in Debian against samba-common-bin. > > > I haven't run into the problem on Squeeze recently, personally, so it may have gotten fixed in the last couple of releases. I did have a lenny box with 3.4.8 from backports that had the problem a couple of days ago, but I did two today without any problems. I just chalked it up as a fluke and used the full command and went on with my life. The server does not have any net entries in /etc/alternatives. Is there a log I can look at and see what may have failed? If there is, I can submit a bug, but I can't reproduce it on demand. Robert LeBlanc Life Sciences & Undergraduate Education Computer Support Brigham Young University -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Christian PERRIER on 16 Jun 2010 02:40
> I haven't run into the problem on Squeeze recently, personally, so it may > have gotten fixed in the last couple of releases. I did have a lenny box > with 3.4.8 from backports that had the problem a couple of days ago, but I > did two today without any problems. I just chalked it up as a fluke and used > the full command and went on with my life. The server does not have any net > entries in /etc/alternatives. Is there a log I can look at and see what may > have failed? If there is, I can submit a bug, but I can't reproduce it on > demand. If they don't fail, actions made in postinst scripts are not logged. If they fail, the "apt-get install" or "aptitude install" command is expected to fail... You mention a machine that has 3.4.8 backproted package and no alternative. Can you try to manually run the command I mentioned in my previous post (as root, of course)? Can you also run "dpkg -L samba-common-bin" on that machine? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba |