git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
402fbc5
)
Fix pointer return bug in get_unix_attributes()
author
Tim Potter
<tpot@samba.org>
Wed, 14 May 2003 00:58:41 +0000
(
00:58
+0000)
committer
Tim Potter
<tpot@samba.org>
Wed, 14 May 2003 00:58:41 +0000
(
00:58
+0000)
(This used to be commit
7aa54f0a7f3bcfb5d9560ca3bb88e1549b7ce421
)
source3/passdb/pdb_ldap.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_ldap.c
b/source3/passdb/pdb_ldap.c
index 8f4f04d57ed76b55e85071f51e796d5e89d10562..b044850948449f510113ed8b378c44bc44b3b967 100644
(file)
--- a/
source3/passdb/pdb_ldap.c
+++ b/
source3/passdb/pdb_ldap.c
@@
-1565,7
+1565,7
@@
static BOOL get_unix_attributes (struct ldapsam_privates *ldap_state,
if (!get_single_attribute(ldap_state->ldap_struct, entry, "gidNumber", temp))
return False;
- gid = (gid_t)atol(temp);
+
*
gid = (gid_t)atol(temp);
pdb_set_unix_homedir(sampass, homedir, PDB_SET);