search for: usermap

Displaying 20 results from an estimated 363 matches for "usermap".

2023 Mar 09
1
rsync 3.2.7 hangs when --usermap is used and receiver is not a super-user
Hi. On Wed, 08 Mar 2023 22:21:28 +0100 Tomasz Chmielewski via rsync wrote: > After upgrading to rsync 3.2.7, the following command hangs forever > (using "--usermap" causes the hang; without "--usermap" it doesn't > hang): > rsync -v -p -e --usermap user:user /etc/services user at remote: This command is incorrect: the -e option needs a command. Without -e this command works for me on Fedora-37 with rsync-3.2.7-1.fc37.x86_64 -- f...
2017 Nov 06
1
ntfs user mappings?
...as a normal user. > I had another thought, why am I reinventing the wheel, so came up with this: #!/bin/bash echo "#######################################################" echo "# #" echo "# Please Wait whilst Usermap is created. #" echo "# #" echo "#######################################################" ## Remove any existing usermap if [ -f /tmp/ntfs-3g.usermap ]; then rm -f /tmp/ntfs-3g.usermap fi WBINFO=$(which wbinf...
2023 Mar 08
1
rsync 3.2.7 hangs when --usermap is used and receiver is not a super-user
After upgrading to rsync 3.2.7, the following command hangs forever (using "--usermap" causes the hang; without "--usermap" it doesn't hang): rsync -v -p -e --usermap user:user /etc/services user at remote: It did not hang with rsync 3.2.3. Not sure if it's intended behaviour? The fine manual says that --usermap should be used as a super-user on the recei...
2014 Apr 30
1
rsync-3.1.0 bug in cmdline parsing for option --usermap and --groupmap
Hello! I think there is a small bug in cmdline parsing for option usermap and groupmap. If you give multiple mappings to --usermap or --groupmap, only the first one is used. Example: rsync -a --usermap=userA:userB,userC:userD <src> <dst> -> Only the user mapping for userA to userB is used, the second mapping is ignored. The attached patch fixed the prob...
2014 Jul 09
1
[Bug 10705] New: usermap/groupmap do not escape wildcards passed to the remote
https://bugzilla.samba.org/show_bug.cgi?id=10705 Summary: usermap/groupmap do not escape wildcards passed to the remote Product: rsync Version: 3.1.1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned...
2006 Aug 18
8
Strange Usermapping problem with 3.0.23b
Yesterday evening I upgraded my FreeBSD 5.5-RELEASE Server from Samba 3.0.22 to 3.0.23. This gave me a LOT of work today... :-( This is what I found so far: My Samba-Server is member of a large ADS-Domain. After the upgrade, file based Usermapping didn't work anymore... better: it worked TWICE. (I once opened a PR for that a few years ago :-). So, with LogLevel 3: <DOMAIN>\<WinUser> is mapped to <UnixUser> <DOMAIN>\<UnixUser> is mapped to <DefaultUser> (I have a line "<DefaultUser> =...
2006 Jan 31
4
usermap ignored?
Hi listm i ran into some difficulties using samba 3.0.21b as an PDC while mapping e.g. "root" to "administrator" With samba 3.0.10 it worked - however i cannot find anything thats wrong. Can somebody please point me where to look at? Can i test the usermap functionality somehow except for logging in on windows machine as the mapped account? Should "getent passwd" reflect the mapping in any way? Important parts of my config: ----------------------- [global] ?security = user ?... ?username map = /etc/samba/smbusers ?... ?and ldap backend! --...
2017 Nov 03
2
ntfs user mappings?
...domain using winbind. I have windows pro machines joined to AD normally I would like it so that when I user writes to an ntfs removable disk That when I mount it on my linux machines it follows the permissions. Is that possible? I use ntfs-3g to mount the partition. I see there is a command ntf3-3g.usermap and wonder if that might work. Is there a command like it to get the usermap from AD? I'm curious if when I write to the disk from linux machines if it shows proper ownership on my windows machines.
2017 May 24
2
Moving dovecot/maildir to new host, dovecot.* files
Hello, I've done a fair amount of searching, and couldn't find a definitive answer. I am moving my dovecot/postfix servers and mail in Maildir formats to a new host. When I move the Maildir directories, what should I do with the dovecot.index/cache/log/etc. files? I know I can filter them out, and dovecot will recreate them, but is that the best approach? I am thinking of the following:
2017 Nov 05
3
ntfs user mappings?
...ev}-${dashes}-${nonuniq}-${issuer1}-${issuer2}-${issuer3}-${uid}" } > > On Sat, Nov 4, 2017 at 4:42 PM, Jeff Sadowski > <jeff.sadowski at gmail.com> wrote: > > . DOMAIN_ADMIN_PASSWD.sh > > echo ${PASSWD} | kinit ${ADMIN}@${DOMAIN} > > echo -n > /etc/ntfs-3g.usermap > > for DOMAIN_USER in $(wbinfo -u);do > > RPCLOOKUPID=$(rpcclient -P -c "lookupnames ${DOMAIN_USER}" > > ${DOMAIN}) if [ "${RPCLOOKUPID:0:7}" != "ERROR: " ] && > > [ "${RPCLOOKUPID:0:7}" != "Failed " ];then > &gt...
1998 Jul 21
0
Usermap based on client domain.
I've been experimenting with the usermap function, and the only problem I've been running into is that multiple domains will be connecting to our samba server. I've been trying to figure out a way to base the usermap on the domain which is attempting to connect, but all I cac come up with is to use IP adresses or Netbios names. An...
2013 Oct 14
1
rsync-3.1.0 --chown, --usermap, and --groupmap ignored?
The man page describes options --chown, --usermap, and --groupmap, but these seem to be silently ignored beyond validating that the user and groups do indeed exist. Is the following supposed to work? $ touch a $ rsync --chown=http:http a b $ ls -l a b -rw-r--r-- 1 jed jed 0 Oct 14 02:44 a -rw-r--r-- 1 jed jed 0 Oct 14 02:45 b $ chown http:http b...
1999 Jul 30
0
NT4 SP3 and Samba - Connection problems
...ve already check the EnablePlainTextPassword = 1 in the NT registries. I tried also to use the debug options for smbd (using smbd -D -d 5 -l /tmp/smbd.log) and nmbd, the only interresting thing in the log is: ... switch message SMBtconX (pid 649) Got device type ????? Scanning username map /etc/smb.usermap Trying username Map-Name Scanning username map /etc/smb.usermap SMB Password - pwlen = 8, challenge_done = 0 Checking password for user nobody (l=8) 1999/07/28 10:06:05 invalid username/password for Map-Name 1999/07/28 10:06:05 error packet at line 171 cmd=117 (SMBtconX) eclass=2 ecode=2 error stri...
2015 Mar 04
0
FW: Domain Member Server (wheezy) - Unable to edit permissions of share without usermapping - shall I add to Wiki?
...nsider the environment before printing this email. -----Original Message----- From: Shane Robinson [mailto:srobinson at simpeq.ca] Sent: Wednesday, March 04, 2015 12:32 PM To: 'Rowland Penny' Subject: RE: [Samba] Domain Member Server (wheezy) - Unable to edit permissions of share without usermapping - shall I add to Wiki? Hi Rowland, Thanks for getting back to me! So, if you, and others are mapping root to Administrator, shall I add that to the wiki? Upon reading your response, could my problem have always been that I immediately gave the Administrator account a UIDnumber? Is the Admin...
2003 Jun 16
1
usermapping in 3.0b1
...to map my NT id to the same uid of my unix id. This is fine for my personal machine, but would not work if the machine had more than one person connecting. So what is the best way to map NT and Unix ID's (winbindd would work, assuming you wanna ditch your unix users in favor of just using NT. usermap doesn't appear to work anymore.) -Dan
2015 Mar 04
0
Domain Member Server (wheezy) - Unable to edit permissions of share without usermapping - shall I add to Wiki?
...From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] > On Behalf Of Rowland Penny > Sent: Wednesday, March 04, 2015 12:13 PM > To: samba at lists.samba.org > Subject: Re: [Samba] Domain Member Server (wheezy) - Unable to edit > permissions of share without usermapping - shall I add to Wiki? > > On 04/03/15 19:25, Davor Vusir wrote: >> If I remember correctly it doesn't matter what combinations you >> 'chmod' to. It changes to 755 as soon as you change ACLs from Windows. >> I suggest you add uid- and gidnumber to all users...
2016 Feb 29
2
Segmentation Fault when trying to set root samba password, IPA as a backend
...; On 29/02/16 13:44, Martin Juhl wrote: >> Hi >> >> >>>> First thing is, you shouldn't have a user called 'root' in your domain, >> I know, was just saying that the error message changed when I added the user.... >> >>>> use a usermap to map 'Administrator' to 'root' >> I have now tried adding: >> >> username map = /var/lib/samba/usermap.txt >> >> to my [global] >> >> and /var/lib/samba/usermap.txt: >> >> mj = Adminstrator >> >> >&gt...
2015 Mar 04
0
Domain Member Server (wheezy) - Unable to edit permissions of share without usermapping - shall I add to Wiki?
...vironment before printing this email. -----Original Message----- From: Rowland Penny [mailto:rowlandpenny at googlemail.com] Sent: Wednesday, March 04, 2015 12:53 PM To: Shane Robinson Subject: *****SPAM***** Re: [Samba] Domain Member Server (wheezy) - Unable to edit permissions of share without usermapping - shall I add to Wiki? On 04/03/15 20:32, Shane Robinson wrote: > Hi Rowland, > > Thanks for getting back to me! > > So, if you, and others are mapping root to Administrator, shall I add > that to the wiki? > > Upon reading your response, could my problem have always b...
2015 Mar 04
2
Domain Member Server (wheezy) - Unable to edit permissions of share without usermapping - shall I add to Wiki?
...---Original Message----- From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] On Behalf Of Rowland Penny Sent: Wednesday, March 04, 2015 12:13 PM To: samba at lists.samba.org Subject: Re: [Samba] Domain Member Server (wheezy) - Unable to edit permissions of share without usermapping - shall I add to Wiki? On 04/03/15 19:25, Davor Vusir wrote: > If I remember correctly it doesn't matter what combinations you > 'chmod' to. It changes to 755 as soon as you change ACLs from Windows. > I suggest you add uid- and gidnumber to all users and groups and chown...
2015 Mar 04
0
Domain Member Server (wheezy) - Unable to edit permissions of share without usermapping - shall I add to Wiki?
On 04/03/15 18:31, Shane Robinson wrote: > Hello again Rowland, list! > > Sorry for the delayed response, and top posting. > > To recap: > I'd like to complete the member server wiki so that ACLs can be set from > windows without taking undocumented steps. > > The three ways I've found to do this are: > > 1) map root to administrator. (LPH VanBelle's