search for: ldapsam_getsampwnam

Displaying 20 results from an estimated 68 matches for "ldapsam_getsampwnam".

2002 Oct 10
1
multiple alternative LDAP backends
...ne(s). This is the log output: Oct 10 14:31:23 newton smbd[13549]: [2002/10/10 14:31:23, 0] passdb/pdb_ldap.c:ldapsam_connect_system(322) Oct 10 14:31:23 newton smbd[13549]: Bind failed: Can't contact LDAP server Oct 10 14:31:23 newton smbd[13549]: [2002/10/10 14:31:23, 0] passdb/pdb_ldap.c:ldapsam_getsampwnam(1206) Oct 10 14:31:23 newton smbd[13549]: ldapsam_getsampwnam: init_sam_from_ldap failed! Is this by design? Can samba still be forced to try next backends if the current one can't be accessed? Massimiliano Mirra
2005 Sep 01
2
ldap guest account mapping looks broken
...nection: connection opened [2005/09/01 01:00:02, 3] lib/smbldap.c:smbldap_connect_system(805) ldap_connect_system: succesful connection to the LDAP server [2005/09/01 01:00:02, 4] lib/smbldap.c:smbldap_open(869) The LDAP server is succesfully connected [2005/09/01 01:00:02, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1335) ldapsam_getsampwnam: Unable to locate user [] count=0 [2005/09/01 01:00:02, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2005/09/01 01:00:02, 3] auth/auth_sam.c:check_sam_security(260) check_sam_security: Couldn't find user '' in passdb. [20...
2005 Jul 20
0
duplicate entries for user
...gs sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp Jul 20 23:09:09 gamix slapd[6091]: conn=7 op=2 SEARCH RESULT tag=101 err=0 nentries=2 text= Jul 20 23:09:09 gamix smbd[6244]: [2005/07/20 23:09:09, 1] passdb/pdb_ldap.c:ldapsam_getsampwnam(1304) Jul 20 23:09:09 gamix smbd[6244]: ldapsam_getsampwnam: Duplicate entries for this user [andreas-rid] Failing. count=2 Jul 20 23:09:09 gamix slapd[6095]: conn=7 op=3 SRCH base="dc=rid-net,dc=de" scope=2 filter="(&(objectClass=sambaSamAccount))" Jul 20 23:09:09 gamix s...
2008 Jul 01
5
Samba 3.2 Ldap problem
...B. I'm connecting to the same Ldap server. The problem is that I can't reach any share, from the Server B logs... [2008/07/01 04:54:01, 1] passdb/pdb_ldap.c:init_sam_from_ldap(567) init_sam_from_ldap: No uid attribute found for this user! [2008/07/01 04:54:01, 1] passdb/pdb_ldap.c:ldapsam_getsampwnam(1531) ldapsam_getsampwnam: init_sam_from_ldap failed for user 'xxxxx'! I've been "googleing" for the last 8 hours and I can't fix the problem, with a more verbose debug level I can see that the Ldap connection works fine. I've also checked the Ldap logs and everyth...
2014 Mar 21
3
Local account login failed when samba join to LDAP
...gin. The below is samba output debug message, [2014/03/21 17:44:25.780867, 5] lib/smbldap.c:1439(smbldap_search_ext) smbldap_search_ext: base => [dc=ff,dc=com], filter => [(&(uid=qq)(objectclass=sambaSamAccount))], scope => [2] [2014/03/21 17:44:25.781685, 4] passdb/pdb_ldap.c:1581(ldapsam_getsampwnam) ldapsam_getsampwnam: Unable to locate user [qq] count=0 [2014/03/21 17:44:25.781846, 4] smbd/sec_ctx.c:422(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2014/03/21 17:44:25.781931, 3] auth/check_samsec.c:399(check_sam_security) check_sam_security: Couldn't find user 'qq&...
2008 Jan 06
3
LDAP problem
...56) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2008/01/06 15:17:45, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2008/01/06 15:17:45, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2008/01/06 15:17:45, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1300) ldapsam_getsampwnam: Unable to locate user [] count=0 [2008/01/06 15:17:45, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2008/01/06 15:17:45, 3] auth/auth_sam.c:check_sam_security(244) check_sam_security: Couldn't find user '' in passdb f...
2006 Sep 26
2
PLEASE HELP! Can't add machines to domain!
...:pdb_set_group_sid_from_rid(100) pdb_set_group_sid_from_rid: setting group sid S-1-5-21-334771251-3296030561-843139161-512 from rid 512 [2006/09/26 10:35:53, 5] passdb/secrets.c:secrets_fetch_trusted_domain_password(340) secrets_fetch failed! [2006/09/26 10:35:53, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1396) ldapsam_getsampwnam: Unable to locate user [XPLAPTOP$] count=0 [2006/09/26 10:35:53, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2213) ldapsam_getgroup: Did not find group [2006/09/26 10:36:00, 3] passdb/pdb_interface.c:pdb_default_create_user(368) _samr_create_user: Running the command `/us...
2006 Jul 26
1
ldapsam ignores "ldap user suffix" when doing username lookup
...angelog entry claims. Looking at the source provided some insight. Mind you, I suck at C, so unfortunately I couldn't ever fix this issue (if it is one) myself, no matter how much I'd love to. :-) Here's the situation from my perspective: When looking up a user account, in pdb_ldap.c, ldapsam_getsampwnam() invokes ldapsam_search_suffix_by_name(), which in turn calls smbldap_search_suffix() in smbldap.c. smbldap_search_suffix() then invokes smbldap_search() with scope set to lp_ldap_suffix(), which corresponds to the full "ldap suffix" context. I wonder why ldapsam_getsampwnam() doesn...
2005 Aug 10
2
Bug in LDAP stuff?
...rimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp Aug 10 09:38:50 excelsior smbd[32235]: [2005/08/10 09:38:50, 1] passdb/pdb_ldap.c:ldapsam_getsampwnam(1338) Aug 10 09:38:50 excelsior smbd[32235]: ldapsam_getsampwnam: Duplicate entries for this user [root] Failing. count=2 Aug 10 09:38:50 excelsior smbd[32235]: [2005/08/10 09:38:50, 3] smbd/sec_ctx.c:pop_sec_ctx(386) Aug 10 09:38:50 excelsior smbd[32235]: pop_sec_ctx (0, 0) - sec_ctx_stack_ndx...
2011 Feb 21
2
problem joining WinXP machine to samba PDC+LDAP environment
...s.c:get_privileges(63) get_privileges: No privileges assigned to SID [S-1-5-11] .... [editor's note: the SID ending in 11002 is the user 'jdetert' that attempted to join the machine, and the SID ending in 11001 is jdetert's primary GID.] [2011/02/21 14:32:22, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1519) ldapsam_getsampwnam: Unable to locate user [TESTFSCLIENT$] count=0 .... [editor's note: 'TESTFSCLIENT' is the name of the machine i was trying to join.] [2011/02/21 14:32:22, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2481) ldapsam_getgroup: Did not find group, filter was (&(o...
2002 Aug 12
1
Possible bug!!
...pdb_ldap.c:ldapsam_connect_system(398) ldap_connect_system: successful connection to LDAP server [2002/08/12 11:43:30, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(410) ldapsam_search_one_user: searching for:[(&(uid=it)(objectclass=sambaAccount))] [2002/08/12 11:43:30, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1276) We don't find this user [it] count=0 It seems samba for the group name under uid and not gid, is there something I have missed or is this a bug??? Cheers -------------------- Kristyan Osborne - IT Technician Longhill High School UK 01273 391672 --- Outgoing mail is certified Virus...
2004 Aug 11
1
URGENT : NT4 Standalone server in a Samba-LDAP PDC
...either does not exist or is inaccessible. log.smbd : [2004/08/10 22:29:03, 5] lib/smbldap.c:smbldap_search(932) smbldap_search: base => [dc=prod,dc=blc,dc=com], filter => [(&(uid=NC1981WTX03$)(objectclass=sambaSamAccount))], scope => [2] [2004/08/10 22:29:03, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1157) ldapsam_getsampwnam: Unable to locate user [NC1981WTX03$] count=0 It creates a computer object in ldap but Samba seems to search for sambaSamAccount on this object after, which is not a class of the newly created computer object
2005 Jul 27
0
TLS & sambaSID
...] lib/smbldap.c:another_ldap_try(1011) Connection to LDAP server failed for the 1 try! [2005/07/27 18:21:53, 1] passdb/pdb_ldap.c:init_sam_from_ldap(553) init_sam_from_ldap: no sambaSID or sambaSID attribute found for this user user1 [2005/07/27 18:21:53, 1] passdb/pdb_ldap.c:ldapsam_getsampwnam(1346) ldapsam_getsampwnam: init_sam_from_ldap failed for user 'user1'! I can't guess what is going wrong! ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?charge...
2005 Jul 28
0
no sambaSID or sambaSID attribute found
...] lib/smbldap.c:another_ldap_try(1011) Connection to LDAP server failed for the 1 try! [2005/07/27 18:21:53, 1] passdb/pdb_ldap.c:init_sam_from_ldap(553) init_sam_from_ldap: no sambaSID or sambaSID attribute found for this user user1 [2005/07/27 18:21:53, 1] passdb/pdb_ldap.c:ldapsam_getsampwnam(1346) ldapsam_getsampwnam: init_sam_from_ldap failed for user 'user1'! Any suggestion please? ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez cette version...
2006 Jan 11
0
ldap passdb failover
...s said: [2006/01/10 08:55:47, 0] lib/smbldap.c:smbldap_open_connection(678) Failed to issue the StartTLS instruction: Can't contact LDAP server Later, doing some testing, I stopped the local (primary) ldap server and after a little while got this: [2006/01/11 11:39:02, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1300) ldapsam_getsampwnam: Unable to locate user [rhiannon] count=0 The backup server does work, because nss_ldap for unix logins fails over fine (which confused me a little while). Looking at the code: http://websvn.samba.org/cgi-bin/viewcvs.cgi/tags/release-3-0-9/source/lib/smbldap.c?rev=378...
2006 Mar 31
0
get_md4pw: Workstation PC-WINSIC$: no account in domain
...my ldap server seems to be functionnal, it answers to queries 2. my samba server is also operationnal it seems that at logon time, samba doens't find the computer name in the computer branch of the ldap server... But it's in! example of log: [2006/03/29 17:54:26, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1334) ldapsam_getsampwnam: Unable to locate user [PC-WINSIC$] count=0 2006/03/29 17:54:26, 0] rpc_server/srv_netlog_nt.c:get_md4pw(244) get_md4pw: Workstation PC-WINSIC$: no account in domain whereas this pc-winsic$ computer is well in the computer branch, and i can query my ldap server fo...
2006 Apr 11
0
LDAP search for root.
...nection: connection opened [2006/04/11 16:26:12, 3] lib/smbldap.c:smbldap_connect_system(905) ldap_connect_system: succesful connection to the LDAP server [2006/04/11 16:26:12, 4] lib/smbldap.c:smbldap_open(969) The LDAP server is succesfully connected [2006/04/11 16:26:12, 1] passdb/pdb_ldap.c:ldapsam_getsampwnam(1491) ldapsam_getsampwnam: Duplicate entries for this user [root] Failing. count=3 [2006/04/11 16:26:12, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/04/11 16:26:12, 4] passdb/passdb.c:local_uid_to_sid(1146) local_uid_to_sid: User root [uid == 0] has no...
2007 Apr 04
0
SAMBA AIX Authentication using LDAP
...------------- primary group is 0 and contains 0 supplementary groups [2007/03/28 17:41:32, 5] lib/smbldap.c:smbldap_search_ext(1179) smbldap_search_ext: base => [o=psa], filter => [(&(uid=p239212)(objectclass=sambaSamAccount))], scope => [2] [2007/03/28 17:41:32, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1402) ldapsam_getsampwnam: Unable to locate user [p239212] count=0 ------------------------------------------------------------------ Cordialement, Guillory Gwena?l PSA PEUGEOT CITROEN /DFII/DSIN/SISF/MOET/AMTD T?l : 01 40 66 50 68 (21 50 68) gwenael.guillory@mpsa.com
2008 Jan 20
0
unable to join w2k3 SP1 to samba 3 domain.
...r this w2k3. When I try to join the server to samba I put "me" as the administrator. Looking at samba log for that server I discovered that at the beginning my credentials are used but after a while "Administrator" login appeared with: [2008/01/20 19:56:05, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1396) ldapsam_getsampwnam: Unable to locate user [Administrator] count=0 [2008/01/20 19:56:05, 3] smbd/sec_ctx.c:pop_sec_ctx(339) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1 [2008/01/20 19:56:05, 3] auth/auth_sam.c:check_sam_security(281) check_sam_security: Couldn't find user 'Adminis...
2004 Aug 11
0
Can't join Samba-LDAP PDC
...either does not exist or is inaccessible. log.smbd : [2004/08/10 22:29:03, 5] lib/smbldap.c:smbldap_search(932) smbldap_search: base => [dc=prod,dc=blc,dc=com], filter => [(&(uid=NC1981WTX03$)(objectclass=sambaSamAccount))], scope => [2] [2004/08/10 22:29:03, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1157) ldapsam_getsampwnam: Unable to locate user [NC1981WTX03$] count=0 It creates a computer object in ldap with smbldap-useradd script from www.idealx.org but Samba seems to search for sambaSamAccount on this object, which is not a class of the newly created computer object. I read that Samb...