[Samba] LDAP_NO_SUCH_OBJECT upon new user creation in s4/OpenLDAP

2009-12-07 Thread Eric Woltermann

Hi all,

for some weeks now I am trying to set up Samba4 (alpha9) with an 
OpenLDAP 2.4.17 backend as an AD PDC for my XP/7 clients. It was working 
for some time with Samba's integrated LDAP facility, however I could not 
figure out how to use this database e.g. to authenticate my IMAP users 
against (bind-dn, port etc.).
OpenLDAP was compiled from source using --enable-modules=yes and 
--enable-overlays=yes. Provisioning samba using the command line


setup/provision --ldap-backend-type=openldap 
--slapd-path=/usr/sbin/slapd --username=samba-admin 
--realm=localdomain --domain=Heimnetz --server-role='domain controller' 
--adminpass=somepass


ran through, although there were errors about slapd (id2entry.bdb not 
found, NT_STATUS_UNEXPECTED_NETWORK_ERROR, slapd unable to start). 
Afterwards, slapd and samba start fine, I can join machines to the 
domain Heimnetz (DNS is also working properly), login using the 
administrator account and have a look at the AD via dsa.msc.
Was is NOT working is the creation of new users. Doing that in dsa.msc 
failes with an error message about password policies, but this is 
probably not yet implemented, right?
Going the howto-way, source-dir/setup/newuser blah prompts for a 
password, displays messages about skipping the loading of schema, naming 
context details and domain details, and then failes with the following 
error message:


_ldb.LdbError: (32, 'objectclass: Cannot add 
CN=blah,CN=Users,DC=localdomain, parent does not exist!')


Parsing the logs of slapd I see that newuser performs several searches 
in the directory that slapd all answers with err=32 
(LDAP_NO_SUCH_OBJECT), although in phpLDAPadmin I can see that the 
requested objects exist, including CN=Users,DC=localdomain with 19 
entries after a fresh provisioning.


Any help would be greatly appreciated.
Regards, Eric
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Re: Short delay when logging in an XP client to a Samba PDC

2009-03-24 Thread Eric Woltermann
Eric Woltermann wolleric at gmx.de writes:

 
 Sorry, should have taken more time for that step. :)
 http://www.tf.uni-kiel.de/~ew/samba.log.gz
 

Could someone at least give me a hint where to search for a clue on this strange
delay (smb.conf, DNS and/or DHCP, etc.)? Just had about four seconds again.

Thanks,
Eric

P.S.: I'm subscribed now, just in case that non-subscribers are avoided. :)

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


[Samba] Re: Short delay when logging in an XP client to a Samba PDC

2009-03-22 Thread Eric Woltermann
Volker Lendecke Volker.Lendecke at SerNet.DE writes:

 
 On Sat, Mar 21, 2009 at 12:19:04PM +0100, LiPi - wrote:
  There is a button that says:
  
  Download
  
  It does not require any registration...
 
 Tried it, did nothing for me.
 
 Volker
 
 

Btw, I'm reading this list through Gmane (not subscribed yet -.-'), so have
there been any comments on the subject that were not archived here?

Regards,
Eric



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


[Samba] Re: Short delay when logging in an XP client to a Samba PDC

2009-03-21 Thread Eric Woltermann
Volker Lendecke Volker.Lendecke at SerNet.DE writes:

 
 On Fri, Mar 20, 2009 at 06:54:08PM +, Eric Woltermann wrote:
  [2009/03/20 18:43:45, 3] smbd/open.c:open_file(240)
Tester opened file Tester/ntuser.ini read=Yes write=No (numopen=2)
  [2009/03/20 18:43:49, 3] smbd/close.c:close_normal_file(228)
Tester closed file Tester/ntuser.dat (numopen=1) 
 
 To really figure out what's wrong, we need a debug level 10
 log with debug hires timestamp = yes being set.
 
 Volker
 
 

Hello Volker,

thanks for the quick reply. Just took the log you requested; it's available at
http://speedshare.org/download.php?id=DFF4FCB13 (~63 kB gzipped). The log starts
at the first line after pressing the OK button in XP's login dialog. I have
inserted a comment at the position of the delay; it's at line 1797. Then I cut
off the rest starting at the point when the profile is loaded (after ntuser.*).
Perhaps this delay is a very normal thing in Samba/NT4-style domains. I can only
compare it with my university's Win2k3 domain where there is no delay at all
between pressing OK and the loading your personal settings box.

Eric


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


[Samba] Re: Short delay when logging in an XP client to a Samba PDC

2009-03-21 Thread Eric Woltermann
Volker Lendecke Volker.Lendecke at SerNet.DE writes:

 
 
 This spam thing just says Bitte warten Sie. Apparently it
 wants me to sign up for the premium account anything. Sorry,
 but I will not pay for getting that log file.
 
 Volker
 
 

Sorry, should have taken more time for that step. :)
http://www.tf.uni-kiel.de/~ew/samba.log.gz

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


[Samba] Short delay when logging in an XP client to a Samba PDC

2009-03-20 Thread Eric Woltermann
Hello everyone,

I'm using Samba 3.0.30 as PDC in my home-LAN, the clients are all XP Pro SP2.
Everything is working as it should, although I notice an annoying and quite
random login delay of 1-5 seconds for all user-machine combinations. The log
lines below (log-level 2) are for example what I got about an hour ago:

[2009/03/20 18:43:45, 3] smbd/open.c:open_file(240)
  Tester opened file Tester/ntuser.ini read=Yes write=No (numopen=2)
[2009/03/20 18:43:49, 3] smbd/close.c:close_normal_file(228)
  Tester closed file Tester/ntuser.dat (numopen=1) 

The delay is always between opening and closing ntuser.ini and ntuser.dat. These
two files are around 2MB together and should not cause a four second delay on my
100MBit link. I guess there is some problematic setting in the registry hive
that causes that delay.
Has anyone around here ever noticed that problem? I know a few seconds are no
big deal, but I'm a perfectionist anyway. :)

Greets,
Eric

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