Bug 1823 - Samba & ldapsam incompaitibles with Oracle Internet Directory 10G
Samba & ldapsam incompaitibles with Oracle Internet Directory 10G
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools
x86 Linux
: P3 critical
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2004-09-24 23:45 UTC by bremchandar
Modified: 2005-08-24 10:16 UTC (History)
0 users

See Also:

workaround (2.64 KB, patch)
2004-09-25 03:21 UTC, Volker Lendecke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description bremchandar 2004-09-24 23:45:17 UTC
Im trying to setup a Samba PDC with Oracle Internet Directory 10G (oracle ldap) 
as the backend.[I was able to do the setup the same with openldap as the 
backend.].I have added the necessary samba schemas,objectclasses and attributes 
into my oracle ldap and populated sample entires using ldapadd.I have indexed 
all the necessary attributes. 
The problem occurs when i try to do a smbpasswd of the ldap user,samba is 
retruning the following message:-
smbpasswd benny
New SMB password:
Retype new SMB password:
ldapsam_modify_entry: LDAP Password could not be changed for user benny: 
Protocol error
        UnKnown Error Encountered

ldapsam_update_sam_account: failed to modify user with uid = benny, error: 
UnKnown Error Encountered
Failed to modify entry for user benny.
Failed to modify password entry for user benny
Please provide me a fix as this is more critical.
Comment 1 Volker Lendecke 2004-09-25 03:21:05 UTC
Created attachment 679 [details]

It might be possible that oracle does not support the password change extended
operation. Attached find a fix for that particular problem: Ask the ldap server
first if it supports the exop. If this does not fix your problem, please
provide a sniff of the traffic between Samba and the ldap server. This fix has
been committed, so I'm closing the bug. Please reopen if it does not fix the
problem for you.

Comment 2 Volker Lendecke 2004-09-25 03:22:13 UTC
Please reopen if svn revision 2619 still shows the problem. Then please send a
sniff of port 389 traffic between samba and the ldap server.

Comment 3 Gerald (Jerry) Carter 2005-02-07 07:57:07 UTC
originally reported against 3.0aph24.  Bugzilla spring cleaning.  
Removing old alpha versions.
Comment 4 Gerald (Jerry) Carter 2005-08-24 10:16:05 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.