summaryrefslogtreecommitdiff
path: root/source3/passdb/passdb.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-01-02 05:32:07 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-01-02 05:32:07 +0000
commitb4593e92ff75f006982d7f49337a0a94f44d4218 (patch)
tree98da29e0dd9f2da30173d3f61a54637c2d892ad2 /source3/passdb/passdb.c
parent9f662094af4480b45db104a156374e7213aa5d92 (diff)
downloadsamba-b4593e92ff75f006982d7f49337a0a94f44d4218.tar.gz
samba-b4593e92ff75f006982d7f49337a0a94f44d4218.tar.bz2
samba-b4593e92ff75f006982d7f49337a0a94f44d4218.zip
JHT came up with a nasty (broken) torture case in preparing examples for
his book. This prompted me to look at the code that reads the unix group list. This code did a lot of name -> uid -> name -> sid translations, which caused problems. Instead, we now do just name->sid I also cleaned up some interfaces, and client tools. Andrew Bartlett (This used to be commit f9e59f8bc06fae7e5c8cb0980947f78942dc25c0)
Diffstat (limited to 'source3/passdb/passdb.c')
-rw-r--r--source3/passdb/passdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 616ebf2252..a3f8fbc350 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -1074,7 +1074,7 @@ BOOL local_password_change(const char *user_name, int local_flags,
Convert a uid to SID - algorithmic.
****************************************************************************/
-static DOM_SID *algorithmic_uid_to_sid(DOM_SID *psid, uid_t uid)
+DOM_SID *algorithmic_uid_to_sid(DOM_SID *psid, uid_t uid)
{
if ( !lp_enable_rid_algorithm() )
return NULL;