Hewitt, Tom
2002-Oct-31 16:30 UTC
[Samba] Joining an NT domain using the smbpasswd command
I'm evaluating Linux (Redhat Linux 8.0), with a view to migrating from Windows but have been having a frustrating few days trying to configure Samba 2.2.5 via the terminal from within the Gnome GUI. I can get Samba to work when it comes to Windows clients using the Linux box as a file server but am having no joy when I attempt to use the smbpasswd command to join an NT domain. I keep receiving the message - smbpasswd:command not found. I have rigorously followed the instructions that came with Samba regarding it's installation and still I get this message. Can anyone out there shed some light on this problem for me? Many thanks, Tom -------------- next part -------------- HTML attachment scrubbed and removed
On Thursday 31 October 2002 4:26 pm, Hewitt, Tom wrote:> I'm evaluating Linux (Redhat Linux 8.0), with a view to migrating from > Windows but have been having a frustrating few days trying to configure > Samba 2.2.5 via the terminal from within the Gnome GUI. > > I can get Samba to work when it comes to Windows clients using the Linux > box as a file server but am having no joy when I attempt to use the > smbpasswd command to join an NT domain. > I keep receiving the message - smbpasswd:command not found. > I have rigorously followed the instructions that came with Samba regarding > it's installation and still I get this message. > > Can anyone out there shed some light on this problem for me? > > Many thanks, > > TomHave you tried "locate smbpasswd" or "find / -name smbpasswd" in order to determine where it is on your machine? Things get put in funky places, ie outside of your $PATH sometimes. At least it looks to me like it's your shell saying it can't find smbpasswd. I don't know how RedHat 8.0 installs samba. They do tend to break it up into pieces and you may not have the rpm installed that contains smbpasswd. I wouldn't think so, but it's a thought.