search for: aduser

Displaying 20 results from an estimated 55 matches for "aduser".

Did you mean: adduser
2006 Jul 27
1
Winbind cache
...me group membership tests, just changing users from one to another group on the W2K3 Server. We've seen on those tests that winbind was caching the group membership for some users (sometimes just for one user). The tests we have done from a local user on Solaris 9 server: 1 Run 'groups aduser', the group membership for aduser is shown. 2 Change 'aduser' membership on the AD server. 3 Run 'groups aduser', the group membership for aduser is shown but is not reflecting the changes made. 4 Restart winbind setting cache time to zero. 5 Repeat steps 1,2,3 and now it refle...
2015 Apr 16
2
Group Mapping: All Users from a Domain group should be able to write to a local group
Hello Mailinglist, I have created a local user "localuser" who is in the local group "localgroup" $ id uid=1001(localuser) gid=1001(localgroup) groups=1001(localgroup) My machine authenticates against Active Directory - works The AD-User "aduser" belongs to a domain group "adgroup" $ id uid=6161(aduser) gid=5513(dom?nen-benutzer) groups=5513(dom?nen-benutzer),10656(adgroup) I have mapped the local group and the adgroup with the command net groupmap add ntgroup="adgroup" unixgroup=localgroup rid=10656 type=d That...
2019 Mar 12
3
Using Samba for Powershell queries
Does anyone know if it’s possible to run Powershell cmdlets such as Get-ADUser or Set-ADUser against a Samba server? The reason I’m asking is for the purpose of developing Powershell scripts. When my laptop is offline it would be very useful to still be able to run that kind of cmdlets without installing a full Windows Server VM. Best regards, Carl
2013 Apr 17
2
Can we update idmap documentation for 3.6?
Just when I thought I had idmap changes correct for 3.6, I realize I have a setup that's not quite right: getent passwd ->No AD users getent passwd DOMAINA\\aduser aduser:*:1001601:1000513::/home/aduser:/bin/bash Shouldn't "getent passwd" show both local and AD users? Samba has had such an identity crisis over the years with idmap documentation. Depending, on where you look, even samba.org, different documentation states outdated configurat...
2019 Sep 23
1
testparm comaprison
Mandi! L.P.H. van Belle via samba In chel di` si favelave... > Full qouta search list : > https://bugzilla.samba.org/buglist.cgi?quicksearch=quota&list_id=25312 I don't think it's a samba bug! Simply i'm pointing out that disabling 'winbind enum' can lead to some 'glitches', mostnotably 'getent passwd' return no domin users (by design) and
2019 Mar 12
1
Using Samba for Powershell queries
...erShell commandlets need Active > Directory Web Services running to interface with. > > On Tue., Mar. 12, 2019, 8:16 a.m. Carl Winbäck via samba, < > samba at lists.samba.org> wrote: > > > Does anyone know if it’s possible to run Powershell cmdlets such as > > Get-ADUser > > or Set-ADUser against a Samba server? > > > > The reason I’m asking is for the purpose of developing Powershell scripts. > > When > > my laptop is offline it would be very useful to still be able to run that > > kind > > of cmdlets without installing a...
2017 Nov 06
1
ntfs user mappings?
...sting usermap if [ -f /tmp/ntfs-3g.usermap ]; then rm -f /tmp/ntfs-3g.usermap fi WBINFO=$(which wbinfo) if [ -z "${WBINFO}" ]; then echo echo "Cannot find 'wbinfo', is it installed?" echo "Cannot continue...Exiting" exit 1 fi ## Get users ADUSERS=$(${WBINFO} -u) ## Get groups ADGROUPS=$(${WBINFO} -g) while IFS= read -r line do SID=$(${WBINFO} -n "$line" | awk '{print $1}') echo "$line::$SID" >> /tmp/ntfs-3g.usermap done <<< "$ADUSERS" while IFS= read -r line do SID=$(${WBINFO} -...
2019 Mar 07
2
When ad domain machine shutdown, samba can not auth with unix local user
...000-7999 idmap config HIKAD1 : backend = rid idmap config HIKAD1 : range = 100000-999999 realm = HIKAD1.COM <http://hikad1.com/> workgroup = HIKAD1 netbios name = numb2 [gltest] comment = path = /hdcfs/gltest public = no writable = no valid users = "HIKAD1\aduser",gluser write list = "HIKAD1\aduser",gluser directory mask = 0755
2009 Jun 18
1
Samba 3.3.4-31 ssh/winbind login failure
...9/06/18 11:18:45, 0] winbindd/winbindd.c:request_len_recv(616) request_len_recv: Invalid request size received: 2088 (expected 2096) /var/log/secure Jun 18 11:18:45 old-fs2 sshd[25696]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=fs2.cam.cw.local user=ADuser Jun 18 11:18:45 old-fs2 sshd[25696]: pam_winbind(sshd:auth): [pamh: 0x09769350] ENTER: pam_sm_authenticate (flags: 0x0001) Jun 18 11:18:45 old-fs2 sshd[25696]: pam_winbind(sshd:auth): getting password (0x00000011) Jun 18 11:18:45 old-fs2 sshd[25696]: pam_winbind(sshd:auth): pam_get_item returned a...
2016 Aug 30
3
We need to change our AD domain
...ngs work some dont..  try what you can use.   Or use CSVDE  ( which i preffer ) http://www.computerperformance.co.uk/Logon/Logon_CSVDE_Export.htm I used it for exports to csv only, for the import u use the regular tools on the samba server. Simple user export just open CMD.  Type : CSVDE -f adusers.csv -r "(objectClass=user)" And check your adusers.csv    > Sure it would be nice to have a domain rename supported natively but of all the things that still need to be done in > Samba 4's implementation of AD I don't believe it should be a high priority. > >...
2007 Mar 28
1
PAM auth problem
Pam auth don't work when I add pam_group: gw# id test2 uid=10001(test2) gid=11111(adusers) groups=11111(adusers), 10000(group1), 10001(group2), 10002(test10) gw# getent passwd test2 test2:*:10001:11111:Our AD-Unix Test Account:/home/test2:/bin/sh gw# cat /etc/pam.d/dovecot auth required pam_group.so group=adusers auth required pam_krb5.s...
2007 Mar 28
0
Active Directory Groups within /etc/group
I apologize if I'm going down the wrong avenue here... I have Samba/Winbind working to authenticate AD accounts to my Linux server. I can perform getent passwd ADUser and view the user credentials as well as using getent group ADGroup to view AD groups. When I modify /etc/group I can add ADUser to the file and the ADUser will have the security desired. However when I add an ADGroup to /etc/group it does not appear to work. My end goal is that instead of lis...
2010 Mar 08
1
nss_winbind.so delivers first group only on Solaris 10
...nto Microsoft AD running on 2003/2008 R2 servers. After some compile trouble I finally managed to get the whole thing running including winbind in nsswitch.conf for users and groups and PAM for authentication. The problem is that winbind only reports the primary group of an AD user. 'wbinfo -r aduser' only reports the GID of the primary group the user is in. When I do a 'su aduser' and then 'id -a' I also get just the primary group information. But the user is a member of several AD groups. I run into this problem with samba 3.3.11, 3.4.4 and 3.4.6 but it works fine with...
2016 Jun 13
2
Changing default UID/GID beginning for AD
...hat. I did looked for information, all I found was that: https://social.technet.microsoft.com/Forums/en-US/3e184d10-09e3-4eab-9131-6694b86879f8/modify-default-value-of-loginshell-attribute?forum=winserverDS Unfortunately it seems to list all users (I don't know these MS commands but "Get-AdUser -Filter"...) then sending that list to something to modify received users list ("Set-AdObject -Replace @{unixhomedirectory='/bin/sh','bin/bash'}" and https://technet.microsoft.com/en-us/library/ee617215.aspx). I would have looked into AD schema and configuration DIT...
2016 Aug 31
0
We need to change our AD domain
...CSVDE ( which i preffer ) > > > > http://www.computerperformance.co.uk/Logon/Logon_CSVDE_Export.htm > > > > I used it for exports to csv only, for the import u use the regular tools on the samba server. > > > > Simple user export just open CMD. Type : CSVDE -f adusers.csv -r "(objectClass=user)" > > > > And check your adusers.csv > > > > > > > >> Sure it would be nice to have a domain rename supported natively but of all the things that still need to be done in > >> Samba 4's implementation of AD...
2019 Mar 07
0
When ad domain machine shutdown, samba can not auth with unix local user
...idmap config HIKAD1 : range = 100000-999999 > realm = HIKAD1.COM <http://hikad1.com/> > workgroup = HIKAD1 > netbios name = numb2 > > [gltest] > comment = > path = /hdcfs/gltest > public = no > writable = no > valid users = "HIKAD1\aduser",gluser > write list = "HIKAD1\aduser",gluser > directory mask = 0755 Try changing 'winbind offline logon = false' to 'winbind offline logon = yes' This will cache your logon credentials. I also hope by 'unix local user' that you mean an AD user...
2008 Oct 31
0
winbind passwd entries in solaris
...age I see sshd[1003]: [ID 800047 auth.error] error: PAM: User account has expired for user from pc00230.usr.domain.ru I found that getent passwd entries in Solaris and Linux are different solaris passwd entry: #getent passwd user user:x:103:103:user:/home/user:/bin/ksh ^^^ winbind entry: aduser:*:9903:2513::/export/home/aduser:/bin/sh ^^^ Help please with samba configuration. --
2019 Feb 01
2
group membership inconsistency on AD domain member
...with the output of 'wbinfo -r', so I don't think it's a NSS problem. The "funny" thing is that this doesn't apply to all of the members of the newly created group, only for some of them. On the DC i checked the affected users with the powershell command "get-aduser $username -Properties memberof | select -expand memberof", everything is correct. To my experience the problem goes away after some time (a couple of hours) for some users, again not all of them. I fiddled with some winbind options in smb.conf, restarted winbind a couple of times, used &q...
2019 Mar 07
2
When ad domain machine shutdown, samba can not auth with unix local user
Hi, I config my samba join a ad domain(security = ADS), using samba 4.7.1 in CentOS7.5. Everything gone well, I can login with ad user and local user at the same time. But when the ad domain get down, I can not login with local user. wbinfo -t prompt: NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND, smbclient login with NT_STATUS_NO_LOGON_SERVER error. I lookup the debug message, and found auth
2015 Oct 09
0
Make a share owned by a service account available to members of an AD group
...password from AD, but only if the account exists in the local system too. You need to remove any local users that you want to be in AD (oh and don't try and get creative and put Unix system users in AD, they belong in /etc/passwd) , run 'net cache flush' , run 'getent passwd <ADuser>' (replace <ADuser> with an AD username that has a uidNumber), if this returns the users details, you should then be able to chown the share to belong to the user. Once you have got this far, I would suggest reading more on the samba wiki, especially about creating shares and sett...