Displaying 4 results from an estimated 4 matches for "ldap_suffix".
2003 Feb 12
2
rsync & ldap authentication
...printf(FERROR,"ldap: init failed (%s:%d)\n", lp_ldap_server(), lp_ldap_port());
+	} else {
+		if (ldap_simple_bind_s(ld, lp_ldap_root(), lp_ldap_root_passwd()) != LDAP_SUCCESS) {
+			rprintf(FERROR,"ldap: bind failed %s\n", lp_ldap_root());
+	} else {
+		if (ldap_search_s(ld, lp_ldap_suffix(), LDAP_SCOPE_SUBTREE, filter, attrs, 0, &result) != LDAP_SUCCESS) {
+			rprintf(FERROR,"ldap: search_s failed\n");
+	} else {
+		if (!(entry=ldap_first_entry(ld, result))) {
+			rprintf(FERROR,"ldap: first_entry failed or no user found\n");
+	} else {
+		if (!(dn=ldap_get_d...
2003 May 03
0
Storing rsync secrets in LDAP
..._server(), 
+lp_ldap_port());
+       } else {
+               if (ldap_simple_bind_s(ld, lp_ldap_root(), lp_ldap_root_passwd()) != 
+LDAP_SUCCESS) {
+                       rprintf(FERROR,"ldap: bind failed %s\n", lp_ldap_root());
+       } else {
+               if (ldap_search_s(ld, lp_ldap_suffix(), LDAP_SCOPE_SUBTREE, filter, 
+attrs, 0, &result) != LDAP_SUCCESS) {
+                       rprintf(FERROR,"ldap: search_s failed\n");
+       } else {
+               if (!(entry=ldap_first_entry(ld, result))) {
+                       rprintf(FERROR,"ldap: first_entry failed...
2007 Mar 27
1
Could not peek rid out of sid
New samba deployment; samba 3.0.24 w/ldapsam, em64t (Dell 2900), CentOS 
4.4, using nss_ldap with LDAP master and two slaves (OpenLDAP 2.3.32), one 
Samba PDC (on LDAP master) and two Samba BDC's (on each of the LDAP 
slaves); no Windows servers; one Linux domain member server (first of 
several). All four Samba servers use the same LDAP parameters. testparm 
checks out. All accounts are in
2005 Dec 02
1
can't mount smb shares
...me resolve order = wins lmhost hosts bcast
	dns proxy = yes
         max wins ttl = 518400
         min wins ttl = 21600
         passdb backend = ldapsam:ldap://ldapserver
         ldap filter = (&(sambaSID=S-1-5-21-mysid-*)(uid=%u))
         ldap admin dn = my_dn
         ldap suffix = ldap_suffix
         ldap user suffix = user_suffix
         ldap group suffix = group_suffix
         ldap machine suffix = machine_suffixe
-----
File server's smb.conf
[global]
         workgroup = LETTRES
         netbios name = MONOXYDE
         #interfaces = 10.16.41.22, 192.168.42.60
         in...