Displaying 5 results from an estimated 5 matches for "init_unistr2".
2003 Jul 03
0
patch to fix silly bug in 3.0.0beta2
..._user_info = 1; /* yes, we're bothering to put USER_INFO data here */
+
/* Create NTTIME structs */
unix_to_nt_time (&logon_time, unix_logon_time);
@@ -1356,7 +1372,7 @@
usr->num_other_sids = num_other_sids;
usr->buffer_other_sids = (num_other_sids != 0) ? 1 : 0;
- init_unistr2(&usr->uni_user_name, user_name, len_user_name);
+ init_unistr2(&usr->uni_user_name, username, len_user_name);
init_unistr2(&usr->uni_full_name, full_name, len_full_name);
init_unistr2(&usr->uni_logon_script, logon_script, len_logon_script);
init_unistr2(&usr-&g...
2002 Mar 12
6
Memory leak in winbindd
I'm running Samba 2.2.3a on NetBSD. I've been having an annoying
problem with winbindd dying inexplicably. I finally found a test that
seems to (eventually) kill it:
while wbinfo -t > /dev/null; do /usr/bin/true; done
The problem is a memory leak in winbindd. Actually, wbinfo -t will
still work, but wbinfo -u doesn't (response.extra_data is always null).
Is this a known
2004 May 26
2
duplicate domains in browse list
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
i recently upgraded some of my servers from 3.0.2a to 3.0.4
after the upgrade my browselist shows duplicate entries for the domains.
one domains is managed by a samba PDC(providing WINS too) and two samba
BDC's.
the other domains are managed by one samba PDC.
'smbclient -N -L <WINS_SERVER>' shows:
- ---
Workgroup
2003 Feb 21
1
PATCH: downloading drivers from Solaris [was Re: So SAMBA no longer ...]
...if (q_u->size < r_u->needed)
return WERR_MORE_DATA;
- ptr = PrinterKey;
- for (i=0; i<ENUMERATED_KEY_SIZE-2; i++)
- {
- enumkeys[i] = (uint16)(*ptr);
- ptr++;
- }
-
- /* tag of with 2 '\0's */
- enumkeys[i++] = '\0';
- enumkeys[i] = '\0';
+ init_unistr2( &uni_keys, PrinterKey, enum_key_len );
- if (!make_spoolss_buffer5(p->mem_ctx, &r_u->keys, ENUMERATED_KEY_SIZE, enumkeys))
+ if ( !make_spoolss_buffer5(p->mem_ctx, &r_u->keys, enum_key_len, uni_keys.buffer) )
return WERR_BADFILE;
return WERR_OK;
2001 Apr 11
6
Changing Domains from NT4 / AD 2000
Hello all.
AIX 4.3.3 / Samba 2.0.6 / Production NT4.0 domain
Security = DOMAIN
encrypt passwords = yes
update encrypted = yes
Action: Moving from NT4.0 domain called nt40 to AD 2000 Domain called ad-domain
Problem: Users that have been migrated to ad-domain cannot authenticate to AIX SAMBA shares . . . the AIX SAMBA server is still part of the nt40 domain.
Explanation: I can however, map /