• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asus-wl-520gu-7.0.1.45/src/router/samba/source/utils/

Lines Matching defs:realm

32 "\n\tjoins the local machine to a ADS realm\n"\
34 "\n\tremoves the local machine from a ADS realm\n"\
38 "\n\tlist, add, or delete users in the realm\n"\
40 "\n\tlist, add, or delete groups in the realm\n"\
47 "\nnet ads password <username@realm> <password> -Uadmin_username@realm%%admin_pass"\
49 "\n\t(note: use realm in UPPERCASE, prompts if password is obmitted)\n"\
78 if (!ads || !ads->config.realm) {
100 if (!ads || !ads->config.realm) {
107 d_printf("Realm: %s\n", ads->config.realm);
133 However, the join requires that realm be set in smb.conf
134 and compares our realm with the remote server's so this is
163 * If the username is of the form "name@realm",
164 * extract the realm and convert to upper case.
169 ads->auth.realm = smb_xstrdup(cp);
170 strupper_m(ads->auth.realm);
221 d_printf("Failed to find workgroup for realm '%s'\n",
222 ads->config.realm);
307 asprintf(&upn, "%s@%s", argv[0], ads->config.realm);
596 d_printf("Failed to delete host '%s' from the '%s' realm.\n",
597 global_myname(), ads->config.realm);
601 d_printf("Removed '%s' from realm '%s'\n", global_myname(), ads->config.realm);
675 d_printf("realm must be set in in smb.conf for ADS join to succeed.\n");
679 if (strcmp(ads->config.realm, lp_realm()) != 0) {
680 d_printf("realm of remote server (%s) and realm in smb.conf (%s) DO NOT match. Aborting join\n", ads->config.realm, lp_realm());
772 d_printf("Joined '%s' to realm '%s'\n", global_myname(), ads->config.realm);
1007 char *realm = NULL;
1033 realm = ++c;
1035 realm = lp_realm();
1038 /* use the realm so we can eventually change passwords for users
1040 if (!(ads = ads_init(realm, NULL, NULL))) return -1;
1046 if (!ads || !ads->config.realm) {
1096 asprintf(&host_principal, "%s@%s", hostname, ads->config.realm);