search for: useruid

Displaying 20 results from an estimated 29 matches for "useruid".

Did you mean: userid
2015 Nov 04
2
Pam_mount not working with "sec=krb5"
...I use pam_mount with the following volume definition in the "/etc/security/pam_mount.conf.xml": <volume fstype="cifs" server="server" path="home/%(USER)" mountpoint="/home/%(USER)" sgrp="domain users" options="sec=krb5,cruid=%(USERUID),uid=%(USERUID),gid=someLiteralGroupID,nosuid,nodev" /> But this wouldn't work initially, I got the # mount error(126): Required key not available However, once the respective user had logged in, I could use these parameters for a manual mount as root: # mount.cifs //server/home/use...
2015 Nov 04
0
Pam_mount not working with "sec=krb5"
...th the following volume definition in the > "/etc/security/pam_mount.conf.xml": > <volume fstype="cifs" server="server" path="home/%(USER)" > mountpoint="/home/%(USER)" sgrp="domain users" > options="sec=krb5,cruid=%(USERUID),uid=%(USERUID),gid=someLiteralGroupID,nosuid,nodev" > /> > > But this wouldn't work initially, I got the > # mount error(126): Required key not available > > However, once the respective user had logged in, I could use these > parameters for a manual mount as roo...
2018 May 30
1
Scripting the next UID/GID number to use
Hello. If you want. I have already implemented something like this : ############################### # get user rfc2307 attributes # ############################### # get the new uid # userUid=$(s4ldbsearch -H $samDatabase -s base -b CN=$shortDomain,CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,$baseDN msSFU30MaxUidNumber | grep 'msSFU30MaxUidNumber:') if [ -z "$userUid" ]; then userUid="$baseUid" else userUid=$(echo $userUid | sed 's/^msSFU30Max...
2018 Jan 16
3
Avoiding uid conflicts between rfc2307 user/groups and computers
Mandi! Kacper Wirski via samba In chel di` si favelave... > I understand the OP, I was asking some time ago similar question, but it was > in relation to samba domain member. Thanks, Kacper. > I couldn't get backend: ad to work for > machine accounts, so i switched to idmap: rid and it solved everything. I > tried manually adding UID and GID to Domain Computer group and to
2018 May 30
2
Scripting the next UID/GID number to use
On Wed, 30 May 2018 10:33:55 +0200 Marco Gaiarin via samba <samba at lists.samba.org> wrote: > Mandi! Rowland Penny via samba > In chel di` si favelave... > > > > So, in AD LDAP lingo, a 'modify' is not atomic, and a 'delete/add' > > > yes? > > Ahem, i meant: > > So, in AD LDAP lingo, a 'replace' is not atomic, and a
2018 Jan 17
0
Avoiding uid conflicts between rfc2307 user/groups and computers
...d ) -> 4000000 - 4999999 for the user rfc2307 uidNumber -> 5000000 - 5999999 for the group rfc2307 gidNumber If someone is interested, here a part of the script I have used : ############################### # get user rfc2307 attributes # ############################### # get the new uid # userUid=$(ldbsearch -H $samDatabase -s base -b CN=$shortDomain,CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,$baseDN msSFU30MaxUidNumber | grep 'msSFU30MaxUidNumber:') if [ -z "$userUid" ]; then userUid="$baseUid" else userUid=$(echo $userUid | sed 's/^msSFU30MaxUi...
2020 Sep 25
4
Debian client/workstation pam_mount
...mba wrote: > I am using it on Fedora with Volume Definition looking like this: and I use this: <volume fstype="cifs" ??????? server="CIFS_SERVER_FQDN" ??????? path="linprofiles" ??????? mountpoint="/mnt/%(USER)" options="username=%(USER),uid=%(USERUID),gid=%(USERGID),domain=%(DOMAIN_NAME)" > <not> <uid>0-9999</uid> </not> </volume> I do not use sssd and it mounts at user logon. Rowland
2020 Sep 25
3
Debian client/workstation pam_mount
...t; > > <volume fstype="cifs" > > server="domain-server2.policia2.rionegro.gov.ar" > > path="FS_PRUEBA_3" > > mountpoint="/home/POLICIA2/prueba3/compartido" > > Options="username=%(USER),uid=%(USERUID),gid=%(USERGID),domain=%(GRUPO3)" > > > > > No, 'domain=GRUPO3', not 'domain=%(GRUPO3)' > > I also take it that 'FS_PRUEBA_3' is the sharename on the server. > > Rowland > > > > -- > To unsubscribe from this list go to the fo...
2020 Sep 25
3
Debian client/workstation pam_mount
...t; <!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd"> <pam_mount> <volume fstype="cifs" server="domain-server2" path="FS_PRUEBA_3" mountpoint="/home/prueba3/compartido" options="username=%(USER),uid=%(USERUID),gid=%(USERGID),domain=%(DOMAIN_NAME)" > <not> <uid>0-9999</uid> </not> </volume> <!-- ... --> </pam_mount> El vie., 25 sept. 2020 a las 10:44, Rowland penny via samba (< samba at lists.samba.org>) escribi?: > On 25/09/2020 14:09, jmpa...
2015 Nov 04
2
Pam_mount not working with "sec=krb5"
Am 04.11.2015 um 14:49 schrieb mathias dufresne: > 2015-11-04 13:58 GMT+01:00 Ole Traupe <ole.traupe at tu-berlin.de>: > >> Mathias, thanks again! This sounds like a very reasonable approach. I know >> that with remote ssh and public key authentication you can set the limit to >> a single possible command. is this also possible with AD users? >> > I'm
2004 Sep 21
2
Corrupted userid in mail folders - Crisis
...uty principal reported that she had received other people's mail. So I ran the following script to reset all the folders: #!/bin/bash export IFS=: echo "Auto-creating home directories for windows domain users" getent passwd|grep ":10[0-9][0-9][0-9]"|while read USER FLAG USERUID USERGID USER_LONG USERHOME USERSHELL; do if [ -e $USERHOME ]; then echo "Setting ownership of existing $USERHOME" chown -R $USERUID.$USERGID $USERHOME else echo "Creating $USERHOME for $USER with $USERUID/$USERGID"...
2020 Sep 25
2
Debian client/workstation pam_mount
...quot;pam_mount.conf.xml.dtd"> <pam_mount> <volume fstype="cifs" server="domain-server2.policia2.rionegro.gov.ar" path="FS_PRUEBA_3" mountpoint="/home/POLICIA2/prueba3/compartido" Options="username=%(USER),uid=%(USERUID),gid=%(USERGID),domain=%(GRUPO3)" > <not> <uid>0-9999</uid> </not> </volume> <!-- ... --> </pam_mount> On the domain, list users on the group GRUPO3 root at domain-server2:~# samba-tool group listmembers "GRUPO3" WARNING: No path in ser...
2020 Sep 26
2
Debian client/workstation pam_mount
...ws4:~# cat /etc/security/pam_mount.conf.xml > <debug enable="2" /> > <volume fstype="fuse" > server="mbr04.subdom.example.com" > path="/public" > mountpoint="/home/test2/dtshare" > > options="username=%(USER),uid=%(USERUID),gid=%(USERGID),domain=%(DOMAIN_NAME),nosuid,nodev,noatime,reconnect,nonempty,allow_other,default_permissions,password_stdin" > ssh="0" noroot="0" /> > Per Dr. Naumer suggestion, I removed "password_stdin" but failure remained the same (so, put i...
2020 Sep 25
0
Debian client/workstation pam_mount
...oks like: root at lws4:~# cat /etc/security/pam_mount.conf.xml <debug enable="1" /> <volume fstype="fuse" server="mbr04.subdom.example.com" path="/srv/samba/public" mountpoint="/home/test2/dtshare" options=""username=%(USER),uid=%(USERUID),gid=%(USERGID),domain=%(DOMAIN_NAME),nosuid,nodev,noatime,reconnect,nonempty,allow_other,default_permissions,password_stdin" ssh="0" noroot="0" /> "tail -f /var/log/syslog" ends with: Sep 25 06:39:54 lws4 systemd[1]: home-test2-dtshare.mount: Mounting timed o...
2007 Jul 10
1
mounting an AD share upon login
...debug 1 mkmountpoint 1 fsckloop /dev/loop7 luserconf .pam_mount.conf options_allow nosuid,nodev options_deny suid,dev options_require nosuid,nodev lsof /usr/bin/lsof %(MNTPT) fsck /sbin/fsck -p %(FSCKTARGET) cifsmount /bin/mount -t cifs //%(SERVER)/%(VOLUME) %(MNTPT) -o "user=%(USER),uid=%(USERUID),gid=%(USERGID)%(before=\",\" OPTIONS)" smbmount /usr/bin/smbmount //%(SERVER)/%(VOLUME) %(MNTPT) -o "username=%(USER),uid=%(USERUID),gid=%(USERGID)%(before=\",\" OPTIONS)" smbumount /usr/bin/smbumount %(MNTPT) umount /bin/umount %(MNTPT) volume * cifs WIN2003...
2020 Sep 25
2
Debian client/workstation pam_mount
...lt;volume fstype="fuse" > >> server="mbr04.subdom.example.com <http://mbr04.subdom.example.com>" > >> path="/srv/samba/public" > >> mountpoint="/home/test2/dtshare" > >> > options=""username=%(USER),uid=%(USERUID),gid=%(USERGID),domain=%(DOMAIN_NAME),nosuid,nodev,noatime,reconnect,nonempty,allow_other,default_permissions,password_stdin" > > >> > >> ssh="0" noroot="0" /> > >> > >> "tail -f /var/log/syslog" ends with: > >> S...
2020 Sep 24
3
Debian client/workstation pam_mount
I have some (for testing) Debian based client/workstation connected to my AD. Signing to the AD works as a domain/user should. These clients can, via Nautilus file manager, access shares on the file server manually that the *signed in domain user* is permitted to "see". I would prefer to connect these files and the domain user home directory automatically at sign in without manual
2023 Oct 15
1
reliability of mounting shares while login
...gt; <mkmountpoint enable="1" remove="true"/> <volume fstype="cifs" server="srv-dc01.example.localnet" path="Daten$" mountpoint="/media/%(USER)/Daten" options="iocharset=utf8,nosuid,nodev,echo_interval=15,sec=krb5i,cruid=%(USERUID)," uid="5000-999999999"/> <volume fstype="cifs" server="srv-dc01.example.localnet" path="Home$" mountpoint="/media/%(USER)/Home" options="iocharset=utf8,nosuid,nodev,echo_interval=15,sec=krb5i,cruid=%(USERUID)," uid="5000...
2020 Sep 25
2
Debian client/workstation pam_mount
...t;debug enable="1" /> > <volume fstype="fuse" > server="mbr04.subdom.example.com <http://mbr04.subdom.example.com>" > path="/srv/samba/public" > mountpoint="/home/test2/dtshare" > options=""username=%(USER),uid=%(USERUID),gid=%(USERGID),domain=%(DOMAIN_NAME),nosuid,nodev,noatime,reconnect,nonempty,allow_other,default_permissions,password_stdin" > ssh="0" noroot="0" /> > > "tail -f /var/log/syslog" ends with: > Sep 25 06:39:54 lws4 systemd[1]: home-test2-dtshare.moun...
2020 Sep 24
0
Debian client/workstation pam_mount
...her with nfs, > cifs, or other file connection methodology. Anyone willing to talk about > pam_mount settings as they relate to Samba 4 use? > I am using it on Fedora with Volume Definition looking like this: <volume user="*" options="domain=DOMAINNAME,sec=krb5,cruid=%(USERUID),nodev,vers=3.1.1" fstype="cifs" server="SERVERFQDN" path="data" mountpoint="/home/%(USER)/data/" /> The client machine is domain joined (Rowland please stop reading here) with SSSD. I am logging in with Domain credentials. What is the actual error...