Displaying 20 results from an estimated 22 matches for "ldapsam_setsampw".
2004 Sep 02
5
LDAP search failed: Size limit exceeded
When trying to browser users or groups on the server I see these
messages in the log file.
[2004/09/02 10:40:15, 0] lib/smbldap.c:smbldap_search_suffix(1101)
smbldap_search_suffix: Problem during the LDAP search: (Size limit
exceeded)
[2004/09/02 10:40:15, 0] passdb/pdb_ldap.c:ldapsam_setsampwent(1173)
ldapsam_setsampwent: LDAP search failed: Size limit exceeded
We are unable to browse users or groups which is a show stopper!!!
I have added the line "sizelimit -1" in slapd.conf and restarted the
ldap server but it doesn't seem to help.
I'm kind of desperate here gu...
2005 Jul 28
2
Win95 on a Samba3+LDAP domain on a Debian box
...o it.
WinNT servers and WinXP clients are working fine (i.e. as expected).
Nevertheless, Win95 clients are now unable to share local folders because they
cannot retrieve the user list from the domain. The following lines are logged on
the samba server:
[2005/07/27 14:28:45, 0] passdb/pdb_ldap.c:ldapsam_setsampwent(1236)
ldapsam_setsampwent: LDAP search failed: Size limit exceeded
[2005/07/27 14:28:45, 0] rpc_server/srv_samr_nt.c:load_sampwd_entries(342)
load_sampwd_entries: Unable to open passdb.
That makes the question an LDAP/Samba related issue (I believe).
I have browsed the list for help and fo...
2004 Sep 02
1
smbldap_search_suffix: Problem during the LDAP search
Hello,
I need some help with the following errors that I have in my log.smbd:
[2004/09/01 21:14:39, 0] lib/smbldap.c:smbldap_search_suffix(1126)
smbldap_search_suffix: Problem during the LDAP search: (Size limit
exceeded)
[2004/09/01 21:14:39, 0] passdb/pdb_ldap.c:ldapsam_setsampwent(1078)
ldapsam_setsampwent: LDAP search failed: Size limit exceeded
[2004/09/01 21:14:39, 0]
rpc_server/srv_samr_nt.c:load_sampwd_entries(232)
load_sampwd_entries: Unable to open passdb.
I notice the problem Monday. If I use User Manager to view user in my
Samba-LDAP PDC I get the following...
2005 Oct 26
1
Problems with LDAP authentication backend.
...LOGSERVER))]
smbldap_open_connection: connection opened
ldap_connect_system: succesful connection to the LDAP server
Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=SYSLOGSERVER))]
smbldap_open_connection: connection opened
ldap_connect_system: succesful connection to the LDAP server
ldapsam_setsampwent: 0 entries in the base!
What I see there is Samba is in SamaDomainName=SYSLOGSERVER for the user
accounts. Since the accounts are not stored under that OU it isn't finding
anything. I attempted to copy the OU=people and the OU=group to
SamaDomainName=SYSLOGSERVER but it still fails.
Anyo...
2003 Oct 09
2
ldapsam_compat & net rpc user issue (maybe BUG?)
...ser but it is not in the list !!!.
My ldap users are not listed!
With debug level 2 I got in my logs:
2003/10/09 18:00:52, 2] lib/smbldap.c:smbldap_search_suffix(1066)
smbldap_search_suffix: searching for:[(&(uid=*)(objectclass=sambaAccount))]
[2003/10/09 18:00:52, 2] passdb/pdb_ldap.c:ldapsam_setsampwent(948)
ldapsam_setsampwent: 3 entries in the base!
[2003/10/09 18:00:52, 2] passdb/pdb_ldap.c:init_sam_from_ldap(460)
init_sam_from_ldap: Entry found for user: toto
[2003/10/09 18:00:52, 2] passdb/pdb_ldap.c:init_sam_from_ldap(460)
init_sam_from_ldap: Entry found for user: zzAdmin
[2003/10/0...
2008 Apr 25
1
samba and openldap authentication issues!
...em: succesful connection to the LDAP server
smbldap_search_domain_info: Searching
for:[(&(objectClass=sambaDomain)(sambaDomainName=WINIX))]
smbldap_open_connection: connection opened
smbldap_check_root_dse: Expected one rootDSE, got 0
ldap_connect_system: succesful connection to the LDAP server
ldapsam_setsampwent: 8 entries in the base dc=corpedia, dc=internal
init_sam_from_ldap: Entry found for user: root
root:0:root
init_sam_from_ldap: Entry found for user: nobody
nobody:99:nobody
init_sam_from_ldap: Entry found for user: kylec
kylec:501:kylec
init_sam_from_ldap: Entry found for user: test1
test1:42949...
2006 Aug 03
0
Problem with Policies and pdbedit
...backend ldapsam:ldap://127.0.0.1/ has a valid init
Attempting to find an passdb backend to match guest (guest)
Found pdb backend guest
pdb backend guest has a valid init
smbldap_search_ext: base => [dc=strozllc,dc=com], filter =>
[(&(uid=*)(objectclass=sambaSamAccount))], scope => [2]
ldapsam_setsampwent: LDAP search failed: Timed out
ldapsam_setsampwent: Query was: dc=strozllc,dc=com,
(&(uid=*)(objectclass=sambaSamAccount))
- --
David Sonenberg, CCNA, GCIH
Manager, Information Technology
Stroz Friedberg, LLC
15 Maiden Lane
15th Floor
New York, NY 10038
Tel 212.981.6527
Fax 212.981.6545
T...
2003 May 22
1
Continued: Join domain OK, but domain not found after reboot
...5/21 22:49:11, 3] passdb/pdb_ldap.c:ldapsam_connect_system(683)
ldap_connect_system: succesful connection to the LDAP server
[2003/05/21 22:49:11, 4] passdb/pdb_ldap.c:ldapsam_open(734)
The LDAP server is succesful connected
[2003/05/21 22:49:11, 2] passdb/pdb_ldap.c:ldapsam_setsamgrent(3522)
ldapsam_setsampwent: 0 entries in the base!
===== end log.smbd snippet =====
To verify that LDAP is working OK, I certainly can SSH (or console) log
in. So I *know* that I'm using valid user/password pairs.
The final strangeness that I note, but have no clue how to deal with
it:
from /etc/samba/smb.conf...
2003 Apr 11
0
groups disappear with ldapsam
...k Admin
priviledges are gone; same thing on all boxes on the domain managed by
this samba PDC.
Checking the server with "smbgroupedit -vl" returns:
NT group (SID) -> Unix group
ldapsam_open_connection: connection opened
ldap_connect_system: succesful connection to the LDAP server
ldapsam_setsampwent: 0 entries in the base!
It used to work fine, until very recently.
All the unix groups are still in ldap database. And the ldap server
works fine, otherwise I wouldn't be able to login at all.
I am digging into the problem, but thought I'd just send this SOS to the
list in case someo...
2003 Sep 23
0
libnss_winbind doesn't work as expected, where should I check ?
...ok into trouble.
getent passwd or
getent group
shows none of the samba entries I created. I tried to
turn on log to '2' and the only suspicious message I
can find in log.winbindd is the following(the RPC pipe
stuff) :
[2003/09/23 15:42:17, 2]
passdb/pdb_ldap.c:ldapsam_setsamgrent(2560)
ldapsam_setsampwent: 0 entries in the base!
[2003/09/23 15:42:17, 2]
lib/tallocmsg.c:register_msg_pool_usage(57)
Registered MSG_REQ_POOL_USAGE
[2003/09/23 15:42:17, 2]
lib/dmallocmsg.c:register_dmalloc_msgs(71)
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2003/09/23 15:42:17, 1]
nsswitch/winbindd_util.c:res...
2003 Oct 14
1
smbldap_search_suffix: certificate verify failed
...:certificate
verify failed (Connect error)
Failed to issue the StartTLS instruction: Connect error
Connection to LDAP Server failed for the 7 try!
smbldap_search_suffix: Problem during the LDAP search:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
verify failed (Connect error)
ldapsam_setsampwent: LDAP search failed: Connect error
nss_ldap and pam_ldap both work well using TLS.
For your information, here is ma configuration concerning TLS in:
slapd.conf -->
TLSCertificateFile /usr/local/etc/openldap/ldap.cert
TLSCertificateKeyFile /usr/local/etc/openldap/ldap.key
TLSCACertificateFile...
2006 Apr 16
0
Samba PDC LDAP: Got too many (2) info entries for domain
...connection to the LDAP server
Got too many (2) domain info entries for domain [DOMAIN]
pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the
domain
pdb_init_ldapsam: Continuing on regardless, will be unable to allocate new
users/groups, and will risk BDCs having inconsistant SIDs
ldapsam_setsampwent: 5 entries in the base dc=mydomain,dc=com
init_sam_from_ldap: Entry found for user: user1
user1:10001:User 1
init_sam_from_ldap: Entry found for user: machine-01$
machine-01$:25001:machine-01$
init_sam_from_ldap: Entry found for user: machine-02$
machine-02$:25000:machine-02$
init_sam_from_ldap:...
2012 Aug 20
3
samba 3.0.14a works with ldapsam backend but not 3.5.10-125.el6
...connect_system: succesful connection to the LDAP server
ldap_connect_system: LDAP server does support paged results
pdb backend ldapsam:ldap://ipa1.sri.utoronto.ca has a valid init
Attempting to find an passdb backend to match guest (guest)
Found pdb backend guest
pdb backend guest has a valid init
ldapsam_setsampwent: 1507 entries in the base dc=sri,dc=utoronto,dc=ca
init_sam_from_ldap: Entry found for user: qchang
=====
===== 3.5.10-125.el6 =====
smbldap_open_connection: connection opened
ldap_connect_system: successful connection to the LDAP server
pdb backend ldapsam:ldap://ipa1.sri.utoronto.ca has a val...
2004 Aug 15
1
Winbindd startup kerberos fail
...apsam(2740)
pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the domain
pdb_init_ldapsam: Continuing on regardless, will be unable to allocate new users/groups, and will risk BDCs having inconsistant SIDs
[2004/08/15 08:01:12, 2] passdb/pdb_ldap.c:ldapsam_setsamgrent(2248)
ldapsam_setsampwent: 0 entries in the base!
[2004/08/15 08:01:12, 4] nsswitch/winbindd_group.c:get_sam_group_entries(573)
get_sam_group_entries: Returned 0 local groups
[2004/08/15 08:01:12, 4] nsswitch/winbindd_group.c:get_sam_group_entries(564)
get_sam_group_entries: Native Mode 2k domain; enumerating local g...
2003 Jun 12
0
Win XP machine account not found
...nection opened
[2003/06/12 13:30:49, 3, pid=1446, effective(0, 0), real(0, 0)]
passdb/pdb_ldap.c:ldapsam_connect_system(422)
ldap_connect_system: succesful connection to the LDAP server
[2003/06/12 13:30:49, 2, pid=1446, effective(0, 0), real(0, 0)]
passdb/pdb_ldap.c:ldapsam_setsamgrent(3168)
ldapsam_setsampwent: 0 entries in the base!
[2003/06/12 13:30:49, 3, pid=1446, effective(0, 0), real(0, 0)]
smbd/oplock.c:init_oplocks(1214)
open_oplock_ipc: opening loopback UDP socket.
[2003/06/12 13:30:49, 3, pid=1446, effective(0, 0), real(0, 0)]
smbd/oplock_linux.c:linux_init_kernel_oplocks(303)
Linux ke...
2003 Apr 23
2
LDAP/Samba Groups question
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sat, 19 Apr 2003, G. Armour Van Horn wrote:
>
> > I'm trying to create a single structure that will serve the entire
> > organization, using LDAP replication to keep the users and groups
> > straight, which has it's own challenges, but the big mental
> block here
> > is the domains
2004 May 13
0
Cannot set a "Domain group" membership with ldapSAM
...792)
init_group_from_ldap: Entry found for group: 1001
[2004/05/13 14:48:31, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2477)
Returning domain sid for domain SAMBAP ->
S-1-5-21-349043978-4100265039-1442050830
...
[2004/05/13 14:48:31, 2] passdb/pdb_ldap.c:ldapsam_setsamgrent(2248)
ldapsam_setsampwent: 3 entries in the base!
[2004/05/13 14:48:31, 2] passdb/pdb_ldap.c:init_group_from_ldap(1792)
init_group_from_ldap: Entry found for group: 1001
[2004/05/13 14:48:31, 2] passdb/pdb_ldap.c:init_group_from_ldap(1792)
init_group_from_ldap: Entry found for group: 10
[2004/05/13 14:48:31, 2] pas...
2003 Dec 26
3
error in logs after upgrade to 3.0.1
This is probably pretty simple. The following error appears in my logs since
upgrading from version 2.2.8 to 3.0.1:
[2003/12/25 14:44:09, 0] rpc_server/srv_util.c:get_domain_user_groups(372)
get_domain_user_groups: primary gid of user [testuser] is not a Domain
group!
get_domain_user_groups: You should fix it, NT doesn't like that
I'm guessing that my user's primary group
2005 Sep 02
1
Samba PDC + Openldap (no database connection established after reboot)
...s
pdb backend ldapsam:ldap://127.0.0.1/ has a valid init
Attempting to find an passdb backend to match guest (guest)
Found pdb backend guest
pdb backend guest has a valid init
smbldap_search: base => [dc=sample,dc=com], filter =>
[(&(uid=*)(objectclass=sambaSamAccount))], scope => [2]
ldapsam_setsampwent: LDAP search failed: No such object
ldapsam_setsampwent: Query was: dc=sample,dc=com,
(&(uid=*)(objectclass=sambaSamAccount))
Error for net groupmap list
net groupmap list
[2005/09/01 17:47:44, 0] lib/smbldap.c:smbldap_search_suffix(1176)
smbldap_search_suffix: Problem during the LDAP s...
2003 Sep 03
0
[Help] Samba Panic with Samba 3.0Beta3, LDAP
...dapsam_open_connection: ldap://localhost:389
ldapsam_open_connection: connection opened
ldap_connect_system: Binding to ldap server ldap://localhost:389 as
"cn=manager,dc=eva,dc=mpg,dc=de"
ldap_connect_system: succesful connection to the LDAP server
The LDAP server is succesful connected
ldapsam_setsampwent: 3 entries in the base!
Entry found for group: 500
get_single_attribute: [description] = [<does not exist>]
Entry found for group: 501
get_single_attribute: [description] = [<does not exist>]
Entry found for group: 0
get_single_attribute: [description] = [<does not exist>]
ldap...