LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-29-2003, 02:55 AM   #1
majortool
LQ Newbie
 
Registered: Sep 2003
Distribution: gentoo
Posts: 12

Rep: Reputation: 0
Thumbs down samba swat = dumb head


okay simply i've installed samba with swat on gentoo
this is the 3rd distro (redhat, debian) that i've installed on and i can't authenticate with swat
this issue has been occuring for two years
im slightly frusterated with this issue
i've modified my pam files and compiled samba --with-pam, modified my /etc/xinetd.d/swat file and read through every damn forum ... ever created
yada yada
i've done everything short of choking the developer(addresses would be appreciated)
heres an out put of my auth.log
no one seems to mention this as an issue so hopefully this will help someone help me
Sep 29 03:36:53 localhost xinetd[17058]: START: swat pid=32539 from=127.0.0.1
Sep 29 03:36:53 localhost PAM_smbpass[32539]: Failed to find entry for user root.
 
Old 09-29-2003, 04:05 AM   #2
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Rep: Reputation: 31
did you create root user with smbpasswd? I think this might be useful. Then use this root user at the wat console to log in.

Greetz
 
Old 09-29-2003, 07:37 AM   #3
majortool
LQ Newbie
 
Registered: Sep 2003
Distribution: gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
still no help

root@majortool james # smbpasswd
New SMB password:
Retype new SMB password:
unable to open passdb database.
Failed to find entry for user root.
Failed to modify password entry for user root
hmm now thats kinda odd
any ideas?
 
Old 09-29-2003, 07:57 AM   #4
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Rep: Reputation: 31
samba has its own password database. First you have to create it. I think this has to be done with the commpand smbpasswd too, but Im not sure. Read the manpages for smbpasswd, there should be more info.

G

raven
 
Old 09-29-2003, 08:05 AM   #5
majortool
LQ Newbie
 
Registered: Sep 2003
Distribution: gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
yeah i got it working with smbpasswd -a root
it failed out with a slightly different error but still said unable to open passdb
then i did it again and it said
root password changed
then it worked
mir a f**king cle
a little swat documentation would be awesome but the only documentation that samba provides is about two paragraphs long + man page
 
Old 09-29-2003, 09:37 AM   #6
tendaas
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Rep: Reputation: 0
Ive tried the setup on 2 distros and when i had the most problems I would just setup up webmin which has an option for converting all unix users to samba users and samba to unix plus a sync betwen the two.
Although alot of people dont like webmin.
 
Old 09-30-2003, 04:08 AM   #7
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Rep: Reputation: 31
webmin s cool, but unless you really need it, it is not necessary to set it up. Its just another daemon running and listening on the net (and so a potential security hole)

But well, its fun :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Samba/SWAT driesel Linux - Newbie 3 02-13-2005 09:33 AM
Samba and Swat ppuddick Linux - Networking 5 08-15-2002 03:20 AM
Samba Help with Swat? Alinuxnoob Linux - Newbie 9 06-27-2002 06:38 PM
SAMBa and SWAT Snake007uk Linux - General 8 05-16-2002 07:30 PM
samba swat has me chens_83 Linux - General 2 03-22-2002 06:31 PM


All times are GMT -5. The time now is 10:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration