X-Git-Url: http://git.maemo.org/git/?p=samba;a=blobdiff_plain;f=examples%2FLDAP%2Fsmbldap-tools-0.9.1%2Fdoc%2Fhtml%2Fsmbldap-tools007.html;fp=examples%2FLDAP%2Fsmbldap-tools-0.9.1%2Fdoc%2Fhtml%2Fsmbldap-tools007.html;h=6a7a1ac25d1bd490c9df87f728e72f259ba174cc;hp=0000000000000000000000000000000000000000;hb=6bca4ca307d55b6dc888e56cee47aebcddbce786;hpb=7fd70fa738b636089bcc6c961aa3eaa02f20dda2 diff --git a/examples/LDAP/smbldap-tools-0.9.1/doc/html/smbldap-tools007.html b/examples/LDAP/smbldap-tools-0.9.1/doc/html/smbldap-tools007.html new file mode 100644 index 0000000..6a7a1ac --- /dev/null +++ b/examples/LDAP/smbldap-tools-0.9.1/doc/html/smbldap-tools007.html @@ -0,0 +1,251 @@ + + +
+ + + +dn: cn=NextFreeUnixId,dc=idealx,dc=org +changetype: modify +uidNumber: 1500 +gidNumber: 1500 ++and then update the directory : +
+ldapmodify -x -D "cn=Manager,dc=idealx,dc=org" -w secret -f update-NextFreeUnixId.ldif +
+[root@slave sbin]# smbldap-populate.pl + Using builtin directory structure + adding new entry: dc=IDEALX,dc=COM + Can't call method "code" without a package or object reference at + /usr/local/sbin/smbldap-populate.pl line 270, <GEN1> line 2. +Answer: check the TLS configuration +
+ldapSSL="0" +
+ldapSSL="1" +and check that the directory server is configured to accept TLS connections. +
+Function Not Implemented at /usr/local/sbin/smbldap_tools.pm line 187. +Function Not Implemented at /usr/local/sbin/smbldap_tools.pm line 627. +For Oracle Database, all attributes that will be resquested to the directory must be indexed. Add a +new index for samba attributes and make sure that the following attributes are also indexed : + uidNumber, gidNumber, memberUid, homedirectory, description, userPassword ...
+/usr/local/sbin/smbldap-useradd.pl: unknown group SID not set for unix group 513 +Answer: +
+net groupmap add rid=513 unixgroup="Domain Users" ntgroup="Domain Users" +
+Could not find base dn, to get next uidNumber at /usr/local/sbin//smbldap_tools.pm line 909 +
+dn: cn=NextFreeUnixId,dc=idealx,dc=org +objectClass: inetOrgPerson +objectClass: sambaUnixIdPool +uidNumber: 1000 +gidNumber: 1000 +cn: NextFreeUnixId +sn: NextFreeUnixId +and then add the object with the ldapadd utility: +
+$ ldapadd -x -D "cn=Manager,dc=idealx,dc=org" -w secret -f add.ldif +Here, 1000 is the first available value for uidNumber and gidNumber (of course, if this value is + already used by a user or a group, the first available after 1000 will be used). +
+Use of uninitialized value in string at +/usr/local/sbin//smbldap\_tools.pm line 914. +Error: No DN specified at /usr/local/sbin//smbldap\_tools.pm line 919 +You have not updated the configuration file to defined the object where are sotred the next +uidNumber and gidNumber available. In our example, you have to add a nex entry in +/etc/opt/IDEALX/smbldap-tools/smbldap.conf containing : +
+# Where to store next uidNumber and gidNumber available +sambaUnixIdPooldn="cn=NextFreeUnixId,${suffix}" +btw, a new option is now available too: the domain to append to users. You can add to the +configuration file the following lines: +
+# Domain appended to the users "mail"-attribute +# when smbldap-useradd -M is used mailDomain="idealx.com" +
+Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-useradd line 183. +Use of uninitialized value in substitution (s///) at /usr/local/sbin/smbldap-useradd line 185. +Use of uninitialized value in string at /usr/local/sbin/smbldap-useradd line 264. +failed to add entry: homedirectory: value #0 invalid per syntax at /usr/local/sbin/smbldap-useradd line 280. +userHomeDirectory=User "jto" already member of the group "513". +failed to add entry: No such object at /usr/local/sbin/smbldap-useradd line 382. +you have to change the variable name userHomePrefix to userHome in +/etc/opt/IDEALX/smbldap-tools/smbldap.conf
+failed to add entry: referral missing at /usr/local/sbin/smbldap-useradd line 279, <DATA> line 283. +you have to update the configuration file that defined users, groups and computers dn. Those +parameters must not be relative to the suffix parameter. A typical +configuration look like this : +
+usersdn="ou=Users,${suffix}" +computersdn="ou=Computers,${suffix}" +groupsdn="ou=Groups,${suffix}" +
+erreur LDAP: Can't contact master ldap server (IO::Socket::INET: Bad protocol 'tcp') +at /usr/local/sbin//smbldap_tools.pm line 153. +remove ldap from /etc/nsswitch.conf for services list of possible check. For +example, if your ldap directory is not configured to give services information, you must have +
+services files +and not +
+services: ldap [NOTFOUND=return] files +