Hallo, ich versuche gerade den phpLDAPadmin 0.9.8.2 so zum laufen zu bekommen, dass er mir die UIDs bzw. GIDs automatisch vergibt, aber er macht gar nichts Er bringt keine fehler meldung, zeigt keine Automatische UIDs nichts. Hat das jemand unter 0.9.8.2 schon zum laufen gebracht ? Wenn ja wie ? Hier ist mal meine Config, vielleicht kann mir jemand helfen: /* phpLDAPadmin can encrypt the content of sensitive cookies if you set this to a big random string. */ $config->custom->session['blowfish'] = 'sdkfjjekrjwidifaisdufisdkksddkdke9934uJFJAKIOIWMMMBXPPSOLE3k3j4k3jkdsjfksdfjC'; $config->custom->appearance['language'] = 'auto'; /*********************************************/ /* Define your LDAP servers in this section */ /*********************************************/ $i=0; $ldapservers = new LDAPServers; /* A convenient name that will appear in the tree viewer and throughout phpLDAPadmin to identify this LDAP server to users. */ $ldapservers->SetValue($i,'server','name','LDAP Master Server'); /* Examples: 'ldap.example.com', 'ldaps://ldap.example.com/', 'ldapi://%2fusr%local%2fvar%2frun%2fldapi' (Unix socket at /usr/local/var/run/ldap) */ $ldapservers->SetValue($i,'server','host','192.168.0.100'); /* The port your LDAP server listens on (no quotes). 389 is standard. */ $ldapservers->SetValue($i,'server','port','389'); /* Array of base DNs of your LDAP server. Leave this blank to have phpLDAPadmin auto-detect it for you. */ $ldapservers->SetValue($i,'server','base',array('o=smart-tech,c=de')); /* Three options for auth_type: 1. 'cookie': you will login via a web form, and a client-side cookie will store your login dn and password. 2. 'session': same as cookie but your login dn and password are stored on the web server in a persistent session variable. 3. 'config': specify your login dn and password here in this config file. No login will be required to use phpLDAPadmin for this server. Choose wisely to protect your authentication information appropriately for your situation. If you choose 'cookie', your cookie contents will be encrypted using blowfish and the secret your specify above as session['blowfish']. */ $ldapservers->SetValue($i,'server','auth_type','cookie'); /* The DN of the user for phpLDAPadmin to bind with. For anonymous binds or 'cookie' or 'session' auth_types, LEAVE THE LOGIN_DN AND LOGIN_PASS BLANK. If you specify a login_attr in conjunction with a cookie or session auth_type, then you can also specify the login_dn/login_pass here for searching the directory for users (ie, if your LDAP server does not allow anonymous binds. */ // $ldapservers->SetValue($i,'login','dn',''); $ldapservers->SetValue($i,'login','dn','cn=admin,o=smart-tech,c=de'); /* Your LDAP password. If you specified an empty login_dn above, this MUST also be blank. */ // $ldapservers->SetValue($i,'login','pass',''); $ldapservers->SetValue($i,'login','pass','pass'); /* Use TLS (Transport Layer Security) to connect to the LDAP server. */ $ldapservers->SetValue($i,'server','tls',false); /* If the link between your web server and this LDAP server is slow, it is recommended that you set 'low_bandwidth' to true. This will enable phpLDAPadmin to forego some "fancy" features to conserve bandwidth. */ $ldapservers->SetValue($i,'server','low_bandwidth',false); /* Default password hashing algorithm. One of md5, ssha, sha, md5crpyt, smd5, blowfish, crypt or leave blank for now default algorithm. */ $ldapservers->SetValue($i,'appearance','password_hash','crypt'); /* If you specified 'cookie' or 'session' as the auth_type above, you can optionally specify here an attribute to use when logging in. If you enter 'uid' and login as 'dsmith', phpLDAPadmin will search for (uid=dsmith) and log in as that user. Leave blank or specify 'dn' to use full DN for logging in. Note also that if your LDAP server requires you to login to perform searches, you can enter the DN to use when searching in 'login_dn' and 'login_pass' above. You may also specify 'string', in which case you can provide a string to use for logging users in. See 'login_string' directly below. */ //$ldapservers->SetValue($i,'login','attr','dn'); $ldapservers->SetValue($i,'login','attr','dn'); /* If you specified 'cookie' or 'session' as the auth_type above, and you specified 'string' for 'login_attr' above, you must provide a string here for logging users in. If, for example, I have a lot of user entries with DNs like "uid=dsmith,ou=People,dc=example,dc=com", then I can specify a string "uid=<username>,ou=People,dc=example,dc=com" and my users can login with their user names alone, ie: "dsmith" in this case. */ $ldapservers->SetValue($i,'login','string','uid=<username>,ou=users,o=smart-tech,c=de'); /* If 'login_attr' is used above such that phpLDAPadmin will search for your DN at login, you may restrict the search to a specific objectClass. EG, set this to 'posixAccount' or 'inetOrgPerson', depending upon your setup. */ // $ldapservers->SetValue($i,'login','class',''); /* Specify true If you want phpLDAPadmin to not display or permit any modification to the LDAP server. */ $ldapservers->SetValue($i,'server','read_only',false); /* Specify false if you do not want phpLDAPadmin to draw the 'Create new' links in the tree viewer. */ $ldapservers->SetValue($i,'appearance','show_create',true); /* This feature allows phpLDAPadmin to automatically determine the next available uidNumber for a new entry. */ $ldapservers->SetValue($i,'auto_number','enable',true); /* The mechanism to use when finding the next available uidNumber. Two possible values: 'uidpool' or 'search'. The 'uidpool' mechanism uses an existing uidPool entry in your LDAP server to blindly lookup the next available uidNumber. The 'search' mechanism searches for entries with a uidNumber value and finds the first available uidNumber (slower). */ $ldapservers->SetValue($i,'auto_number','mechanism','search'); /* The DN of the search base when the 'search' mechanism is used above. */ $ldapservers->SetValue($i,'auto_number','search_base','ou=users,o=smart-tech,c=de'); /* The minimum number to use when searching for the next available UID number (only when 'search' is used for auto_uid_number_mechanism' */ $ldapservers->SetValue($i,'auto_number','min','10000'); /* The DN of the uidPool entry when 'uidpool' mechanism is used above. */ $servers[$i]['auto_uid_number_uid_pool_dn'] = ''; /* If you set this, then phpldapadmin will bind to LDAP with this user ID when searching for the uidnumber. The idea is, this user id would have full (readonly) access to uidnumber in your ldap directory (the logged in user may not), so that you can be guaranteed to get a unique uidnumber for your directory. */ // $ldapservers->SetValue($i,'auto_number','dn',''); /* The password for the dn above. */ $ldapservers->SetValue($i,'auto_number','pass','pass'); /* Enable anonymous bind login. */ // $ldapservers->SetValue($i,'login','anon_bind',true); /* Use customized page with prefix when available. */ // $ldapservers->SetValue($i,'custom','pages_prefix','custom_'); /* If you set this, then phpldapadmin will bind to LDAP with this user when testing for unique attributes (as set in unique_attrs array). If you want to enforce unique attributes, than this id should have full (readonly) access to the attributes in question (the logged in user may not have enough access) */ // $ldapservers->SetValue($i,'unique_attrs','dn',''); /* The password for the dn above */ // $ldapservers->SetValue($i,'unique_attrs','pass',''); /* If you set this, then only these DNs are allowed to log in. This array can contain individual users, groups or ldap search filter(s). Keep in mind that the user has not authenticated yet, so this will be an anonymous search to the LDAP server, so make your ACLs allow these searches to return results! */ # $ldapservers->SetValue($i,'login','allowed_dns',array( # 'uid=stran,ou=People,dc=example,dc=com', # '(&(gidNumber=811)(objectClass=groupOfNames))', # '(|(uidNumber=200)(uidNumber=201))', # 'cn=callcenter,ou=Group,dc=example,dc=com')); /* Set this if you dont want this LDAP server to show in the tree */ $ldapservers->SetValue($i,'appearance','visible',true); /* This is the time out value in minutes for the server. After as many minutes of inactivity you will be automatically logged out. If not set, the default value will be ( session_cache_expire()-1 ) */ $ldapservers->SetValue($i,'login','timeout',30); /* Set this if you want phpldapadmin to perform rename operation on entry which has children. Certain servers are known to allow it, certain are not */ $ldapservers->SetValue($i,'server','branch_rename',false); Gruß Luisa -- "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail