Hello all, I've set perms on /home/samba/private and /home/samba/private/smbpasswd, and made smbpasswd with the script. I'm on the third step of the diagnostic test at http://us1.samba.org/samba/docs/DIAGNOSIS.html and I'm getting this error message right after I enter root or user password (doesn't matter which): session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect According to the docs: "If you get a error message containing the string "Bad password" then you probably have either an incorrect "hosts allow", "hosts deny" or "valid users" line in your smb.conf, or your guest account is not valid. Check what your guest account is using "testparm" and temporarily remove any "hosts allow", "hosts deny", "valid users" or "invalid users" lines." Now, having run testparm I have these lines: "guest account = nobody invalid users valid users guest only = No guest ok = No only user = No hosts allow hosts deny =Y" So I think my guest account is the culprit. In /etc/smb.conf there's the guest=pcguest which is currently commented out. Now, to get around having to sync passwords between *nix and NT, I'm trying to follow the directions given in DOMAIN_MEMBER.txt. Unfortunately, I get this result: [root@hapkido samba]# smbpasswd -j HR -r DYLAN cli_net_auth2: Error NT_STATUS_NO_TRUST_SAM_ACCOUNT cli_nt_setup_creds: auth2 challenge failed modify_trust_password: unable to setup the PDC credentials to machine DYLAN. Error was : NT_STATUS_NO_TRUST_SAM_ACCOUNT. 1999/08/24 17:46:28 : change_trust_account_password: Failed to change password for domain HR. Unable to join domain HR. However, my samba server appears fine in Server Manager on NT. Any tips to untangle this? Thanks, -- **************** * Adam Getchell * acgetchell@ucdavis.edu **************** "Invincibility is in oneself, vulnerability in the opponent." -- Sun Tzu
What references would you recommend for setting up Samba from scratch? I have approximately 125 W95, W98 & NT4.0 machines networked on a TCP/IP ethernet LAN and roughly 200 Sun boxes running Solaris 2.51 & Solaris 2.7. I want to be able to have everyone communicate, map home drives and authenticate passwords from the same Unix Server. I was told Samba could be used for this purpose. Kemmith Mosley
On 0, Kemmith Mosley <kemmith@erols.com> wrote:> What references would you recommend for setting up Samba from scratch? I > have approximately 125 W95, W98 & NT4.0 machines networked on a TCP/IP > ethernet LAN and roughly 200 Sun boxes running Solaris 2.51 & Solaris > 2.7. I want to be able to have everyone communicate, map home drives and > authenticate passwords from the same Unix Server. I was told Samba could > be used for this purpose. > > Kemmith Mosley > >Try this URL. http://sambadocs.chem.mtu.edu/using_samba/index.html It has very clear explanation of what to configure on each platform. I went and bought the book. It has lot of useful info. Subba Rao subb3@attglobal.net http://pws.prserv.net/truemax/ => Time is relative. Here is a new way to look at time. <http://www.smcinnovations.com
Hi to you all, I'm setting up a network to where I have Linux and W2k Active Directory.I have Redhat 8.0 and i want it to see and access file between the two OS'S. I downloaded the latest samba binaries 3.0.2 and edit the smb.conf.How do i know if my linux will act as a samba server? Should i select "everything" when i load redhat again or should i just continue what i have now? When i ran testparm it tells me Server_Role:StandAlone. I appreciate the help. gerald __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree
Gerald, If you have smb.conf then you almost certainly have Samba installed. To make sure, check your RPM database to make sure the packages are installed. At the command line: rpm -qa | grep samba If you want to turn it off or on: service smb stop service smb start service smb restart This starts or stops the service, and only the superuser (root) can do this. Also, you can configure Samba to be on automatically every time you boot like this: chkconfig smb --list chkconfig smb on chkconfig is a good way to configure which services are running on your system in various run levels. Text mode is run level 3, graphical is run level 5. This is also a good command to help you turn off things you don't need, though it does not stop services, but rather sets whether or not services run. A lot of this is Linux general information, not Samba-specific. Hope this helps ... -Ed Gerald wrote:> Hi to you all, > > I'm setting up a network to where I have Linux and W2k > Active Directory.I have Redhat 8.0 and i want it to > see and access file between the two OS'S. I downloaded > the latest samba binaries 3.0.2 and edit the > smb.conf.How do i know if my linux will act as a samba > server? Should i select "everything" when i load > redhat again or should i just continue what i have > now? > > When i ran testparm it tells me > Server_Role:StandAlone. > > I appreciate the help. > > gerald > > __________________________________ > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > http://antispam.yahoo.com/whatsnewfreeAny information, including protected health information (PHI), transmitted in this email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential and or exempt from disclosure under applicable Federal or State law. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon, protected health information (PHI) by persons or entities other than the intended recipient is prohibited. If you received this email in error, please contact the sender and delete the material from any computer.