Bluehost.com Web Hosting $6.95

[Samba] ldap+samba user cannot change his password

This is a discussion on [Samba] ldap+samba user cannot change his password within the Samba forums, part of the Networking and Network Related category; Using "ldap password sync=yes" I can modify user password as admin through "net rpc user password&...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-16-2006
alphac
 
Posts: n/a
Default [Samba] ldap+samba user cannot change his password

Using "ldap password sync=yes" I can modify user password as admin
through "net rpc user password" but if I try to modify it from the user
(net rpc password myuser mypw -U myuser) or from windows (ctrl+alt+del).
I get a timout error:

[2006/03/16 21:52:40, 0] rpc_client/cli_pipe.c:rpc_api_pipe(790)
rpc_api_pipe: Remote machine alphacserver pipe \samr fnum
0x70e9returned critical error. Error was Call timed out: server did not
respond after 10000 milliseconds
[2006/03/16 21:52:40, 0] libsmb/clientgen.c:cli_rpc_pipe_close(375)
cli_rpc_pipe_close: cli_close failed on pipe \samr, fnum 0x70e9 to
machine alphacserver. Error was Call timed out: server did not respond
after 10000 milliseconds

from samba (loglevel 3) logs I see:

smbldap_open: cannot access LDAP when not root..
[2006/03/16 21:08:38, 1] lib/smbldap.c:another_ldap_try(1051)
Connection to LDAP server failed for the 15 try!
[2006/03/16 21:08:39, 0] lib/smbldap.c:smbldap_open(922)
smbldap_open: cannot access LDAP when not root..
[2006/03/16 21:08:39, 0] lib/smbldap.c:smbldap_search_suffix(1346)
smbldap_search_suffix: Problem during the LDAP search: (Time limit
exceeded)


from ldap (loglevel 256+128)

Mar 16 21:10:47 samba1 slapd[1993]: => access_allowed: read access to
"uid=test45,ou=Users,dc=vercell1" "sambaPwdLastSet" requested
Mar 16 21:10:47 samba1 slapd[1993]: <= root access granted
Mar 16 21:10:47 samba1 slapd[1993]: => access_allowed: read access to
"uid=test45,ou=Users,dc=vercell1" "userPassword" requested
Mar 16 21:10:47 samba1 slapd[1993]: <= root access granted
Mar 16 21:10:47 samba1 slapd[1993]: conn=3 op=2 SEARCH RESULT tag=101
err=0 nentries=1 text=
Mar 16 21:10:49 samba1 slapd[1993]: conn=3 op=3 MOD
dn="uid=test45,ou=Users,dc=vercell1"
Mar 16 21:10:49 samba1 slapd[1993]: conn=3 op=3 MOD attr=userPassword
Mar 16 21:10:49 samba1 slapd[1993]: <= acl_access_allowed: granted to
database root
Mar 16 21:10:49 samba1 slapd[1993]: conn=3 op=3 RESULT tag=103 err=0 text=
Mar 16 21:10:49 samba1 slapd[1993]: conn=3 op=4 UNBIND
Mar 16 21:10:49 samba1 slapd[1993]: conn=3 fd=18 closed
Mar 16 21:10:56 samba1 slapd[1991]: conn=0 fd=11 closed
Mar 16 21:11:04 samba1 slapd[1991]: conn=1 fd=12 closed
Mar 16 21:11:04 samba1 slapd[1991]: conn=2 fd=15 closed

slapd.conf acl :

access to attrs=userPassword,sambaLMPassword,sambaNTPassword
by self write
by anonymous auth
by * write
access to *
by self write
by anonymous auth
by * write

I granted write to everyone to see if it was an authentication related
matter but it doesn't look so.


that's a really strange behaviour


Can you help me?
--
Thanks
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:18 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0