Creating new user with Smack on ejabberd throws XMPP Exception: forbidden(403)
问题 Hi I am working on ejabberd and I am quite new to this technology. I am trying to add a user on my ejabberd server using this code: try { conf.setSASLAuthenticationEnabled(true); connection.connect(); Roster.setDefaultSubscriptionMode(Roster.SubscriptionMode.manual); Log.i("XMPPClient", "Connected to " +connection.getHost()); createUser("tester","testerpass"); } } catch (XMPPException e1) { Log.e("XMPPClient", e1.toString()); xmppClient.setConnection(null); } public void createUser(String