diff options
author | Volker Lendecke <vl@samba.org> | 2007-12-15 21:53:26 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2007-12-15 22:09:36 +0100 |
commit | 7b01537679d4d4f1408634fe63c64c144f9d9519 (patch) | |
tree | 0a2191050b3ca77f10c837ec318b8db31f131850 /source3/utils/profiles.c | |
parent | 54ae9dfcbce727ae3107f21eee68762502acda60 (diff) | |
download | samba-7b01537679d4d4f1408634fe63c64c144f9d9519.tar.gz samba-7b01537679d4d4f1408634fe63c64c144f9d9519.tar.bz2 samba-7b01537679d4d4f1408634fe63c64c144f9d9519.zip |
Replace sid_string_static with sid_string_tos
In utils/ I was a bit lazy...
(This used to be commit 60e830b0f4571bd5d9039f2edd199534f2a4c341)
Diffstat (limited to 'source3/utils/profiles.c')
-rw-r--r-- | source3/utils/profiles.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/utils/profiles.c b/source3/utils/profiles.c index c641429beb..0b8a0d4278 100644 --- a/source3/utils/profiles.c +++ b/source3/utils/profiles.c @@ -61,33 +61,33 @@ static bool swap_sid_in_acl( SEC_DESC *sd, DOM_SID *s1, DOM_SID *s2 ) int i; bool update = False; - verbose_output(" Owner SID: %s\n", sid_string_static(sd->owner_sid)); + verbose_output(" Owner SID: %s\n", sid_string_tos(sd->owner_sid)); if ( sid_equal( sd->owner_sid, s1 ) ) { sid_copy( sd->owner_sid, s2 ); update = True; verbose_output(" New Owner SID: %s\n", - sid_string_static(sd->owner_sid)); + sid_string_tos(sd->owner_sid)); } - verbose_output(" Group SID: %s\n", sid_string_static(sd->group_sid)); + verbose_output(" Group SID: %s\n", sid_string_tos(sd->group_sid)); if ( sid_equal( sd->group_sid, s1 ) ) { sid_copy( sd->group_sid, s2 ); update = True; verbose_output(" New Group SID: %s\n", - sid_string_static(sd->group_sid)); + sid_string_tos(sd->group_sid)); } acl = sd->dacl; verbose_output(" DACL: %d entries:\n", acl->num_aces); for ( i=0; i<acl->num_aces; i++ ) { verbose_output(" Trustee SID: %s\n", - sid_string_static(&acl->aces[i].trustee)); + sid_string_tos(&acl->aces[i].trustee)); if ( sid_equal( &acl->aces[i].trustee, s1 ) ) { sid_copy( &acl->aces[i].trustee, s2 ); update = True; verbose_output(" New Trustee SID: %s\n", - sid_string_static(&acl->aces[i].trustee)); + sid_string_tos(&acl->aces[i].trustee)); } } @@ -96,12 +96,12 @@ static bool swap_sid_in_acl( SEC_DESC *sd, DOM_SID *s1, DOM_SID *s2 ) verbose_output(" SACL: %d entries: \n", acl->num_aces); for ( i=0; i<acl->num_aces; i++ ) { verbose_output(" Trustee SID: %s\n", - sid_string_static(&acl->aces[i].trustee)); + sid_string_tos(&acl->aces[i].trustee)); if ( sid_equal( &acl->aces[i].trustee, s1 ) ) { sid_copy( &acl->aces[i].trustee, s2 ); update = True; verbose_output(" New Trustee SID: %s\n", - sid_string_static(&acl->aces[i].trustee)); + sid_string_tos(&acl->aces[i].trustee)); } } #endif |