search for: q_u

Displaying 9 results from an estimated 9 matches for "q_u".

Did you mean: __u
2005 Mar 17
0
usrmgr.exe and problems
...(IS_SAM_CHANGED(pwd, PDB_GROUPSID) && !set_unix_primary_group(pwd) ) { + pdb_free_sam(&pwd); + return False; + } if(!pdb_update_sam_account(pwd)) { pdb_free_sam(&pwd); @@ -3624,12 +3628,16 @@ sid_copy(&user_sid, get_global_sam_sid()); sid_append_rid(&user_sid, q_u->rid); - + + ret = pdb_init_sam(&sam_user); + if (!NT_STATUS_IS_OK(ret)) return ret; + become_root(); check = pdb_getsampwsid(sam_user, &user_sid); + unbecome_root(); if (check != True) { pdb_free_sam(&sam_user); @@ -3708,6 +3716,7 @@ uint32 acc_grant...
2005 May 11
1
SV: Error with usrmgr and groups.
It's exactly the same. Except that I use tdbsam instead of ldap and the error message therefore also is different in the log file. But the example and result is the same. Do you have any idea of workaround or fix? Cheers, Joel -----Ursprungligt meddelande----- Fr?n: Doug Campbell [mailto:doug@bpta.net] Skickat: den 11 maj 2005 10:49 Till: Joel Larsson, PF, Posten; samba@lists.samba.org
2003 Feb 21
1
PATCH: downloading drivers from Solaris [was Re: So SAMBA no longer ...]
...@@ -7876,12 +7876,22 @@ uint16 enumkeys[ENUMERATED_KEY_SIZE+1]; char* ptr = NULL; int i; - char *PrinterKey = "PrinterDriverData"; + fstring PrinterKey; + UNISTR2 uni_keys; + int enum_key_len; DEBUG(4,("_spoolss_enumprinterkey\n")); unistr2_to_dos(key, &q_u->key, sizeof(key) - 1); + ZERO_STRUCTP(PrinterKey); + fstrcpy( PrinterKey, "PrinterDriverData" ); + + /* add space for 2 terminating NULLs */ + + enum_key_len = strlen( PrinterKey ) + 2; + + /* * we only support enumating all keys (key == "") * Of course, the only...
2004 Feb 04
1
Signal 11 in smbd 3.0.2rc2 on printer operation!
...023\b\0\0\0\0\224???\214???K?\017\b"... data = {dptr = 0x0, dsize = 264} key = {dptr = 0xbffff3ac "STATUS/hpljet8100n", dsize = 18} printername = 0x82f6c40 "hpljet8100n" pdb = (struct tdb_print_db *) 0x83d4ac8 count = 0 #8 0x0813d5b1 in _spoolss_enumjobs (p=0x83d1690, q_u=0xbffff644, r_u=0xbffff634) at rpc_server/srv_spoolss_nt.c:6517 handle = (POLICY_HND *) 0xbffff644 level = 2 buffer = (NEW_BUFFER *) 0x83dd788 offered = 1024 needed = (unsigned int *) 0xbffff638 returned = (unsigned int *) 0xbffff63c wret = {v = 135905801} snum = 1 prt_status = { me...
2005 Oct 20
1
high cpu load with 3.0.20b (not using ldap)
...=0x83e4ad0, handlename=0xbfffec60 "\\\\134.91.90.52") at srv_spoolss_nt.c:539 #14 0x08149cf8 in open_printer_hnd (p=0x83d7f80, hnd=0xbfffeda0, name=0xbfffec60 "\\\\134.91.90.52", access_granted=0) at srv_spoolss_nt.c:637 #15 0x0814bce4 in _spoolss_open_printer_ex (p=0x83d7f80, q_u=0xbfffedc0, r_u=0xbfffeda0) at srv_spoolss_nt.c:1619 #16 0x081445f0 in api_spoolss_open_printer_ex (p=0x83d7f80) at srv_spoolss.c:80 #17 0x08176802 in api_rpcTNP (p=0x83d7f80, rpc_name=0x83d7f8e "spoolss", api_rpc_cmds=0x8346d80, n_cmds=51) at srv_pipe.c:1571 #18 0x08176541 in api_pipe...
2003 Aug 04
11
Finally winbind on RH9 working, but why ?
Hi, maybe (probably ??) it's me, but it took me more than a week to get winbindd working on Redhat 9. It works now after changing a parameter in smb.conf, but I have NO idea why. Maybe some of you already had the same problem. If so, PLEASE clearify ! Thanks... PS as you will see later, getent group also does not work. This is an independent problem I think... can it have something to do
2003 Dec 01
0
No subject
...- uni_name = (UNISTR2 *)talloc(ctx, sizeof(UNISTR2)*num_sam_entries); + uni_name = (UNISTR2 *)talloc_zero(ctx, sizeof(UNISTR2)*num_sam_entries); if (sam == NULL || uni_name == NULL) { DEBUG(0, ("NULL pointers in SAMR_R_QUERY_DISPINFO\n")); @@ -1044,43 +1044,55 @@ data_size = q_u->max_size; - ctr = (SAM_DISPINFO_CTR *)talloc(p->mem_ctx,sizeof(SAM_DISPINFO_CTR)); + ctr = (SAM_DISPINFO_CTR *)talloc_zero(p->mem_ctx,sizeof(SAM_DISPINFO_CTR)); if (!ctr) return NT_STATUS_NO_MEMORY; + ZERO_STRUCTP(ctr); + /* Now create reply structure */ switch (q_u->switc...
2003 Dec 01
0
No subject
...Jun 2001 00:41:44 -0000 1.1.2.4 +++ rpc_server/srv_dfs_nt.c 20 Aug 2001 23:15:00 -0000 @@ -56,7 +56,7 @@ if (user.uid != 0) { DEBUG(10,("_dfs_add: uid != 0. Access denied.\n")); - return ERROR_ACCESS_DENIED; + return NT_STATUS_ACCESS_DENIED; } unistr2_to_ascii(dfspath, &q_u->DfsEntryPath, sizeof(dfspath)-1); @@ -122,7 +122,7 @@ if (user.uid != 0) { DEBUG(10,("_dfs_remove: uid != 0. Access denied.\n")); - return ERROR_ACCESS_DENIED; + return NT_STATUS_ACCESS_DENIED; } unistr2_to_ascii(dfspath, &q_u->DfsEntryPath, sizeof(dfspath)-1);...
2003 Dec 01
0
No subject
...1ea2c8 ar_ptr = (arena *) 0xbfffee0c p = 0x81ea2c8 #1 0x80fa040 in string_free (s=0x81ea340) at lib/util_str.c:1120 s = (char **) 0x81ea340 #2 0x804c914 in file_free (fsp=0x81ea2c8) at smbd/files.c:300 fsp = (files_struct *) 0x81ea2c8 #3 0x80a540f in _srv_net_file_query_secdesc (p=0x81f2758, q_u=0xbffff7a4, r_u=0xbffff78c) at rpc_server/srv_srvsvc_nt.c:1665 p = (pipes_struct *) 0xbffff264 psd = (SEC_DESC *) 0x81ede38 sd_size = 128 null_pw = "\000\003\013@Hv?\bx?\b\000\000\000\220l\034\b\004\000\000\000\030\000\000\000\020\000\000\000\000\032\025@<5\025@\000\032\025@\000\032...