search for: secrets_fetch

Displaying 20 results from an estimated 65 matches for "secrets_fetch".

2005 Mar 16
0
Primary group is 0 - secrets_fetch failed!
...nd contains 0 supplementary groups [2005/03/16 08:40:50.029016, 5, pid=5524, effective(0, 0), real(0, 0)] auth/auth_util.c:is_trusted_domain(1448) is_trusted_domain: Checking for domain trust with [TESTPDC0] [2005/03/16 08:40:50.029283, 5, pid=5524, effective(0, 0), real(0, 0)] passdb/secrets.c:secrets_fetch_trusted_domain_password(334) secrets_fetch failed! [2005/03/16 08:40:50.029474, 3, pid=5524, effective(0, 0), real(0, 0)] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2005/03/16 08:40:50.029710, 10, pid=5524, effective(0, 0), real(0, 0)] lib/gencache.c:gencache_...
2013 Dec 17
1
"net getdomainsid" reporting "Could not fetch local SID" -- am I using this command appropriately?
...d that ./net wasn't using the right smb.conf, so I ran: ./net -s /etc/samba/smb.conf getdomainsid. 9. Finally, I was able to reproduce the "Could not fetch local SID" error message. Running gdb --args ./net -s /etc/samba/smb.conf getdomainsid revealed that net makes four calls to the secrets_fetch function before failing. Call to secrets_fetch 1: Retrieves the LDAP backend password. Call to secrets_fetch 2: Retrieves the SID for the domain (i.e. SECRETS/SID/RECREATION) Call to secrets_fetch 3: Retrieves the SID for the domain a second time. Call to secrets_fetch 4: Attempts to retrieve the...
2023 Aug 29
1
Classic Upgrade changes domain SID
...> I spent some hours today to debug the problem by > adding lots of printf-statements into the samba4 > source. > > Here are my findings: > - upgrade.py calls passdb.get_global_sam_sid() > - get_global_sam_sid() calls pdb_generate_sam_sid() > - pdb_generate_sam_sid() calls secrets_fetch_domain_sid() > - secrets_fetch_domain_sid() calls secrets_fetch() > - secrets_fetch() calls dbwrap_fetch() > - dbwrap_fetch() reads the correct file and returns > exactly the binary string that tdbdump displays > > At this point I was really astonished: Everything works > a...
2006 Jan 09
2
secrets failed
Well, i have a serious problem, all of an sudden samba rejects all my workstations and servers! my samba PDC reports back to me, secrets_fetch failed! nothing has changed, or altered.. it comes out of the blue! i did upgrade samba from 3.0.11 to 3.0.21, but that was 2 weeks ago, and the upgrade worked. (until now that is) going back to 3.0.11 didn't work, I'm kinda lost here.. suggestions might really help... thx Collen.
2006 Sep 26
2
PLEASE HELP! Can't add machines to domain!
...s. It adds the machine to ldap but does not add any of the necessary samba attributes. I thought the machine was supposed to do this now and not the scripts. Is this correct? If so I am seeing one thing in the log for the machine that I think may have something to do with it. It says "secrets_fetch failed!" just before the check for the machine and failing. What does this mean and is this a problem? As you can see the administrator authenticates fine. When it fails the check for the machine account with NT_STATUS_NO_SUCH_USER it is searching the ldap for "(&(uid=xplaptop...
2003 Oct 26
1
Some Users not shown and profiles won't work
Hi I'm running samba 3.0 with ldap backand and Suse 8.2. If I want to edit ACLs from windows an a samba-share not all users are shown. "holger" i shown but "hein" isn't shown. Andy idea why? It's very strange because both can login the domain. I had to set attribute sambaProfilePath for user "hein" to the sambe value defined in smb.conf. I won't add
2020 Feb 13
1
Samba 4.11.6 cannot JOIN - 'Could not find machine account'
...-3876585788-2465688680-3807591480] [2020/02/13 01:18:42.759997, 5] ../../source3/passdb/passdb.c:2396(get_trust_pw_clear2) get_trust_pw_clear2: could not fetch clear text trust account password for domain OFFICE [2020/02/13 01:18:42.760013, 5] ../../source3/passdb/machine_account_secrets.c:343(secrets_fetch_trust_account_password _legacy) secrets_fetch failed! [2020/02/13 01:18:42.760024, 5] ../../source3/passdb/passdb.c:2475(get_trust_pw_hash2) get_trust_pw_hash: could not fetch trust account password for domain OFFICE [2020/02/13 01:18:42.760896, 3] ../../lib/ldb-samba/ldb_wrap.c:332(ldb_wrap_...
2006 Oct 04
2
Windows client does not recognize password change...
...have failed because it couldn't find the "sambaPwdMustChange" attribute. But using a LDAP browser, I see that the "sambaPwdMustChange" is there. Any suggestions on how to fix this or what the problem may be? Thank you! Jason [2006/10/04 13:13:00, 5] passdb/secrets.c:secrets_fetch_trusted_domain_password(325) secrets_fetch failed! [2006/10/04 13:13:11, 2] passdb/pdb_ldap.c:init_sam_from_ldap(499) init_sam_from_ldap: Entry found for user: jason [2006/10/04 13:13:11, 7] passdb/login_cache.c:login_cache_read(83) Looking up login cache for user jason [2006/10/04 13:13:1...
2004 Apr 22
0
internal error occurs while domain users try to access file servers
.../MM/DD 09:10:14, 3] smbd/pipes.c:reply_pipe_write_and_X(199) writeX-IPC pnum=7778 nwritten=448 smb log for Resource Domain Controller $B!J(B/var/samba/log/smb.log.machine_no_3$B!K(B *********************************************************************** [YYYY/MM/DD 09:10:13, 5] passdb/secrets.c:secrets_fetch_trusted_domain_password (299) secrets_fetch failed! [YYYY/MM/DD 09:10:13, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (999, 514) - sec_ctx_stack_ndx = 0 [YYYY/MM/DD 09:10:13, 10] lib/gencache.c:gencache_get(286) Cache entry with key = TDOM/Account_Domain couldn't be found [YYYY/MM/DD 0...
2010 Sep 24
1
trouble joining win xp machines to samba with ldap backend DC
...auth/auth_util.c:debug_unix_user_token(474) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2010/09/24 11:42:38, 5] auth/auth_util.c:is_trusted_domain(2261) is_trusted_domain: Checking for domain trust with [oc.quimefa.cu] [2010/09/24 11:42:38, 5] passdb/secrets.c:secrets_fetch_trusted_domain_password(491) secrets_fetch failed! [2010/09/24 11:42:38, 3] smbd/sec_ctx.c:pop_sec_ctx(356) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2010/09/24 11:42:38, 5] libsmb/trustdom_cache.c:trustdom_cache_fetch(184) no entry for trusted domain oc.quimefa.cu found. [2010/09/24 11:42:...
2004 Mar 18
1
secrets_fetch_trusted_domain_password
...ctx_stack_ndx = 1 [2004/03/18 21:16:42, 5] auth/auth_util.c:debug_nt_user_token(486) NT user token: (NULL) [2004/03/18 21:16:42, 5] auth/auth_util.c:debug_unix_user_token(505) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2004/03/18 21:16:42, 5] passdb/secrets.c:secrets_fetch_trusted_domain_password(300) secrets_fetch failed! [2004/03/18 21:16:42, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2004/03/18 21:16:42, 5] libsmb/trustdom_cache.c:trustdom_cache_fetch(172) no entry for trusted domain DOMJKT found. Even it attempt to resol...
2004 Aug 17
0
setup problems w/ winbind/krb5
...encryption type [2004/08/17 11:11:30, 5] nsswitch/winbindd_cm.c:cm_open_connection(297) anonymous connection attempt to WIN2K3SRV from RHSRV [2004/08/17 11:11:30, 5] lib/util.c:show_msg(456) [2004/08/17 11:11:30, 5] lib/util.c:show_msg(466) ... [2004/08/17 11:11:30, 5] passdb/secrets.c:secrets_fetch_trust_account_password(268) secrets_fetch failed! [2004/08/17 11:11:30, 3] nsswitch/winbindd_cm.c:cm_open_connection(343) schannel refused - continuing without schannel (NT_STATUS_UNSUCCESSFUL) [2004/08/17 11:11:30, 5] lib/util.c:show_msg(456) [2004/08/17 11:11:30, 5] lib/util.c:show_msg(4...
2006 Sep 21
1
winbindd + mod_ntlm_winbind, why do we need "net join ..." ?
Hello, I would like to use NTLM authentication on my Apache2 server, and I've found out this link which works very well for me, http://download.samba.org/ftp/unpacked/lorikeet/mod_ntlm_winbind I'm newbie to samba, and to make this stuff work, I had to execute "net join -S <DC> -U <Admin>", because winbindd complained about "did we join ?"... (all of this
2008 Jul 04
0
Joining RHEL5 server as member of win2003 domain fails - RHEL4 works
..., 5] rpc_client/cli_pipe.c:check_bind_response(1701) check_bind_response: accepted! [2008/07/04 15:06:35, 10] rpc_client/cli_pipe.c:cli_rpc_pipe_open_noauth(2277) cli_rpc_pipe_open_noauth: opened pipe \NETLOGON to machine FRVLAN30 and bound anonymously. [2008/07/04 15:06:35, 5] passdb/secrets.c:secrets_fetch_trust_account_password(294) secrets_fetch failed! [2008/07/04 15:06:35, 5] passdb/secrets.c:get_trust_pw(695) get_trust_pw: could not fetch trust account password for domain FRVLAN [2008/07/04 15:06:35, 0] rpc_client/cli_pipe.c:get_schannel_session_key(2449) get_schannel_session_key: could no...
2004 Dec 30
0
Samba 3.0.10 on Red Hat AS 2.1
...rname.po: In function `user_in_netgroup_list': lib/username.po(.text+0xb76): undefined reference to `yp_get_default_domain' lib/access.po: In function `string_match': lib/access.po(.text+0x1e1): undefined reference to `yp_get_default_domain' libads/kerberos.po: In function `kerberos_secrets_fetch_salting_principal': libads/kerberos.po(.text+0x5dc): undefined reference to `secrets_fetch' libads/kerberos.po: In function `kerberos_secrets_store_salting_principal': libads/kerberos.po(.text+0x806): undefined reference to `secrets_store' libads/kerberos.po(.text+0x813): undefined...
2005 May 31
1
compile errors samba-3.0.15pre2 redhat 7.3
...rname.po: In function `user_in_netgroup_list': lib/username.po(.text+0xb76): undefined reference to `yp_get_default_domain' lib/access.po: In function `string_match': lib/access.po(.text+0x1e1): undefined reference to `yp_get_default_domain' libads/kerberos.po: In function `kerberos_secrets_fetch_salting_principal': libads/kerberos.po(.text+0x5dc): undefined reference to `secrets_fetch' libads/kerberos.po: In function `kerberos_secrets_store_salting_principal': libads/kerberos.po(.text+0x806): undefined reference to `secrets_store' libads/kerberos.po(.text+0x813): undefined...
2003 Oct 16
0
Samba 2.2.8a ldap compile problem with pdb_ldap.c
...AVE_INCLUDES_H -DPASSWD_PROGRAM="/usr/bin/passwd" -DSMB_PASSWD_FILE="/apps/samba/private/smbpasswd" -DTDB_PASSWD_FILE="/apps/samba/private/smbpasswd.tdb" Using LIBS = -lsec -lgen -lsocket -lnsl -lpam I get the following error messages: passdb/secrets.c: In function `secrets_fetch': passdb/secrets.c:59: warning: assignment discards qualifiers from pointer target type passdb/secrets.c: In function `secrets_store': passdb/secrets.c:74: warning: assignment discards qualifiers from pointer target type passdb/secrets.c:76: warning: assignment discards qualifiers from poin...
2003 May 14
0
Compilation warnings for Samba 2.2.8a on Solaris 2.6
...t;= width of type libsmb/clireadwrite.c:288: warning: right shift count >= width of type libsmb/clireadwrite.c:288: warning: right shift count >= width of type libsmb/clireadwrite.c:288: warning: right shift count >= width of type Compiling passdb/secrets.c passdb/secrets.c: In function `secrets_fetch': passdb/secrets.c:59: warning: assignment discards `const' from pointer target ty pe passdb/secrets.c: In function `secrets_store': passdb/secrets.c:74: warning: assignment discards `const' from pointer target ty pe passdb/secrets.c:76: warning: assignment discards `const' from...
2005 Aug 31
0
Samba+ldap : can't join to domain
...conn_ctx_stack_ndx = 0 [2005/08/31 14:49:16, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2005/08/31 14:49:16, 5] auth/auth_util.c:is_trusted_domain(1560) is_trusted_domain: Checking for domain trust with [MYDOMAIN] [2005/08/31 14:49:16, 5] passdb/secrets.c:secrets_fetch_trusted_domain_password(333) secrets_fetch failed! (...cut...) [2005/08/31 14:49:16, 3] auth/auth.c:check_ntlm_password(219) check_ntlm_password: Checking password for unmapped user [LANGLOIS]\[root]@[SAMBA] with the new password interface [2005/08/31 14:49:16, 3] auth/auth.c:check_ntlm_pass...
2006 Jun 05
0
64-bit RHEL4 BDC doesn't allow workstation logons
...13:07, 5] auth/auth_util.c:debug_unix_user_token(505) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2006/06/05 12:13:07, 5] auth/auth_util.c:is_trusted_domain(1491) is_trusted_domain: Checking for domain trust with [AEI] [2006/06/05 12:13:07, 5] passdb/secrets.c:secrets_fetch_trusted_domain_password( 334) secrets_fetch failed! [2006/06/05 12:13:07, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/06/05 12:13:07, 5] libsmb/trustdom_cache.c:trustdom_cache_fetch(184) no entry for trusted domain AEI found. [2006/06/05 12:13:07, 5] au...