msmith@edtech.mcc.edu
2005-Jun-30 21:08 UTC
[Samba] Samba PDC w/ LDAP & Mass Adding Users [SOLVED]
Okay -- got it working. I was using nss_ldap 238... I just unmerged 238, and emerged 207-r1 and it seems to be working fine now. Thanks for everyones help! Marc> >> >> 1.) Make sure you are not using an antique version of OpenLDAP. For > some totally incomprehensible reason most distributions (especiallyRedHat derived ones) ship with very very very old versions of this software. SuSe does quite a bit better.> > OpenLDAP 2.2.26-r2 > >> 2.) You don't say what versions or backend you are using. If you are > using a BDB or HDB backend (and you should) you need to make sure yourDB_CONFIG settings are reasonable. If you are using an LDBM backend then just give up.>> ftp://ftp.kalamazoolinux.org/pub/pdf/LDAP106.pdf > > Sorry, I am using BDB -- but I have used both LDBM and BDB. Cachesettings and all seem to work good.> >> 3.) Does the "id {username}" still work for a user after it stops > addding-for-read? Can you perform an ldapsearch, without restarting theDSA?> > acad1 ~ # id lhart1 > id: io.c:171: ber_free_buf: Assertion `((ber)->ber_opts.lbo_valid==0x2)'failed.> uid=10214(lhart1) gid=505Aborted > > >> >> >> If you've disabled ncsd caching how is nscd crashing? >> > > Well, I can't seem to totally disable it from popping up -- I've added"name cache timeout = 0" to smb.conf (if I understood that correctly, thats supposed to stop nscd from starting, maybe not). I "disabled" it by commenting everything in nscd.conf.> >> >> This is required if you want to enumerate members of a group, it helps > performance. > > Cool, thats good to know. =) > > > "Now, the interesting part. If I change the '-g students' to '-g 'domainusers'' everything works fine!> > Adding users to 'Domain Users' works, but 'students' does not? > > Actually, adding a new group with the first part being "Domain" such asgroup 'Domain Studs' works fine. If the group name doesn't have "Domain" in it, it gets screwed up?"> > > > Thanks for your help, > > Marc > > > > > > -- > To unsubscribe from this list go to the following URL and read theinstructions: https://lists.samba.org/mailman/listinfo/samba>
Apparently Analagous Threads
- Samba PDC w/ LDAP & Mass Adding Users
- net groupmap modify bug
- Samba 3.0 Stable Release - Bug in net rpc vampire ?
- problems with group mappings with ldap
- net: ../../../libraries/liblber/decode.c:644: ber_scanf: Assertion `((ber)->ber_opts.lbo_valid==0x2)' failed.