summaryrefslogtreecommitdiff
path: root/source3/lib/util_sid.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-12-02 16:31:24 +0000
committerLuke Leighton <lkcl@samba.org>1999-12-02 16:31:24 +0000
commite9b8c7743a45b4d045892f9039075fb8cfbd84e5 (patch)
treef4375c000f75eca421511fca65bd376989361cfc /source3/lib/util_sid.c
parent10b82d30b782ad990fc3386a8f0101641780a14e (diff)
downloadsamba-e9b8c7743a45b4d045892f9039075fb8cfbd84e5.tar.gz
samba-e9b8c7743a45b4d045892f9039075fb8cfbd84e5.tar.bz2
samba-e9b8c7743a45b4d045892f9039075fb8cfbd84e5.zip
default SID map now reads in "trusted domains" from smb.conf.
(This used to be commit f0946d1ccafeb5f541935b41f2d54bcbc06797ed)
Diffstat (limited to 'source3/lib/util_sid.c')
-rw-r--r--source3/lib/util_sid.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c
index b497a1e455..a966484484 100644
--- a/source3/lib/util_sid.c
+++ b/source3/lib/util_sid.c
@@ -270,7 +270,7 @@ static BOOL read_sid_from_file(int fd, char *sid_file, DOM_SID *sid)
fline[sizeof(fline)-1] = '\0';
if (!string_to_sid(sid, fline)) {
- DEBUG(0,("unable to generate machine SID.\n"));
+ DEBUG(0,("unable to read sid.\n"));
return False;
}
@@ -289,15 +289,12 @@ BOOL read_sid(char *domain_name, DOM_SID *sid)
int fd;
char *p;
pstring sid_file;
- fstring sid_string;
fstring file_name;
SMB_STRUCT_STAT st;
pstrcpy(sid_file, lp_smb_passwd_file());
- sid_to_string(sid_string, sid);
- DEBUG(10,("read_sid: Domain: %s SID: %s\n", domain_name, sid_string));
- fstrcat(sid_string, "\n");
+ DEBUG(10,("read_sid: Domain: %s\n", domain_name));
if (sid_file[0] == 0)
{