svn commit: samba r16683 - in branches/SAMBA_3_0/source/passdb: .
jra at samba.org
jra at samba.org
Thu Jun 29 17:07:22 GMT 2006
Author: jra
Date: 2006-06-29 17:07:21 +0000 (Thu, 29 Jun 2006)
New Revision: 16683
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16683
Log:
Fix bug #3900 reported by jason at ncac.gwu.edu.
Jeremy.
Modified:
branches/SAMBA_3_0/source/passdb/pdb_ldap.c
Changeset:
Modified: branches/SAMBA_3_0/source/passdb/pdb_ldap.c
===================================================================
--- branches/SAMBA_3_0/source/passdb/pdb_ldap.c 2006-06-29 17:07:17 UTC (rev 16682)
+++ branches/SAMBA_3_0/source/passdb/pdb_ldap.c 2006-06-29 17:07:21 UTC (rev 16683)
@@ -3796,7 +3796,7 @@
continue;
}
- type = atol(attr);
+ type = (enum SID_NAME_USE)atol(attr);
/* Consistency checks */
if ((is_builtin && (type != SID_NAME_ALIAS)) ||
@@ -4560,7 +4560,7 @@
}
id->gid = strtoul(gid_str, NULL, 10);
- *type = strtoul(value, NULL, 10);
+ *type = (enum SID_NAME_USE)strtoul(value, NULL, 10);
ret = True;
goto done;
}
More information about the samba-cvs
mailing list