summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-07-07 18:44:58 +0000
committerLuke Leighton <lkcl@samba.org>1999-07-07 18:44:58 +0000
commit264459d25a65eceb3b87debf4b448a9af625287d (patch)
tree993f9b4a82f8cdb2d813b114b97cc39d9b9d80d3 /source3/lib
parent527820d30646f3954155a509752e2b08c96b1448 (diff)
downloadsamba-264459d25a65eceb3b87debf4b448a9af625287d.tar.gz
samba-264459d25a65eceb3b87debf4b448a9af625287d.tar.bz2
samba-264459d25a65eceb3b87debf4b448a9af625287d.zip
added debug reporting to pwdb_sam_map_names() and pwdb_smb_map_names()
(This used to be commit baab30815238a803badeafa1ed8f029d7782242f)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 9266e988d8..8a9452ee00 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -2498,7 +2498,7 @@ turn a user name into a uid
********************************************************************/
BOOL nametouid(const char *name, uid_t *uid)
{
- const struct passwd *pass = Get_Pwnam((char *)name, False);
+ const struct passwd *pass = Get_Pwnam(name, False);
if (pass)
{
*uid = pass->pw_uid;