Displaying 7 results from an estimated 7 matches for "uid&gid".
2008 Sep 10
2
UID&GID no same at two server...
Hello world!!!!
I realized that my samba_Server1 did not even UID & GID that the other
samba_Server1 ..
In summary: the share from the windows works very well. samba 1 and 2.
When i run wbinfo-u (samba 1 and 2.) i'have :
GUEST
ADMINITRATOR
..
but not
[DOMAIN] GUEST
[DOMAIN] ADMINITRATOR
..
(strange...)
When I run on samba_Server1: getent...
2004 Sep 01
3
Problems of preserving file owership and uid&gid options in rsyncd.conf
...ing is:
rsync -Cav /var/log/mp3log server2::var/log/mp3log
I have tried to add -o and -g options but still can't reach my purpose. I also remember to add a same user name to the remote rsync server. So what's the problem of my command?
Another question is: if I don't specify the root uid and gid in rsync.conf, it seems the rsync on the remote server doesn't has enough privilege to create folds, because it is using the uid 99 which is nobody. However, I can't find these same options as mine in the example script files. So what is the proper way to set the uid and gid options...
2020 May 25
2
Question about smbc_stat() and smbc_statvfs() in libsmbclient
I?ve been writing some code that uses libsmbclient to talk to SMB servers and I?m a little bit confused why ?smbc_stat()? sets the
st_uid & st_gid to the uid & gid of the process calling it, instead of trying to map the real owner & group of the path or setting it to -1:-1 if it can?t do that...
But there is probably some good reason for this?
Ie, if I call something like this:
> main() {
> struct stat sb;
>...
2020 Mar 20
2
systemuser login
...d in logfile
2020-03-20 15:44:43 imap-login: Info: Login: user=<andreas at dualbit.de>, method=PLAIN, rip=::1, lip=::1, mpid=15272, secured, session=<pYBcU0qhqIM
AAAAAAAAAAAAAAAAAAAAB>
2020-03-20 15:44:43 imap(andreas at dualbit.de): Error: Couldn't drop privileges: User is missing UID (see mail_uid setting)
2020-03-20 15:44:43 imap: Error: Internal error occurred. Refer to server log for more information.
hmmm
Andreas
2020 Mar 20
0
systemuser login
...gt; 2020-03-20 15:44:43 imap-login: Info: Login: user=<andreas at dualbit.de>, method=PLAIN, rip=::1, lip=::1, mpid=15272, secured, session=<pYBcU0qhqIM
> AAAAAAAAAAAAAAAAAAAAB>
> 2020-03-20 15:44:43 imap(andreas at dualbit.de): Error: Couldn't drop privileges: User is missing UID (see mail_uid setting)
> 2020-03-20 15:44:43 imap: Error: Internal error occurred. Refer to server log for more information.
>
> hmmm
>
> Andreas
Hi!
You need to specify uid&gid in your passwd file.
username:password:uid:gid:...
AKi
2020 May 27
0
Question about smbc_stat() and smbc_statvfs() in libsmbclient
On Mon, May 25, 2020 at 11:36:18PM +0200, Peter Eriksson via samba wrote:
> I?ve been writing some code that uses libsmbclient to talk to SMB servers
> and I?m a little bit confused why ?smbc_stat()? sets the
> st_uid & st_gid to the uid & gid of the process calling it,
> instead of trying to map the real owner & group of the path or setting it to -1:-1 if it can?t do that...
>
> But there is probably some good reason for this?
That's really old code that was designed to talk
to SMB1 s...
2020 May 28
2
Question about smbc_stat() and smbc_statvfs() in libsmbclient
Re: the smbc_stat() returning wrong st_uid/st_gid: Yeah, I get why it?s difficult, but perhaps it should just return -1/-1 instead? It too is wrong but probably less confusing than seeing the local user?s uid/gid there??
Anyway, I?ve been working on a ?grand unifying :-)? ACL managing (CLI) tool since I got tired of all the different and q...