Samba setup on RH8.0

Francisco Ruiz fruiz at tsitrucks.com
Tue Nov 23 21:15:21 UTC 2004



-----Original Message-----
From: redhat-install-list-bounces at redhat.com
[mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick
Stevens
Sent: Tuesday, November 23, 2004 2:57 PM
To: Getting started with Red Hat Linux
Subject: Re: Samba setup on RH8.0


Francisco Ruiz wrote:
> Nope nothing. Any other ideas?

We prefer bottom-posting here, Francisco.  However,

You do get the login screen, right?  And logging in as the Windows
"Administrator" doesn't work?  Did you try various permutations
("Administrator", "administrator", etc.).

Which security model are you using?  Have you checked the
/var/log/swat.log file to see if there are any clues there?

Using security domain.

Here is tail from log.swat I hope you can make sense out of it.
  smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User
administrator !
[2004/11/23 15:29:41, 0] auth/pampass.c:smb_pam_auth(535)
  smb_pam_auth: PAM: UNKNOWN ERROR while authenticating user
Administrator
[2004/11/23 15:29:41, 0] auth/pampass.c:smb_pam_passcheck(810)
  smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User
Administrator !
[2004/11/23 15:29:57, 0] auth/pampass.c:smb_pam_auth(535)
  smb_pam_auth: PAM: UNKNOWN ERROR while authenticating user root
[2004/11/23 15:29:57, 0] auth/pampass.c:smb_pam_passcheck(810)
  smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User root !
[root at ruizlinux samba]#
> 
> -----Original Message-----
> From: redhat-install-list-bounces at redhat.com
> [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick 
> Stevens
> Sent: Tuesday, November 23, 2004 12:03 PM
> To: Getting started with Red Hat Linux
> Subject: Re: Samba setup on RH8.0
> 
> 
> Francisco Ruiz wrote:
> 
>>Sorry to but in, but I have a question.  I configured samba to
>>authenticate with winbindd to a pdc and after that I wasn't able to 
>>login into SWAT any suggestions?
> 
> 
> Try logging in as the Windows "Administrator" login, since I think the

> default setup maps the Unix user "root" to the Windows user 
> "Administrator".  That means you must use Administrator's password as 
> well.
> 
> 
>>-----Original Message-----
>>From: redhat-install-list-bounces at redhat.com
>>[mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick
>>Stevens
>>Sent: Friday, November 19, 2004 12:23 PM
>>To: Getting started with Red Hat Linux
>>Subject: Re: Samba setup on RH8.0
>>
>>
>>Jared L. Black wrote:
>>
>>
>>>On Thu, 2004-11-18 at 16:27, Rick Stevens wrote:
>>>
>>>
>>>
>>>>Rick Stevens wrote:
>>>>
>>>>
>>>>
>>>>>Jared L. Black wrote:
>>>>
>>>>[snip]
>>>>
>>>>
>>>>
>>>>>>>The easiest way to administer samba is to use swat.  Run "service

>>>>>>>swat start", then point your web browser to
> 
> "http://localhost:901".
> 
>>
>>>>>>>Once you log in as the root user with the root user's password, 
>>>>>>>you'll be given a GUI that you can manage the whole thing.  The 
>>>>>>>on-line help is good and can explain a lot of stuff.  When you're

>>>>>>>done, disable swat by running "service swat stop" (you don't want

>>>>>>>outsiders to get at your swat config) or you can set up iptables
> 
> to
> 
>>
>>>>>>>block outside incoming access to port 901 and leave swat running.

>>>>>>>It's up to you (I tend to stop swat when not using it).
>>>>>>>
>>>>>>>I also recommend you get a copy of the O'Reilly book "Using 
>>>>>>>Samba" by Eckstein, Collier-Brown and Kelly.  I consider it 
>>>>>>>essential for
> 
> 
>>>>>>>Samba users--especially when you start using domain security or a
>>>>>>>Windows PDC for authentication.
>>>>>>
>>>>>>Rick:
>>>>>>Thanks for the reply.  I'll take your advice and get the Using
>>>>>>Samba
>>
>>
>>>>>>book.  In the meantime, I couldn't find a directory where the 
>>>>>>"service swat start" command would work (command not found). Any 
>>>>>>suggestions?
>>>>>
>>>>>
>>>>>Uh, oops!  My bad.  Sorry about that.  It's an xinetd-spawned 
>>>>>program. Do this as root:
>>>>>
>>>>>  # vi /etc/xinetd.d/swat
>>>>>
>>>>>Find the line that says "disable = yes" and change it to "disable =

>>>>>no". Save the file, then enter:
>>>>>
>>>>>  # killall -HUP xinetd
>>>>>
>>>>>Then you can point your browser to "http://localhost:901" and have
>>>>>at
>>
>>
>>>>>it.  To disable swat, change the line back to "disable = yes" and 
>>>>>do the "killall" again.
>>>>>
>>>>>Again, sorry about that.
>>>>
>>>>I forgot one other thing...you may have to install the RPM for it.
>>>>The
>>
>>
>>>>RPM is called "samba-swat" and it's on one of your CDs.  If you're 
>>>>running yum, you can "yum install samba-swat".
>>>>--------------------------------------------------------------------
>>>>-
> 
> -
> 
>>>>- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com
> 
> -
> 
>>>>- VitalStream, Inc.                       http://www.vitalstream.com
> 
> -
> 
>>>>-
> 
> -
> 
>>>>-                    I doubt, therefore I might be.
> 
> -
> 
>>>>--------------------------------------------------------------------
>>>>-
> 
> -
> 
>>>>_______________________________________________
>>>>Redhat-install-list mailing list Redhat-install-list at redhat.com
>>>>https://www.redhat.com/mailman/listinfo/redhat-install-list
>>>>To Unsubscribe Go To ABOVE URL or send a message to: 
>>>>redhat-install-list-request at redhat.com
>>>>Subject: unsubscribe
>>>
>>>
>>>My distribution disks have only samba-2.2.5-10, samba-client-2.2.5-10

>>>and samba-common-2.2.5-10.  I don't see a samba-swat listed.
>>>
>>>The samba suite I installed was samba-8.0.1, which downloaded.  I 
>>>just
>>
>>
>>>now downloaded the samba-swat-8.0.1 version and did an install, but 
>>>it
>>
>>
>>>failed because I don't have libcrypto.so.4 and libssl.so.4.  Am I 
>>>having problems because I've mixed versions?
>>
>>
>>It's possible.  Which Red Hat or Fedora are you using?
>>----------------------------------------------------------------------
>>- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
>>- VitalStream, Inc.                       http://www.vitalstream.com -
>>-                                                                    -
>>-        God is real...........unless declared integer or long       -
>>----------------------------------------------------------------------
>>
>>_______________________________________________
>>Redhat-install-list mailing list Redhat-install-list at redhat.com 
>>https://www.redhat.com/mailman/listinfo/redhat-install-list
>>To Unsubscribe Go To ABOVE URL or send a message to: 
>>redhat-install-list-request at redhat.com
>>Subject: unsubscribe
>>
>>_______________________________________________
>>Redhat-install-list mailing list Redhat-install-list at redhat.com 
>>https://www.redhat.com/mailman/listinfo/redhat-install-list
>>To Unsubscribe Go To ABOVE URL or send a message to: 
>>redhat-install-list-request at redhat.com
>>Subject: unsubscribe
>>
> 
> 
> 


-- 
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-         Microsoft Windows:  Proof that P.T. Barnum was right       -
----------------------------------------------------------------------

_______________________________________________
Redhat-install-list mailing list
Redhat-install-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request at redhat.com
Subject: unsubscribe




More information about the Redhat-install-list mailing list