search for: set_user_info_pw

Displaying 6 results from an estimated 6 matches for "set_user_info_pw".

2004 Mar 15
0
join domain without root
...Should we use current_user->uid, or current_user->conn->uid + * and current_user->conn->user, for any of this? */ + if ( (pass=sys_getpwuid(geteuid())) != NULL ) { + if ( user_in_list(pass->pw_name, lp_domain_admin_group()) ) { + do_become_root = 1; + DEBUG(1, ("set_user_info_pw: EUID %d for rid=%d(=0x%x), with become_root\n", geteuid(), rid, rid)); + } + } + } + + if (do_become_root) become_root(); + ret = pdb_getsampwrid(pwd, rid); + if (do_become_root) unbecome_root(); + if (ret != True) { pdb_free_sam(pwd); return False; } acct_ctrl = pdb_get_ac...
2002 Nov 25
3
samba3.0+pdc+ldap adding machines to domain
Has anyone had any luck adding machine accounts from w2k to a samba 3.0 pdc? I posted the issue last week, as I noticed others were encountering the same problem. The weird thing is I had it working on a box before. But this time I'm using pam_ldap to avoid local unix accounts, and it wont work. I copied the config over from the box that was working, made changes for the different config
2005 Sep 07
3
Samba PDC (3.0.14a) with LDAP cannot add machines
...achine: [2005/09/06 13:12:58, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (1000, 1000) - sec_ctx_stack_ndx = 0 [2005/09/06 13:12:58, 5] rpc_server/srv_samr_nt.c:_samr_set_userinfo(3077) _samr_set_userinfo: does not possess sufficient rights [2005/09/06 13:12:58, 5] rpc_server/srv_samr_nt.c:set_user_info_pw(2961) Attempting administrator password change for user krauq$ [2005/09/06 13:12:58, 10] lib/account_pol.c:account_policy_get(210) account_policy_get: maximum password age:-1 [2005/09/06 13:12:58, 10] lib/account_pol.c:account_policy_get(210) account_policy_get: minimum password age:0 [2005/0...
2003 Dec 15
2
3.0.1rc2 LDAP - problems joining domain
...smbldap_search_suffix: searching for:[(&(sambaSID=S-1-5-21-2656636599-2098491866-229994164-3044)(objectclass=sambaSamAccount))] [2003/12/15 11:29:37, 2] passdb/pdb_ldap.c:init_sam_from_ldap(462) init_sam_from_ldap: Entry found for user: gt1$ [2003/12/15 11:29:37, 5] rpc_server/srv_samr_nt.c:set_user_info_pw(2877) Attempting administrator password change for user gt1$ [2003/12/15 11:29:37, 0] libsmb/smbencrypt.c:decode_pw_buffer(501) decode_pw_buffer: incorrect password length (-2128390977). [2003/12/15 11:29:37, 0] libsmb/smbencrypt.c:decode_pw_buffer(502) decode_pw_buffer: check that 'encry...
2007 Jul 26
0
unix password sync causes domain joining problem?
...ase is TEST1$ [2007/07/26 17:19:59, 5] lib/username.c:Get_Pwnam_internals(102) Checking combinations of 0 uppercase letters in test1$ [2007/07/26 17:19:59, 5] lib/username.c:Get_Pwnam_internals(108) Get_Pwnam_internals didn't find user [test1$]! [2007/07/26 17:19:59, 1] rpc_server/srv_samr_nt.c:set_user_info_pw(3410) chgpasswd: Username does not exist in system !?! [2007/07/26 17:19:59, 3] smbd/chgpasswd.c:chgpasswd(462) chgpasswd: Password change (as_root=Yes) for user: test1$ [2007/07/26 17:19:59, 0] smbd/chgpasswd.c:chgpasswd(521) chgpasswd: user test1$ doesn't exist in the UNIX password database....
2010 Jun 07
0
I have a weird problem with PDC on samba 3.5.3 and I think I need developers' help :)
...from_sam: Setting entry for user: D_DEPTULA_VIRT$ ........... [2010/06/07 11:14:00.508208, 2] passdb/pdb_ldap.c:5472(ldapsam_create_user) ldapsam_create_user: added account [D_DEPTULA_VIRT$] in the LDAP database ........... [2010/06/07 11:14:00.546757, 5] rpc_server/srv_samr_nt.c:4801(set_user_info_pw) Attempting administrator password change for user D_DEPTULA_VIRT$ [2010/06/07 11:14:00.546794, 0] ../libcli/auth/smbencrypt.c:589(decode_pw_buffer) decode_pw_buffer: incorrect password length (-1578185159). [2010/06/07 11:14:00.546821, 0] ../libcli/auth/smbencrypt.c:590(decode_pw_buffer) d...