Displaying 20 results from an estimated 400 matches similar to: "Order of getpwnam call in Get_Pwnam_internals."
2024 Jan 25
1
Order of getpwnam call in Get_Pwnam_internals.
On Thu, 25 Jan 2024 18:27:48 +0800
hhyy ww via samba <samba at lists.samba.org> wrote:
> Hi list,
>
> My case :
> Local UNIX user : ZTEST
> domain : uuq.ork
> domain user : UUQ\ztest
> smb.conf for standalone samba : /home/hywu/smb.conf
>
> [/home/hywu] # cat /home/hywu/smb.conf
> [global]
> passdb backend = smbpasswd
> workgroup = WORKGROUP
>
2024 Jan 25
1
Order of getpwnam call in Get_Pwnam_internals.
Rowland Penny via samba <samba at lists.samba.org> ? 2024?1?25? ?? ??6:42???
> On Thu, 25 Jan 2024 18:27:48 +0800
> hhyy ww via samba <samba at lists.samba.org> wrote:
>
> > Hi list,
> >
> > My case :
> > Local UNIX user : ZTEST
> > domain : uuq.ork
> > domain user : UUQ\ztest
> > smb.conf for standalone samba : /home/hywu/smb.conf
2024 Jan 25
1
Order of getpwnam call in Get_Pwnam_internals.
On Thu, 25 Jan 2024 20:54:07 +0800
hhyy ww via samba <samba at lists.samba.org> wrote:
> Rowland Penny via samba <samba at lists.samba.org> ? 2024?1?25? ??
> ??6:42???
>
> > On Thu, 25 Jan 2024 18:27:48 +0800
> > hhyy ww via samba <samba at lists.samba.org> wrote:
> >
> > > Hi list,
> > >
> > > My case :
> > > Local
2024 Jan 25
1
Order of getpwnam call in Get_Pwnam_internals.
My system is not only for CIFS/SMB/domain features , sometime I need to
disable DC so I have to keep local user in /etc/passwd.
I have download samba source code and build it. I modify the order of
getpwnam call in source3/lib/username.c then solve the problem.
I have checked the following list :
https://lists.samba.org/archive/samba-technical/2008-March/058508.html
I think this is same problem.
2007 Nov 29
2
Overriding resources in a define in a module - can''t get syntax right
Maybe it works, maybe it doesn''t, but I sure as hell can''t make it work.
I get stuck with
"Could not find object(s)" whatever I do
This is my module init.pp
class ztest::setup {
notice "MAIN SETUP CLASS"
file { directfile:
path => "/etc/directfile",
owner => root, group => root, mode => 0644,
content
2013 May 16
2
A function that can modify an object? Or at least shows principles how to modify an object?
Hi, If I have an R object UUU, where the second element is U2, based on
"g" column of my.table
my.table of UUU is:
mmm ggg gindex map Info
aaa123 U1 1 1 1
aaa124 U1 1 2 1
bbb1378 U2 2 1 1
bbb8888 U2 2 2 0
bbb1389 U2 2 3
2011 Jan 26
1
return object from loop inside a function
Hi All,
I have a for loop inside the function and I cannot get UUU to give me an
updated grid.dens object when I run the function (it does update when I
run just the for loop). Here's a simplified version of my function:
UUU=function(pop, grid.dens) {
for (i in 1:10){
Food=grid.dens[pop$yloc[i],pop$xloc[i]] #use initial grid.dens values
Consumed=(pop$weight[i]*0.25)
Left=Food-Consumed
2003 Oct 16
3
indexing a particular element in a list of vectors
I have a "list" of character vectors. I'm trying to see if there is a way
(in a single line, without a loop) to pull out the first element of all the
vectors contained in the list.
listOfVectors[1:length(listOfVectors][1]
doesn't work.
==========================
If you want more details..
Here is my listOfVectors which is called "uuu"
>
2008 Apr 25
1
replace-in-place: cannot replace, device is busy
Say I have a raidz of 3 disks: ad4 ad6 ad8
I want to tell zfs that I am pulling ad4 and replacing it with a new disk on the same controller, but I can''t get it to release its hold on ad4.
[0138][root at ztest:/home/matt]# zpool offline pond ad4
Bringing device ad4 offline
[0140][root at ztest:/home/matt]# zpool replace pond ad4
cannot replace ad4 with ad4: ad4 is busy
2011 Mar 18
1
Replace split with regex for speed ?
Have timestamp in format HH:MM:SS.MMM.UUU and need to remove the last "." so
it is in format HH:MM:SS.MMMUUU.
What is the fastest way to do this, since it has to be repeated on millions
of rows. Should I use regex ?
Currently doing it with a string split, which is slow:
>head(ts)
[1] 09:30:00.000.245 09:30:00.000.256 09:30:00.000.633 09:30:00.001.309
09:30:00.003.635
2005 Oct 28
3
splitting a character field in R
Dear R users,
I have a dataframe with one character field, and I would like to create two
new fields (columns) in my dataset, by spliting the existing character
field into two using an existing substring.
... something that in SAS I could solve e.g. combining substr(which I am
aware exist in R) and "index" for determining the position of the pattern
within the string.
e.g. if my
2002 Apr 25
1
Re: Problems with ext3 fs
Hi,
I have read this thread and want to say that I have expirienced the same
problem.
Once, when I was loged in, one of my filesystems ( root filesystem :( )
became read-only with the same symptoms.
But results was more tragic. Almost in each directory avg. 10% of files
had incorrect attributes, owner, links, etc.
But filenames was correct. So, I was obliged to re-create root
filesystem :(
2007 Feb 18
3
Improper use of atomic_add_64().
Hi.
I noticed that when non-64bit variable is given as a second argument to
atomic_add_64() function, the result is invalid.
I found few places where such situation occurs. I wonder how this got
unnoticed with ztest, which fails on me within a few seconds (after I
started to use Solaris atomic operations) on assertions. Maybe this
only doesn''t work when compiled with gcc? Not sure, but
2007 Oct 29
2
Setting variables in modules - order important?
Puppeteers,
For some reason I have to assign my variable before I include my class
for the assignment to ''take''. I though the ordering was immaterial. Am
I doing something wrong (again) or is this a funny?
-----------------------
This works:
<0> sa_dewha@engpsr0000.intranetdev.barcapdev.com (0 jobs)
2013 Sep 03
1
libR.so: cannot open shared object file
Hi all
I have a R code that incorporates a C++ programm. I compiled the C++
code with the following:
R CMD SHLIB Model.cpp -Wall funzioni.cpp
it seems to work fine but when i run the R code i get this error message
Error in dyn.load(paste(dir_func, "Model.so", sep = "")) :
unable to load shared object '/lustre/work/uuu/RCpp/Model.so':
libR.so: cannot open
2014 Sep 08
2
optimizing and scaling ntlm_auth
Hello,
I am using ntlm_auth called from FreeRADIUS to authenticate users on a network with their Active Directory credentials.
The problem I seem to be having is that ntlm_auth is taking longer than it should and I can't seem to get it to go faster reliably.
Some background information:
Users are connecting to a wireless network using 802.1x.
That network sends requests to FreeRADIUS which
2013 Oct 10
1
Question about DNS Ghost Records
I have had an IP Address Record of the name Z37 which was 192.168.2.203.
Using nslookup I find it, but samba-tool queries the name and shows 0
Records?
$ nslookup Z37
Server: 192.168.2.1
Address: 192.168.2.1#53
Name: Z37.calcdom.local
Address: 192.168.2.203
$ samba-tool dns query localhost calcdom.local @ ALL
Name=, Records=4, Children=0
SOA: serial=119, refresh=900,
2011 Sep 13
4
imapc and imap_acl
Hello (Timo),
yes, I know... maybe it's a bit far fetched, but I do have a use case.
Would it be (reasonably easily) possible to implement IMAP ACL
support for "imported" imapc namespaces/mailboxes?
There is no local directory (like with the virtual plugin) yet...
Greetings,
Lutz
--
Lutz Pre?ler <Lutz.Pressler at SerNet.DE> http://www.SerNet.DE/
SerNet Service
2006 Oct 31
0
6410698 ZFS metadata needs to be more highly replicated (ditto blocks)
Author: billm
Repository: /hg/zfs-crypto/gate
Revision: 33640e100342f4a847c599f1a1671dda6faf4e05
Log message:
6410698 ZFS metadata needs to be more highly replicated (ditto blocks)
6410700 zdb should support reading raw blocks out of storage pool
6410709 ztest: spa config can change before pool export
Files:
update: usr/src/cmd/mdb/common/modules/zfs/zfs.c
update: usr/src/cmd/zdb/zdb.c
update:
2011 Sep 07
1
Samba on freebsd - permissions issue
Hello,
I have Samba set up on FreeBSD with a share for guests. I don't need or want any authentication for this share.
[test2]
path = /data/test2
read only = No
create mask = 0777
guest ok = Yes
The file permission on the host directory was set to 2777 and nobody:nobody. When a windows machine writes to the dir the permissions look fine. For example,