diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-03-23 01:42:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:13 -0500 |
commit | 4a095be54184230de8ee658399dd8c82c4401d64 (patch) | |
tree | e5f77dff741b352c370c53d4b3e4c8c4f4ffa316 /source4/lib | |
parent | 79f6bcd5ae1711075ce0e75392ce83a72766698e (diff) | |
download | samba-4a095be54184230de8ee658399dd8c82c4401d64.tar.gz samba-4a095be54184230de8ee658399dd8c82c4401d64.tar.bz2 samba-4a095be54184230de8ee658399dd8c82c4401d64.zip |
r5989: Display authentication information (list of available auth protocols
+ principal names per endpoint) to gepdump. Still need to fix memory management
in the GTK+ utilities...
(This used to be commit b48a0af0b0fbf1234627ec785699896a44b23e75)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/credentials.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/credentials.c b/source4/lib/credentials.c index b997e6ae53..e98e261b05 100644 --- a/source4/lib/credentials.c +++ b/source4/lib/credentials.c @@ -392,7 +392,7 @@ BOOL cli_credentials_is_anonymous(struct cli_credentials *credentials) { const char *username = cli_credentials_get_username(credentials); - if (!username[0]) + if (!username || !username[0]) return True; return False; |