[SCM] Samba Shared Repository - branch master updated -
release-4-0-0alpha7-2287-g9b5d905
Björn Jacke
bjacke at samba.org
Fri Jun 12 16:44:24 GMT 2009
The branch, master has been updated
via 9b5d905ebe13bb9eb8d21120cd7fab3296f8fa82 (commit)
from 89aed2771c227192652bd4e28cffd7094f34e1db (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 9b5d905ebe13bb9eb8d21120cd7fab3296f8fa82
Author: Björn Jacke <bj at sernet.de>
Date: Fri Jun 12 18:39:31 2009 +0200
examples:s2âs3-ldif-convert-script: fix objectclass recognition
objectclasses are case insensitive. we used to convert only LDAP objects with
the typical UpperLower case for sambaAccount and sambaGroupMapping and ignored
any other case writings
-----------------------------------------------------------------------
Summary of changes:
examples/LDAP/convertSambaAccount | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/examples/LDAP/convertSambaAccount b/examples/LDAP/convertSambaAccount
index 4357dbc..8b522ef 100755
--- a/examples/LDAP/convertSambaAccount
+++ b/examples/LDAP/convertSambaAccount
@@ -156,9 +156,9 @@ while ( !$ldif->eof ) {
@adds = ();
@dels = ();
foreach $obj ( @objclasses ) {
- if ( "$obj" eq "sambaAccount" ) {
+ if ( lc($obj) eq "sambaaccount" ) {
$is_samba_account = 1;
- } elsif ( "$obj" eq "sambaGroupMapping" ) {
+ } elsif ( lc($obj) eq "sambagroupmapping" ) {
$is_samba_group = 1;
}
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list