Displaying 20 results from an estimated 1000 matches similar to: "LDAP problem"
2017 Feb 03
2
LDAP problem
Hello everyone,
I'm using Samba4 in my CentOS server, and it was just fine. I could always use ldap commands like 'ldapsearch' and 'ldapadd' and I had no problem.
But one day, I don't know why, I couldn't use more ldapsearch or ldapadd. They return this:
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
I'm using the same command as always, like:
2017 Feb 03
1
LDAP problem
Hello Vinicius,
I did it and this was the answer:
ldapsearch -H "ldaps://devsamba.lucas.ufes.br:636" -w '*********' -D "cn=administrator,cn=users,dc=lucas,dc=ufes,dc=br" -x -b "dc=lucas,dc=ufes,dc=br" -d1
ldap_url_parse_ext(ldaps://devsamba.lucas.ufes.br:636)
ldap_create
ldap_url_parse_ext(ldaps://devsamba.lucas.ufes.br:636/??base)
ldap_sasl_bind
2017 Feb 13
1
LDAP problem
Hello Rowland,
You shouldn't use 'ldaps' and ':636', in fact you shouldn't use ':636'
at all.
OK, mini-howto coming up ;-)
The DC is dc1.samdom.example.com
The AD domain DN is dc=samdom,dc=example,dc=com
There is this line in the DC smb.conf: tls certfile = tls/cert.pem
The reverse dns zone has been created and operational
The client is
2017 Jan 04
3
Samba4 + Winbind
Rowland,
I looked at Samba wiki, but it doesn't helped me as I wanted, maybe I'm doing something wrong.
This is what I tried to do:
yum install pam*
./configure.developer --with-pam
make && make install
ln -s /usr/local/samba/lib/libnss_winbind.so.2 /lib64/libnss_winbind.so
ln -s /lib64/libnss_winbind.so /lib64/libnss_winbind.so.2
modified my nsswitch.conf
passwd:
2017 Jan 05
1
Samba4 + Winbind
Hello Marc,
Thanks for your documentation.
Well I followed what you wrote, perhaps my wbinfo command fails when I try to test the connectivity.
# wbinfo --ping-dc
checking the NETLOGON dc connection failed
failed to call wbcPingDc: WBC_ERR_WINBIND_NOT_AVAILABLE
Could not ping our DC
My smb.conf is now this:
# Global parameters
[global]
netbios name = DEVLUCAS1
realm =
2006 Feb 08
6
can''t get date_select to work
Hi,
I render a couple of date_select fields, the HTML looks fine, I can
see the values submitted back to the server, but AR doesn''t pick them
up from the hash in Booking.new(params[''booking'']).
I''ve got a ''booking'' object with parameters product, startdate and
enddate.
HTML snippets:
<select
2006 Jul 26
8
change text_field_tag class
in my booking / _form I have the following input fields : (startdate and
endate)
<div>
<label for="startdate">Booking Start Date</label><br />
<%= text_field_tag(''startdate'', @startdate, {:class => @startdateclass,
:readonly => "readonly", :maxlength => "25"} ) %>
<%= observe_field("startdate",
2006 May 16
1
:conditions on has_one realationship
Hi there,
I''m currently building a membership application and I want to be able
to select, not just all the memberships, but the most current
membership from the database on a per user basis. I have linked the
tables as shown:-
class Membership < ActiveRecord::Base
belongs_to :payment
belongs_to :person
end
class Person < ActiveRecord::Base
has_many :memberships
2012 Nov 02
2
Date format conversion from "2012-09-20" to "2012:09:20"
Hi R,
How to get the range of values form startDate to lastDate as given below?.
#*****************************************************************
# Load historical data
#******************************************************************
library('quantmod')
endDate =Sys.Date()
startDate = as.Date(endDate-30, order="ymd")
dataspy = getSymbols("SPY", from = startDate,
2006 Feb 06
4
Basic MVC in RoR question
Ok, Here''s my controller:
def create
trainingplan = Trainingplan.createplan(@params[:startdate],
@params[:enddate], @params[:hoursperweek], @params[:programtype])
end
My model is:
class Trainingplan <ActiveRecord::Base
def self.createplan(stardate, enddate, hoursperweek, programtype)
stardate = startdate
enddate = enddate
hoursperweek = hoursperweek
programtype
2011 Mar 23
1
using R variables in RMySQL query
I have the following function
myGetstockdataMySQL <- function(startdate, enddate, ticker) {
con <- dbConnect(MySQL(), user="blahblah", password="blahblah",
dbname="blahblah",
host="localhost")
rs <- dbGetQuery(con, "SELECT price.close FROM price INNER JOIN stocks ON
stocks.stock_id=price.stock_ID
WHERE (price.date_holding BETWEEN
2005 Jun 01
2
problem with chron scales in lattice
I can't get the scales parameter in xyplot of lattice to work as I
expected. I'm using R-2.1.0 and lattice 0.11-8. There should be year
labels from 1992 to 2004 for the x axis in the plot below, but instead
only a few of them appear, and in the wrong spots, as if the coordinate
system has changed after finishing with the panel function.
library(chron)
library(lattice)
# vertical grid
2008 Nov 19
2
Exclude holidays in a subset of dates?
Hi All,
I am iterating through dated materials, with variable start and end dates,
and would like to skip procedures everytime I encounter a weekend or
holiday. To do this, I thought the easiest way would be to create a
TRUE/FALSE vector corresponding to each day where it is TRUE if a workday,
and FALSE if a weekend or holiday.
So far I have been able to do this for weekdays:
startDate <-
2004 Dec 21
1
Referencing a table''s fields.
Hello,
I recently set up a rails application, and wanted to provide helper methods in my model class.
I was confused that the class DOESN''T refer to its fields as instance variables. I merely had to
type in the field names to be able to work with their data.
Here''s an example:
I have a "Chessgame" class with a begindate and an enddate. To get the number of hours
2006 Apr 25
1
Array of dates/times from time.now till nextweek
Hi,
I would like to make @dates in my controller.
I tried the following:
startdate = Time.now
enddate = startdate.next_week
for enddate > startdate
@dates << startdate
startdate = startdate.tomorrow
end
But I get an errormessage when I check the syntax:
"warning: useless use of a variable in void context"
Anyone?
Thanks!
Steven.
--
Posted via
2007 Apr 03
2
Strange labels on plot with dates
Hello fellow R people,
I don't understand the default behavior of the axis labeling when
plotting dates.
I would expect something like 2001, 2002 or possibly Jan 01, Jan
02...Jan 06, but instead I only see Jan 01, Jan 01, Jan 01....
See the following example
startdate <- strptime("2001-01-01",format="%Y-%m-%d")
enddate <-
2012 Apr 09
1
Creating a dummy variable
HI
I want to create a dummy variable for a dataset which has various dates Eg
I've one year data. The user can choose any date range
startdate : 2012-01-01
enddate: 2012-02-01
startdate: 2012-06-01
enddate=2012-07-01
the columns of dataset= X ,Y ,date
Thanks and re
-----
Thanks in Advance
Arun
--
View this message in context:
2017 Dec 18
0
Finding center of mass in a hydrologic time series
Hi Eric,
the following works for me.
HTH,
Eric
library(EGRET)
StartDate <- "1990-10-01"
EndDate <- "2017-09-30"
siteNumber <- "10310000"
QParameterCd <- "00060"
Daily <- readNWISDaily(siteNumber, QParameterCd, StartDate, EndDate)
# Define 'center of mass' function
com <- function(x) {
match(TRUE, cumsum(x/sum(x)) > 0.5) -
2010 Aug 29
1
calculations with dates
Hi,
I have a data.frame with factors in columns like
startdate enddate
27SEP2005 01JAN2006
How can I calculate the duration between those two dates and move this in a
extra column in the data.frame.
Thanks,
André
[[alternative HTML version deleted]]
2006 Jun 25
1
Sorting ferret results by column
I have the acts_as_ferret plugin installed. Everything searches great,
but I would like to limit the results (i.e. by ''end_date'') and sort them
(by ''end_date''). ''end_date'' is a valid column in my "posts" table.
Here''s the code I have already:
@posts = Post.find_by_contents(params[:query])
params[:query] comes from a form. I