[Samba] Samba 3.0 alpha 24 and LDAP

Jeff Means meaje at meanspc.com
Sun Jun 1 14:13:59 GMT 2003


I am having problems with putting users into LDAP I am getting a message
about 'parent does not exist'. Does anyone know what this means??

--- Debug Level 10 output of 'smbpasswd -a -m jeff-w$' ---

[root at bast samba]# bin/smbpasswd -a -m jeff-w$ -D 10
Netbios name list:-
my_netbios_names[0]="BAST"
Trying to load: ldapsam:ldap://bast.picotech.net/
Attempting to register passdb backend ldapsam
Successfully added passdb backend 'ldapsam'
Attempting to register passdb backend ldapsam_compat
Successfully added passdb backend 'ldapsam_compat'
Attempting to register passdb backend smbpasswd
Successfully added passdb backend 'smbpasswd'
Attempting to register passdb backend tdbsam
Successfully added passdb backend 'tdbsam'
Attempting to register passdb backend guest
Successfully added passdb backend 'guest'
Attempting to find an passdb backend to match
ldapsam:ldap://bast.picotech.net/
(ldapsam)
Found pdb backend ldapsam
pdb backend ldapsam:ldap://bast.picotech.net/ has a valid init
ldapsam_search_suffix: searching
for:[(&(uid=jeff-w$)(objectclass=sambaSamAccount))]
ldapsam_open_connection: ldap://bast.picotech.net/
ldapsam_open_connection: connection opened
ldap_connect_system: Binding to ldap server ldap://bast.picotech.net/ as
"cn=root,o=smb,dc=meanspc,dc=com"
ldap_connect_system: succesful connection to the LDAP server
The LDAP server is succesful connected
Unable to locate user [jeff-w$] count=0
Finding user jeff-w$
Trying _Get_Pwnam(), username as lowercase is jeff-w$
Get_Pwnam_internals did find user [jeff-w$]!
pdb_set_username: setting username jeff-w$, was
element 11 -> now SET
pdb_set_full_name: setting full name Jeffs Windows Box, was
element 12 -> now SET
pdb_set_unix_homedir: setting home dir /home/jeff-w$, was NULL
element 21 -> now SET
pdb_set_domain: setting domain MEANSPC, was
pdb_set_user_sid: setting user sid
S-1-5-21-720503001-857626571-2809650969-2022
element 17 -> now SET
pdb_set_user_sid_from_rid:
        setting user sid S-1-5-21-720503001-857626571-2809650969-2022
from rid 2022
ldapsam_search_one_group: searching
for:[(&(objectClass=sambaGroupMapping)(gidNumber=511))]
ldapsam_open: already connected to the LDAP server
Did not find group for filter
(&(objectClass=sambaGroupMapping)(gidNumber=511))
pdb_set_group_sid: setting group sid
S-1-5-21-720503001-857626571-2809650969-2023
element 18 -> now SET
pdb_set_group_sid_from_rid:
        setting group sid S-1-5-21-720503001-857626571-2809650969-2023
from rid
2023
account_policy_get: maximum password age:1814400
account_policy_get: minimum password age:0
ldapsam_search_suffix: searching
for:[(&(uid=jeff-w$)(objectclass=sambaSamAccount))]
ldapsam_open: already connected to the LDAP server
ldapsam_search_suffix: searching for:[(uid=jeff-w$)]
ldapsam_open: already connected to the LDAP server
Adding new user
Setting entry for user: jeff-w$
ldapsam_open: already connected to the LDAP server
failed to add user dn= uid=jeff-w$,ou=Computers,o=smb,dc=meanspc,dc=com
with: No such object
        parent does not exist
failed to modify/add user with uid = jeff-w$ (dn =
uid=jeff-w$,ou=Computers,o=smb,dc=meanspc,dc=com)
Failed to add entry for user jeff-w$.
Failed to modify password entry for user jeff-w$
[root at bast samba]#

--- end output ---

---
Jeff Means
CIO PicoTech
meaje at picotech.net
http://www.picotech.net




More information about the samba mailing list