libads/ldap.c: return an error instead of crashing when no realm is given
authorStefan Metzmacher <metze@samba.org>
Mon, 24 Nov 2008 14:26:21 +0000 (15:26 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 24 Nov 2008 14:26:21 +0000 (15:26 +0100)
commit114b94f86e15d482f3b39912f28eb72b66b36bc8
tree66c110f75ce533457af89d15d91d38a1f711d3cd
parenta2329ec0eea66108f44dae3853e578dbbf835f96
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 ex
and "disable netbios = yes".

metze

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