char *p;
char *sep = lp_winbind_separator();
if (!sep) sep = "\\";
- p = strchr_m(domuser,*sep);
- if (!p) p = strchr_m(domuser,'\\');
+ p = strchr(domuser,*sep);
+ if (!p) p = strchr(domuser,'\\');
if (!p) {
fstrcpy(domain,"");
fstrcpy(user, domuser);
sep = lp_winbind_separator();
- if (!strchr_m(user, *sep)) {
+ if (!strchr(user, *sep)) {
return initgroups(user, gid);
}
char *p;
fstrcpy(global_myname, myhostname());
- p = strchr_m(global_myname, '.');
+ p = strchr(global_myname, '.');
if (p) {
*p = 0;
}
if (!sep) sep = " \t\n\r";
/* find the first non sep char */
- while (*s && strchr_m(sep,*s)) s++;
+ while (*s && strchr(sep,*s)) s++;
/* nothing left? */
if (! *s) return(False);
/* copy over the token */
- for (quoted = False; len < bufsize && *s && (quoted || !strchr_m(sep,*s)); s++) {
+ for (quoted = False; len < bufsize && *s && (quoted || !strchr(sep,*s)); s++) {
if (*s == '\"') {
quoted = !quoted;
} else {
char *p;
fstrcpy(global_myname, myhostname());
- p = strchr_m(global_myname, '.');
+ p = strchr(global_myname, '.');
if (p) {
*p = 0;
}
char *p;
char *sep = lp_winbind_separator();
if (!sep) sep = "\\";
- p = strchr_m(domuser,*sep);
- if (!p) p = strchr_m(domuser,'\\');
+ p = strchr(domuser,*sep);
+ if (!p) p = strchr(domuser,'\\');
if (!p) {
fstrcpy(domain,"");
fstrcpy(user, domuser);
char *p;
char *sep = lp_winbind_separator();
if (!sep) sep = "\\";
- p = strchr_m(domuser,*sep);
- if (!p) p = strchr_m(domuser,'\\');
+ p = strchr(domuser,*sep);
+ if (!p) p = strchr(domuser,'\\');
if (!p) {
fstrcpy(domain,"");
fstrcpy(user, domuser);