yes! adding ldapsam and ldap to the USE flags made samba work they way i wanted it to. i still have problems running smbldap-populate though.
heres what happens:
Code: Select all
james iver # smbldap-populate
Populating LDAP directory for domain IDEALX-NT (S-1-5-21-4205727931-4131263253-1851132061)
(using builtin directory structure)
adding new entry: dc=idealx,dc=org
failed to add entry: no global superior knowledge at /usr/sbin/smbldap-populate line 471, <GEN1> line 2.
adding new entry: ou=Users,dc=idealx,dc=org
failed to add entry: no global superior knowledge at /usr/sbin/smbldap-populate line 471, <GEN1> line 3.
adding new entry: ou=Groups,dc=idealx,dc=org
failed to add entry: no global superior knowledge at /usr/sbin/smbldap-populate line 471, <GEN1> line 4.
adding new entry: ou=Computers,dc=idealx,dc=org
failed to add entry: no global superior knowledge at /usr/sbin/smbldap-populate line 471, <GEN1> line 5.
adding new entry: ou=Idmap,dc=idealx,dc=org
failed to add entry: no global superior knowledge at /usr/sbin/smbldap-populate line 471, <GEN1> line 6.
adding new entry: uid=root,ou=Users,dc=idealx,dc=org
failed to add entry: no global superior knowledge at /usr/sbin/smbldap-populate line 471, <GEN1> line 7.
adding new entry: uid=nobody,ou=Users,dc=idealx,dc=org
failed to add entry: no global superior knowledge at /usr/sbin/smbldap-populate line 471, <GEN1> line 8.
adding new entry: cn=Domain Admins,ou=Groups,dc=idealx,dc=org
failed to add entry: no global superior knowledge at /usr/sbin/smbldap-populate line 471, <GEN1> line 9.
adding new entry: cn=Domain Users,ou=Groups,dc=idealx,dc=org
failed to add entry: no global superior knowledge at /usr/sbin/smbldap-populate line 471, <GEN1> line 10.
adding new entry: cn=Domain Guests,ou=Groups,dc=idealx,dc=org
failed to add entry: no global superior knowledge at /usr/sbin/smbldap-populate line 471, <GEN1> line 11.
adding new entry: cn=Domain Computers,ou=Groups,dc=idealx,dc=org
failed to add entry: no global superior knowledge at /usr/sbin/smbldap-populate line 471, <GEN1> line 12.
adding new entry: cn=Administrators,ou=Groups,dc=idealx,dc=org
failed to add entry: no global superior knowledge at /usr/sbin/smbldap-populate line 471, <GEN1> line 16.
adding new entry: cn=Account Operators,ou=Groups,dc=idealx,dc=org
failed to add entry: no global superior knowledge at /usr/sbin/smbldap-populate line 471, <GEN1> line 18.
adding new entry: cn=Print Operators,ou=Groups,dc=idealx,dc=org
failed to add entry: no global superior knowledge at /usr/sbin/smbldap-populate line 471, <GEN1> line 19.
adding new entry: cn=Backup Operators,ou=Groups,dc=idealx,dc=org
failed to add entry: no global superior knowledge at /usr/sbin/smbldap-populate line 471, <GEN1> line 20.
adding new entry: cn=Replicators,ou=Groups,dc=idealx,dc=org
failed to add entry: no global superior knowledge at /usr/sbin/smbldap-populate line 471, <GEN1> line 21.
adding new entry: sambaDomainName=IDEALX-NT,dc=idealx,dc=org
failed to add entry: no global superior knowledge at /usr/sbin/smbldap-populate line 471, <GEN1> line 21.
Please provide a password for the domain root:
No such object at /usr/sbin//smbldap_tools.pm line 341.
Code: Select all
Jan 19 15:17:07 james slapd[18281]: conn=215 fd=19 ACCEPT from IP=127.0.0.1:35203 (IP=0.0.0.0:389)
Jan 19 15:17:07 james slapd[18281]: conn=215 op=0 BIND dn="cn=Manager,dc=asperud,dc=net" method=128
Jan 19 15:17:07 james slapd[18281]: conn=215 op=0 RESULT tag=97 err=49 text=
Jan 19 15:17:07 james slapd[18281]: conn=215 op=1 SRCH base="dc=idealx,dc=org" scope=0 deref=2 filter="(objectClass=*)"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=1 SEARCH RESULT tag=101 err=32 nentries=0 text=
Jan 19 15:17:07 james slapd[18281]: conn=215 op=2 ADD dn="dc=idealx,dc=org"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=2 RESULT tag=105 err=53 text=no global superior knowledge
Jan 19 15:17:07 james slapd[18281]: conn=215 op=3 SRCH base="ou=Users,dc=idealx,dc=org" scope=0 deref=2 filter="(objectClass=*)"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=3 SEARCH RESULT tag=101 err=32 nentries=0 text=
Jan 19 15:17:07 james slapd[18281]: conn=215 op=4 ADD dn="ou=Users,dc=idealx,dc=org"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=4 RESULT tag=105 err=53 text=no global superior knowledge
Jan 19 15:17:07 james slapd[18281]: conn=215 op=5 SRCH base="ou=Groups,dc=idealx,dc=org" scope=0 deref=2 filter="(objectClass=*)"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=5 SEARCH RESULT tag=101 err=32 nentries=0 text=
Jan 19 15:17:07 james slapd[18281]: conn=215 op=6 ADD dn="ou=Groups,dc=idealx,dc=org"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=6 RESULT tag=105 err=53 text=no global superior knowledge
Jan 19 15:17:07 james slapd[18281]: conn=215 op=7 SRCH base="ou=Computers,dc=idealx,dc=org" scope=0 deref=2 filter="(objectClass=*)"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=7 SEARCH RESULT tag=101 err=32 nentries=0 text=
Jan 19 15:17:07 james slapd[18281]: conn=215 op=8 ADD dn="ou=Computers,dc=idealx,dc=org"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=8 RESULT tag=105 err=53 text=no global superior knowledge
Jan 19 15:17:07 james slapd[18281]: conn=215 op=9 SRCH base="ou=Idmap,dc=idealx,dc=org" scope=0 deref=2 filter="(objectClass=*)"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=9 SEARCH RESULT tag=101 err=32 nentries=0 text=
Jan 19 15:17:07 james slapd[18281]: conn=215 op=10 ADD dn="ou=Idmap,dc=idealx,dc=org"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=10 RESULT tag=105 err=53 text=no global superior knowledge
Jan 19 15:17:07 james slapd[18281]: conn=215 op=11 SRCH base="uid=root,ou=Users,dc=idealx,dc=org" scope=0 deref=2 filter="(objectClass=*)"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=11 SEARCH RESULT tag=101 err=32 nentries=0 text=
Jan 19 15:17:07 james slapd[18281]: conn=215 op=12 ADD dn="uid=root,ou=Users,dc=idealx,dc=org"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=12 RESULT tag=105 err=53 text=no global superior knowledge
Jan 19 15:17:07 james slapd[18281]: conn=215 op=13 SRCH base="uid=nobody,ou=Users,dc=idealx,dc=org" scope=0 deref=2 filter="(objectClass=*)"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=13 SEARCH RESULT tag=101 err=32 nentries=0 text=
Jan 19 15:17:07 james slapd[18281]: conn=215 op=14 ADD dn="uid=nobody,ou=Users,dc=idealx,dc=org"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=14 RESULT tag=105 err=53 text=no global superior knowledge
Jan 19 15:17:07 james slapd[18281]: conn=215 op=15 SRCH base="cn=Domain Admins,ou=Groups,dc=idealx,dc=org" scope=0 deref=2 filter="(objectClass=*)"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=15 SEARCH RESULT tag=101 err=32 nentries=0 text=
Jan 19 15:17:07 james slapd[18281]: conn=215 op=16 ADD dn="cn=Domain Admins,ou=Groups,dc=idealx,dc=org"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=16 RESULT tag=105 err=53 text=no global superior knowledge
Jan 19 15:17:07 james slapd[18281]: conn=215 op=17 SRCH base="cn=Domain Users,ou=Groups,dc=idealx,dc=org" scope=0 deref=2 filter="(objectClass=*)"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=17 SEARCH RESULT tag=101 err=32 nentries=0 text=
Jan 19 15:17:07 james slapd[18281]: conn=215 op=18 ADD dn="cn=Domain Users,ou=Groups,dc=idealx,dc=org"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=18 RESULT tag=105 err=53 text=no global superior knowledge
Jan 19 15:17:07 james slapd[18281]: conn=215 op=19 SRCH base="cn=Domain Guests,ou=Groups,dc=idealx,dc=org" scope=0 deref=2 filter="(objectClass=*)"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=19 SEARCH RESULT tag=101 err=32 nentries=0 text=
Jan 19 15:17:07 james slapd[18281]: conn=215 op=20 ADD dn="cn=Domain Guests,ou=Groups,dc=idealx,dc=org"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=20 RESULT tag=105 err=53 text=no global superior knowledge
Jan 19 15:17:07 james slapd[18281]: conn=215 op=21 SRCH base="cn=Domain Computers,ou=Groups,dc=idealx,dc=org" scope=0 deref=2 filter="(objectClass=*)"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=21 SEARCH RESULT tag=101 err=32 nentries=0 text=
Jan 19 15:17:07 james slapd[18281]: conn=215 op=22 ADD dn="cn=Domain Computers,ou=Groups,dc=idealx,dc=org"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=22 RESULT tag=105 err=53 text=no global superior knowledge
Jan 19 15:17:07 james slapd[18281]: conn=215 op=23 SRCH base="cn=Administrators,ou=Groups,dc=idealx,dc=org" scope=0 deref=2 filter="(objectClass=*)"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=23 SEARCH RESULT tag=101 err=32 nentries=0 text=
Jan 19 15:17:07 james slapd[18281]: conn=215 op=24 ADD dn="cn=Administrators,ou=Groups,dc=idealx,dc=org"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=24 RESULT tag=105 err=53 text=no global superior knowledge
Jan 19 15:17:07 james slapd[18281]: conn=215 op=25 SRCH base="cn=Account Operators,ou=Groups,dc=idealx,dc=org" scope=0 deref=2 filter="(objectClass=*)"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=25 SEARCH RESULT tag=101 err=32 nentries=0 text=
Jan 19 15:17:07 james slapd[18281]: conn=215 op=26 ADD dn="cn=Account Operators,ou=Groups,dc=idealx,dc=org"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=26 RESULT tag=105 err=53 text=no global superior knowledge
Jan 19 15:17:07 james slapd[18281]: conn=215 op=27 SRCH base="cn=Print Operators,ou=Groups,dc=idealx,dc=org" scope=0 deref=2 filter="(objectClass=*)"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=27 SEARCH RESULT tag=101 err=32 nentries=0 text=
Jan 19 15:17:07 james slapd[18281]: conn=215 op=28 ADD dn="cn=Print Operators,ou=Groups,dc=idealx,dc=org"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=28 RESULT tag=105 err=53 text=no global superior knowledge
Jan 19 15:17:07 james slapd[18281]: conn=215 op=29 SRCH base="cn=Backup Operators,ou=Groups,dc=idealx,dc=org" scope=0 deref=2 filter="(objectClass=*)"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=29 SEARCH RESULT tag=101 err=32 nentries=0 text=
Jan 19 15:17:07 james slapd[18281]: conn=215 op=30 ADD dn="cn=Backup Operators,ou=Groups,dc=idealx,dc=org"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=30 RESULT tag=105 err=53 text=no global superior knowledge
Jan 19 15:17:07 james slapd[18281]: conn=215 op=31 SRCH base="cn=Replicators,ou=Groups,dc=idealx,dc=org" scope=0 deref=2 filter="(objectClass=*)"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=31 SEARCH RESULT tag=101 err=32 nentries=0 text=
Jan 19 15:17:07 james slapd[18281]: conn=215 op=32 ADD dn="cn=Replicators,ou=Groups,dc=idealx,dc=org"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=32 RESULT tag=105 err=53 text=no global superior knowledge
Jan 19 15:17:07 james slapd[18281]: conn=215 op=33 SRCH base="sambaDomainName=IDEALX-NT,dc=idealx,dc=org" scope=0 deref=2 filter="(objectClass=*)"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=33 SEARCH RESULT tag=101 err=32 nentries=0 text=
Jan 19 15:17:07 james slapd[18281]: conn=215 op=34 ADD dn="sambaDomainName=IDEALX-NT,dc=idealx,dc=org"
Jan 19 15:17:07 james slapd[18281]: conn=215 op=34 RESULT tag=105 err=53 text=no global superior knowledge
Jan 19 15:17:07 james slapd[18281]: conn=215 op=35 UNBIND
Jan 19 15:17:07 james slapd[18281]: conn=215 fd=19 closed
Jan 19 15:17:08 james slapd[18281]: conn=216 fd=19 ACCEPT from IP=127.0.0.1:35204 (IP=0.0.0.0:389)
Jan 19 15:17:08 james slapd[18281]: conn=216 op=0 BIND dn="cn=Manager,dc=asperud,dc=net" method=128
Jan 19 15:17:08 james slapd[18281]: conn=216 op=0 RESULT tag=97 err=49 text=
Jan 19 15:17:08 james slapd[18281]: conn=216 op=1 SRCH base="dc=idealx,dc=org" scope=2 deref=2 filter="(&(objectClass=posixAccount)(uid=root))"
Jan 19 15:17:08 james slapd[18281]: conn=216 op=1 SEARCH RESULT tag=101 err=32 nentries=0 text=
Jan 19 15:17:08 james slapd[18281]: conn=216 fd=19 closed
this one near the end is kind of weird: Jan 19 15:17:08 james slapd[18281]: conn=216 op=0 BIND dn="cn=Manager,dc=asperud,dc=net" method=128
im quite sure i have changed all the config files to dc=mydomain,dc=org. is there some command i have to write to reload the config files?
thanks for all your help
EDIT: it changed smbldap_bind.conf to dc=mydomain,dc=org, and now the messages log tells me its using those values. it still doesnt work though...