178 reputation
9
bio website
location Austria
age
visits member for 1 year, 8 months
seen Dec 17 at 19:44

FreeBSD, Linux and Windows admin

part time c# developer

vim lover


Nov
26
awarded  Caucus
Sep
24
awarded  Autobiographer
May
28
comment Add group/user on OpenLDAP
This error message does not directly mens what you would first interpret (as described on this site) could you post the complete debug output (on pastebin for example?) Be aware of passwords, or clear text names you don't want anybody to show!! (search an replace them with bogus, but don't mess up the Logfile :)
May
26
comment Add group/user on OpenLDAP
It seems like your initial config is wrong. dc=corp.f7 seems not a correct name for OpenLDAP. (but i never tried). I would have used something like dc=corp,dc=f7 and just start over with the setup. (and you got two Warguments in your ldapadd command, maybee a problem?) btw.: the FreeBSD Handbook helped me a lot with the understanding of OpenLDAP (i got both, a Debian and a FreeBSD OpenLDAP Server)
May
26
comment Add group/user on OpenLDAP
what does ldapsearch -x print out?
May
22
accepted OpenLDAP modify member is not allowed
May
22
asked OpenLDAP modify member is not allowed
Oct
4
comment How to check my website is working in saudi arabia?
assuming that some firewalls from governments and Providers dnt just block a basic IP but use there own kind of Proxy or IDS to monitor, track and filter the web, a simple traceroute could not work out as expectet. You Would always have to try something that talks http(s) to be sure. In fact, enableing (temprary/permanently) https on your server could solve the problem.
Aug
27
accepted How to bridge Network interfaces on Debian/kFreeBSD
Aug
26
comment Solaris 10 sendmail won't execute my program in /etc/aliases without setuid root
I have never used Solaris before, but I think sudo is something that can be handy for your problem unprivileged_user ALL=(root) NOPASSWD: privileged_command
Aug
26
accepted debian bash/sh string execution
Aug
26
answered debian bash/sh string execution
Aug
24
comment debian bash/sh string execution
That's also my problem... :( As you can see it works if its commented out, so there should be no syntax problem inside the script. But thanks anyway! As I don't have much time this weekend, I will search again next Monday.
Aug
24
revised debian bash/sh string execution
Updated the script
Aug
24
comment debian bash/sh string execution
No there is no space. This is somethign I would have recognized. (I updated my original post to show you what i have done
Aug
24
comment debian bash/sh string execution
Now i get a Syntax error: "(" unexpected (expecting "fi") on your line remote_cmd=(/usr/bin/ssh "$BACKUP_USER@$HOST_TO" "$RENAME_STRING")
Aug
24
comment debian bash/sh string execution
IS working on the command line directly, but not inside a script. remote_cmd="(/usr/bin/ssh $BACKUP_USER@$HOST_TO $RENAME_STRING)" and in the next line "${remote_cmd[@]}" I get a "Bad substitution" Error for the last line... (so eval is still in use...)
Aug
23
revised debian bash/sh string execution
Updated/improved while loop
Aug
23
comment debian bash/sh string execution
@DennisWilliamson you mean especially point 3 ? as i have some trouble executing ssh someuser@somehost < $TEST inside shell script? And <<< as suggested in one answer also doesn't work...
Aug
23
comment debian bash/sh string execution
Thanks for the response, but I understanding the script is not the problem. In fact Security an manageability IS one goal t archive. I know its not one of the best scripts, but thats why I'm here ;) I just thought of to create just one script, which could be easily ported to other/new hosts. Maybe you are right an I should over think the concept. So you mean that I should create script and call it with all necessary variables like $DATASTORE_NAME and $MAX_SNAPSHOTS would also be ok, now as I think of it. Any other suggestion why this would be good/bad?