libads/ldap.c: return an error instead of crashing when no realm is given
commite2a60d2e1fd7455f08e73f8d1c513ca240c0f0af
authorStefan Metzmacher <metze@samba.org>
Mon, 24 Nov 2008 14:07:56 +0000 (24 15:07 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 24 Nov 2008 14:20:47 +0000 (24 15:20 +0100)
treeab3e556c479cf38dd77a127892a799332251e735
parent66d8109119d4a840584bda42b4bb98d2c7ee2417
libads/ldap.c: return an error instead of crashing when no realm is given

The bug was triggered by "net ads info -S 127.8.7.6" (where 127.8.7.6 doesn't exist)
and "disable netbios = yes".

metze

Signed-off-by: Michael Adam <obnox@samba.org>
source/libads/ldap.c