Lines Matching refs:username
120 const char *username; in ntlm_wb_init() local
139 username = userp; in ntlm_wb_init()
148 if(!username || !username[0]) { in ntlm_wb_init()
149 username = getenv("NTLMUSER"); in ntlm_wb_init()
150 if(!username || !username[0]) in ntlm_wb_init()
151 username = getenv("LOGNAME"); in ntlm_wb_init()
152 if(!username || !username[0]) in ntlm_wb_init()
153 username = getenv("USER"); in ntlm_wb_init()
155 if((!username || !username[0]) && in ntlm_wb_init()
158 username = pw.pw_name; in ntlm_wb_init()
161 if(!username || !username[0]) in ntlm_wb_init()
162 username = userp; in ntlm_wb_init()
164 slash = strpbrk(username, "\\/"); in ntlm_wb_init()
166 domain = strdup(username); in ntlm_wb_init()
169 slash = domain + (slash - username); in ntlm_wb_init()
171 username = username + (slash - domain) + 1; in ntlm_wb_init()
229 "--username", username, in ntlm_wb_init()
236 "--username", username, in ntlm_wb_init()