[Samba] ldapsam question

2005-02-08 Thread Jochen Witte
I want to check my new LDAP passdb with the net command, but I get:

# net user
root's password: 
[2005/02/08 15:00:09, 0] utils/net_ads.c:ads_startup(186)
  ads_connect: Interrupted system call


If I use a wrong password, I get:

# net user
root's password: 
[2005/02/08 15:04:05, 0] utils/net_ads.c:ads_startup(186)
  ads_connect: Interrupted system call
Could not connect to server 127.0.0.1
The username or password was not correct.


So the connection seems to be established correctly the first time.

Any hints on this?
-- 
Jochen Witte [EMAIL PROTECTED]


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] ldapsam question

2005-02-08 Thread Paul Gienger

I want to check my new LDAP passdb with the net command, but I get:
# net user
root's password: 
[2005/02/08 15:00:09, 0] utils/net_ads.c:ads_startup(186)
 ads_connect: Interrupted system call
 

I don't think you should be seeing ads messages at all.  What is your 
security setting?  Perhaps shoot your whole smb.conf to the list, inline 
not attached.

If I use a wrong password, I get:
# net user
root's password: 
[2005/02/08 15:04:05, 0] utils/net_ads.c:ads_startup(186)
 ads_connect: Interrupted system call
Could not connect to server 127.0.0.1
 

This part would be a Bad Thing (TM).  You're using LDAP on localhost 
(from your previous posts) so something is borked here.  Is ldap 
running?  Are you trying to use SSL? Again, smb.conf please.

--
--
Paul GiengerOffice: 701-281-1884
Applied Engineering Inc.
Systems Architect   Fax:701-281-1322
URL: www.ae-solutions.com   mailto: [EMAIL PROTECTED]

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] ldapsam question

2005-02-08 Thread Jochen Witte
Am Dienstag, den 08.02.2005, 08:13 -0600 schrieb Paul Gienger:
 I want to check my new LDAP passdb with the net command, but I get:
 
 # net user
 root's password: 
 [2005/02/08 15:00:09, 0] utils/net_ads.c:ads_startup(186)
   ads_connect: Interrupted system call
   
 
 I don't think you should be seeing ads messages at all.  What is your 
 security setting?  Perhaps shoot your whole smb.conf to the list, inline 
 not attached.
 
 If I use a wrong password, I get:
 
 # net user
 root's password: 
 [2005/02/08 15:04:05, 0] utils/net_ads.c:ads_startup(186)
   ads_connect: Interrupted system call
 Could not connect to server 127.0.0.1
   
 
 This part would be a Bad Thing (TM).  You're using LDAP on localhost 
 (from your previous posts) so something is borked here.  Is ldap 
 running?  Are you trying to use SSL? Again, smb.conf please.
 

Here we go (just the important parts):

---snip---
security = user
encrypt passwords = Yes
# Deprecated
#min passwd length = 3
obey pam restrictions = No
ldap passwd sync = Yes
passdb backend = ldapsam:ldap://127.0.0.1/
ldap admin dn = cn=root,suffix
ldap suffix = suffix
ldap group suffix = ou=Group
ldap user suffix = ou=People
ldap machine suffix = ou=Hosts
ldap idmap suffix = ou=People

---snip--- 

Do You need more?

Regards
Jochen


-- 
Jochen Witte [EMAIL PROTECTED]


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba