View previous topic :: View next topic |
Author |
Message |
Klavs Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/5492292243e8b08c7ba8ef.jpg)
Joined: 22 May 2002 Posts: 536 Location: Denmark
|
Posted: Wed Dec 04, 2002 2:33 pm Post subject: smbpasswd suddenly thinks it needs LDAP :-( |
|
|
Hi guys,
I just tried to change my smbpasswd and I got this output:
smbpasswd klavs
New SMB password:
Retype new SMB password:
LDAPS option set...!
fetch_ldap_pw: no ldap secret retrieved!
ldap_connect_system: Failed to retrieve password for from secrets.tdb
Failed to find entry for user klavs.
Failed to modify password entry for user klavs
what the hell is happening here? how did it got setup to auth via ldap?
I see no evidence of this in smb.conf or anywhere else.
I just know that I've installed openldap and pam_ldap - but that shouldn't mean that samba suddenly decides to auth via that?
Any help will be appreciated. _________________ Best regards,
Klavs Klavsen
Denmark
Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lx Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/3e83a3b53cf36f6da849c.jpg)
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Wed Dec 04, 2002 2:38 pm Post subject: |
|
|
Obvious fix recompile samba, using Code: | USE="-ldap" emerge samba | .
Cya lX. _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Klavs Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/5492292243e8b08c7ba8ef.jpg)
Joined: 22 May 2002 Posts: 536 Location: Denmark
|
Posted: Wed Dec 04, 2002 2:50 pm Post subject: |
|
|
I know. but what if I wanted to be able to set it up for samba later on?
But thanks for the info.
anyways, I think I'm gonna have to do that until now ![Sad :-(](images/smiles/icon_sad.gif) _________________ Best regards,
Klavs Klavsen
Denmark
Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
flickerfly l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Funny_Figure/pilgrim.gif)
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
Posted: Thu Jan 30, 2003 3:37 pm Post subject: Comment out LDAP lines |
|
|
You should be able to just comment out the LDAP lines in /etc/samba, or it may have something to do with the pasword change script. That might have to be changed back to default, but I'm not sure what that would be or if it is even neccesary w/out LDAP.
A place to start anyway...
_JR _________________ An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Klavs Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/5492292243e8b08c7ba8ef.jpg)
Joined: 22 May 2002 Posts: 536 Location: Denmark
|
Posted: Fri Jan 31, 2003 8:57 am Post subject: |
|
|
The weird thing was, that there wasn't any LDAP lines in /etc/samba/smb.conf - otherwise I would have disabled them. it simply defaulted to LDAP
Anyways, for now I have compiled it with USE="-LDAP". _________________ Best regards,
Klavs Klavsen
Denmark
Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Nightweaver n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Jul 2002 Posts: 40
|
Posted: Fri Jan 31, 2003 10:45 am Post subject: |
|
|
I had this problem, too ... I didn't have LDAP in either /etc/make.conf or the other one (that you aren't meant to change), and I *still* had to explicitly say 'USE="-ldap"' to install Samba. _________________ My mummy says I'm l33t. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
flickerfly l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Funny_Figure/pilgrim.gif)
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
Posted: Fri Jan 31, 2003 2:23 pm Post subject: Who do we notify |
|
|
[quote="Nightweaver"]I had this problem, too ... I didn't have LDAP in either /etc/make.conf or the other one (that you aren't meant to change), and I *still* had to explicitly say 'USE="-ldap"' to install Samba.[/quote]
Anybody post a bug for it yet? _________________ An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
flickerfly l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Funny_Figure/pilgrim.gif)
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Carlo Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/20991155413e41b8130c9ee.png)
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Sat Feb 01, 2003 1:16 am Post subject: |
|
|
I experienced the same problem. While I recompiled samba, I looked at smb.conf and didn't found an entry like this: smb passwd file = /etc/samba/smbpasswd.
Maybe that's the reason why samba expects a ldap server?
Carlo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Klavs Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/5492292243e8b08c7ba8ef.jpg)
Joined: 22 May 2002 Posts: 536 Location: Denmark
|
Posted: Mon Feb 03, 2003 9:37 am Post subject: |
|
|
Quote: | I experienced the same problem. While I recompiled samba, I looked at smb.conf and didn't found an entry like this: smb passwd file = /etc/samba/smbpasswd.
Maybe that's the reason why samba expects a ldap server? |
Did you try it? I just did, and smbpasswd gives me the exact same error message - and btw. I had smb passwd file = /etc/samba/smbpasswd in my /etc/samba/smb.conf all the time.
So no go on that one I'm reinstalling my old samba again - thank god for pacakges. _________________ Best regards,
Klavs Klavsen
Denmark
Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Carlo Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/20991155413e41b8130c9ee.png)
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Mon Feb 03, 2003 3:55 pm Post subject: |
|
|
Klavs wrote: | Did you try it? |
No - it was just an idea I had while recompiling samba with negated ldap use flag. I was to lazy to check this assumtion. Sorry.
Carlo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|