search for: smb_strdup

Displaying 5 results from an estimated 5 matches for "smb_strdup".

2006 Jul 13
1
Bug in cac_Connect ?
...e in libmsrpc.c. Maybe I'm confused..but should that strcmp maybe be compared to != 0? /*change the server name in the server handle if necessary*/ if(srv && hnd->server && strcmp(hnd->server, srv) == 0) { SAFE_FREE(hnd->server); hnd->server = SMB_STRDUP(srv); } -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com
2015 Feb 02
1
Can login with a bogus username which ends with a "/" or a "\"
...e, so letting bogus users logon, is not a good thing. In popt_common_credentials_callback() I added the code: case 'U': { char *lp; char *puser = SMB_STRDUP(arg); if ((lp=strchr_m(puser,'%'))) { size_t len; *lp = 0;...
2008 Mar 11
2
$ char in password
...switch (opt) { ...... case 'U': opt_user_specified = True; d_fprintf(stderr, "%s(): opt_user_name is %s\n", __FUNCTION__, opt_user_name); //xq opt_user_name = SMB_STRDUP(opt_user_name); p = strchr(opt_user_name,'%'); if (p) { *p = 0; opt_password = p+1; d_fprintf(stderr, "%s(): opt_password is %s\n", __FUN...
2007 Jun 06
3
string overflow in rpcclient add "printer" driver command
Hello, I get the folowing error msg in rpcclient -c 'adddriver' command: ERROR: string overflow by 1 (1024 - 1023) in safe_strcpy [adddriver "Windows NT x86" "My Driver Name 001:aaa] Printer Driver My Driver Name 001 successfully installed. My command is like this: rpcclient MYSRV -s /etc/samba/smb.conf -A auth.txt -c 'adddriver "Windows NT x86" "My
2006 Jul 13
2
Kerberos Keytab Code Update in 3.0.23
First thing - I'd like to say a big "THANK YOU" to the developers. I just upgraded to samba-3.0.23 and I've noticed an alarming issue with respect to my configuration. I've been using the built-in keytab management and it looks like the updated code no longer creates the userPrincipal in Active Directory. Whether this is an issue for others or not, it would be nice to have