summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 54a8881)
raw | patch | inline | side by side (parent: 54a8881)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 Oct 2011 15:08:01 +0000 (15:08 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 Oct 2011 15:08:01 +0000 (15:08 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@21037 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-server | patch | blob | history | |
gosa-si/modules/ClientPackages.pm | patch | blob | history |
diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server
index 9d92dc9971e4d9fe7c5f66a4cce57c8c4eca45d4..093acd2a956fd00958955b7fec31a0087b6e0dfe 100755 (executable)
--- a/gosa-si/gosa-si-server
+++ b/gosa-si/gosa-si-server
our $gosa_address;
our $no_arp;
our $forground;
-our $cfg_file;
our ($ldap_uri, $ldap_base, $ldap_admin_dn, $ldap_admin_password, $ldap_server_dn, $ldap_version, $ldap_retry_sec);
our ($mysql_username, $mysql_password, $mysql_database, $mysql_host);
our $known_modules;
our $global_kernel;
# where is the config stored by default and his name
-our $config = '/etc/gosa-si/server.conf';
+our $cfg_file = '/etc/gosa-si/server.conf';
# by default dumping of config is undefined
our $dump_config = undef;
Getopt::Long::Configure( 'bundling' );
GetOptions( 'v|verbose+' => \$verbose,
'h|help' => \&usage,
- 'c|config=s' => \$config,
+ 'c|config=s' => \$cfg_file,
'x|dump-config=i' => \$dump_config,
'f|foreground' => \$foreground,
'd=s' => \$debug_parts)
}
# read and set config parameters
-&read_configfile($config, %cfg_defaults);
+&read_configfile($cfg_file, %cfg_defaults);
# daemonize the program
&start_daemon($pid, $foreground);
index ad94ee2f0e3d45918a1dd7a4b844efde95bc0adf..0dc0da6e8ca33199bb7f9d449695f2105879c596 100644 (file)
scope => 'one',
filter => "(&(ou=incoming)(objectClass=organizationalUnit))"
);
+ print "---->".$ldap_base."\n";
if(not defined($mesg->count) or $mesg->count == 0) {
my $incomingou = Net::LDAP::Entry->new();
$incomingou->dn('ou=incoming,'.$ldap_base);