-
as seen on Server Fault
- Search for 'Server Fault'
I am trying to get my FAS2040 to action user lookups using LDAP, below is the filer configuration options:
filer> options ldap
ldap.ADdomain dc1.colour.domain.local
ldap.base OU=Users,OU=something1,OU=something2,OU=darkside,DC=colour,DC=domain,DC=local
ldap.base…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I'm trying to deploy Ubuntu 12.04 via xCAT, everything works except the automatic configuration of LDAP, the preseed file is read but the file /etc/nsswitch is not written properly.
My Preseed File:
[...]
### LDAP Setup
nslcd nslcd/ldap-bindpw password
ldap-auth-config ldap-auth-config/bindpw password
ldap-auth-config…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I am trying to get my FAS2040 to action user lookups using LDAP, below is the filer configuration options:
filer> options ldap
ldap.ADdomain dc1.colour.domain.local
ldap.base OU=Users,OU=something1,OU=something2,OU=darkside,DC=colour,DC=domain,DC=local
ldap.base…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hi Gurus,
I'm migrating from an existing apache+LDAP+mysql+php server to a new hardware platform. Old server is running Debian Lenny, which I have no config documentation available (was done by previous sysadmin); New server is running Ubuntu 10.04.2 LTS 32bit.
After installing Apache and configured…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Following the spring-security documentation: http://static.springsource.org/spring-security/site/docs/3.0.x/reference/ldap.html I am trying to set up ldap authentication (very simple - just need to know if a user is authenticated or not, no authorities mapping needed) and have put this in my applicationContext-security…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I proudly present a solution to the problem:
perl -00 -F"\n" -anE '$_ = ( split / /, $F[1] )[0]; if ( !/error/ ) { $sum += $_; $c++ } } { say $sum / $c' file
The problem: the first field of the second line of each paragraph if it is not error.
How could I do this without the paragraph-mode?
perl…
>>> More
-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
I found this answer how do i... but it simply doesn't work - it did not rename any file for unknown to me reason
Before I started to search around I thought that it should be easy task even for novice penguin, but it doesn't seem so for me.
For example, I simply can't tell ls to list all *.txt in…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a file with such list:
100
101
102
103
What I want to do is to replace every 0 into A, 1 into C, 2 into G, 3 into T.
Hence we hope to get
CAA
CAC
CAG
CAT
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a file that is tab delimited. I would like a powershell script that counts the number of tabs in each line. I came up with this:
${C:\tabfile.txt} |% {$_} | Select-String \t | Measure-Object | fl count
it yields 3, Which is the number of lines in the file.
any pointers to what I'm doing…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Quickly write PGM header is fprintf(f, "P5 %d %d 255\n", width, height);
Quickly read PGM header is fscanf(f, "P5%d%d%*d\n"); // now can read the data from f, but it fails when the header contains comments (like if saved by GIMP).
How to read PGM header in more compatible way (without a lot of code…
>>> More