[Samba] Duplicate/No users in LDAP?

Stefan G. Weichinger monitor at oops.co.at
Mon Jun 7 15:01:27 GMT 2004


Hello,

Donnerstag, 03. Juni 2004, 23:29 I wrote:


SGW> Hello,

SGW> as I continued exploring Samba 3.0.4 as a PDC, I managed to get
SGW> roaming profiles up ...

SGW> Saving changes worked out fine.

SGW> I logged in as TheUserWithUID=0 ... and tried to add a user.

Forgot to mention that I tried this using usrmgr.exe ...

SGW> Access denied.

Just to push my question up the list again:


The logs for the XP-client contain:


>> [2004/06/03 23:10:46, 2]
>> passdb/pdb_ldap.c:init_group_from_ldap(1792)
>>   init_group_from_ldap: Entry found for group: 513
>> [2004/06/03 23:10:46, 2] passdb/pdb_ldap.c:init_ldap_from_sam(812)
>>   init_ldap_from_sam: Setting entry for user: bryan
>> [2004/06/03 23:10:46, 2]
>> passdb/pdb_ldap.c:ldapsam_add_sam_account(1734)
>>   ldapsam_add_sam_account: added: uid == bryan in the LDAP database
>> [2004/06/03 23:10:46, 2] passdb/pdb_ldap.c:init_sam_from_ldap(483)
>>   init_sam_from_ldap: Entry found for user: bryan
>> [2004/06/03 23:10:46, 2] passdb/pdb_ldap.c:init_sam_from_ldap(483)
>>   init_sam_from_ldap: Entry found for user: bryan
>> [2004/06/03 23:10:48, 0]
>> lib/util_sock.c:read_socket_with_timeout(304)
>>   read_socket_with_timeout: timeout read. read error = Input/output error.
>> [2004/06/03 23:10:48, 2] smbd/chgpasswd.c:expect(281)
>>   expect: Input/output error
>> [2004/06/03 23:10:48, 2] passdb/pdb_ldap.c:init_sam_from_ldap(483)
>>   init_sam_from_ldap: Entry found for user: bryan
>> [2004/06/03 23:10:49, 0]
>> passdb/pdb_ldap.c:ldapsam_delete_entry(271)
>>   ldapsam_delete_entry: Entry must exist exactly once!

SGW> LDAP shows no such user, I have tried this with several usernames,
SGW> which definitely do not exist ...

SGW> The relevant smb.conf-entry:

SGW> add user script = /usr/local/sbin/smbldap-useradd -m "%u"

SGW> Latest smbldap-tools, BTW.

SGW> This line popped into my eyes:

>> [2004/06/03 23:10:48, 0]
>> lib/util_sock.c:read_socket_with_timeout(304)
>>   read_socket_with_timeout: timeout read. read error = Input/output error.

SGW> As adding/removing users had worked already with the same
SGW> Samba/LDAP-setup I wondered what might have caused this.

SGW> Linux 2.6.7-rc1 ? booted 2.6.6. no change.

SGW> Normal Samba-shares work fine ...
SGW> logging in/out as Domain-Users works fine ...

SGW> --

SGW> Any hints on this?

SGW> -- 
SGW> best regards,
SGW> Stefan G. Weichinger
SGW> mailto:monitor at oops.co.at






-- 
best regards,
Stefan G. Weichinger
mailto:monitor at oops.co.at









More information about the samba mailing list