Questions tagged [attributes]
Extended attributes (commonly called "xattrs") are a way to associate metadata with files/directories in the filesystem.
63
questions
0
votes
2
answers
2k
views
Windows Certificate Authority - Adding Additional Attributes
In AD Certificate Templates the templates have an option to build from AD information and includes Email, DNS, UPN, etc.
When creating a CSR using powershell, openssl and the certificate mmc snap-in ...
0
votes
1
answer
359
views
Active Directory Attributes and Dynamic Distribution groups
Wondering if someone can help with my scenario.
When I right click my user account in AD and go to Attribute Editor, we have a attribute called roomNumber which is a Unicode string. In the field my ...
0
votes
2
answers
1k
views
How to copy with robocopy the time attributes without re-copying the files
I transferred the files to a new disk but found that files with the wrong year (1980) and these files I can't open with Photoshop.
I would like to copy the time attributes from the first drive to the ...
1
vote
0
answers
116
views
postfix transport to smtp or lmtp depending on LDAP attribute
In postfix, I usually route mails depending on "mailhost" attribute as follows:
query_filter = (|(&(mail=%U@%d)(accountstatus=active))(&(mailalternateaddress=%U@%d)(accountstatus=...
2
votes
1
answer
194
views
WDC WD40PURZ-85AKKY0 is missing smartclt attributes?
I d like to share a weird thing I came across with the above aforementioned disk. I have two of these
WDC WD40PURZ-85AKKY0
WDC WD40PURZ-85TTDY0
both are purple 4tb drives. Before use them in an array ...
0
votes
0
answers
87
views
I need help to remove mail attributes from AD LDS domain for Bulk Users
Where am I going wrong in the script here? It doesn't give me any error. But it doesn't remove
$cred= get-credential "s2\svcfimadamadmapeu"
$CSV= Get-content '.\input.csv'
function ...
0
votes
1
answer
1k
views
robocopy doesn't remove attributes from copied folders
I try to use robocopy to copy all userdata from : "C:\Users"
Command:
robocopy /b /e /xjd /sl /a-:RSH /r:1 "C:\Users" "E:\backup"
In the User directories are hidden ...
0
votes
1
answer
454
views
'getfattr' to list all attributes of the files in the folder
I'm having minor trouble with getting my head around it cause none of the tried commands does not display anything. I would like to check file attributes of the every file in the folder (including ...
1
vote
2
answers
377
views
OPENLDAP: how to set attributes as required?
I installed OPENLDAP 2.4.44 on CentOS 7.
Now I need to set any attributes as required, is it possible?
I need that all users have this attributes required:
- givenName
- sn
- cn
- userPassword
- ...
1
vote
1
answer
316
views
`Operating-System` attribute in AD vs MAC OS
There is a Operating-System attribute in Active Directory attributes defined by Active Directory
As I don't have access to AD containing MAC OS joined devices can anyone tell me what would it ...
2
votes
1
answer
408
views
Why doesn't btrfs send | btrfs receive preserve the "no dump" file attribute?
Btrfs supports the "no dump" file attribute and it is preserved when taking snapshots. But after sending such a snapshot to another Btrfs using btrfs send and btrfs receive, all values of the "no ...
0
votes
1
answer
642
views
freeradius rlm_python tagged attributes
I've created python auth module.
When trying to perform testing with radtest reply is:
User-Password = "testing123"
NAS-IP-Address = 127.0.1.1
NAS-Port = 0
Message-Authenticator = ...
0
votes
1
answer
563
views
How to parse an ldif export for attribute values
I have an ldif export where I want to build an outputfile with one line per ldif entry; the one line contains various attribute-values in a specific order.
So the commands should parse each ldif ...
0
votes
1
answer
54
views
How to add logic to a new customized attribute in AD schema
I need to create new attribute named:
LastLoggedWorkstation
This attribute should contain the name of the last machine\IP from which the user logged on.
I know how to add new attribute to AD schema (...
0
votes
2
answers
336
views
Linux, search for extended attribute value
When a directory contains some files with non-empty extended attributes, all the attribute values can be shown as follows:
$ getfattr -d *
# file: file1
user.comment="comment1"
# file: file2
user....
1
vote
1
answer
803
views
Reporting on AD User object attributes for accounts that have never logged on
I have written a utility in C# to report on AD account details for use in access management processes. I have noticed that the values of some attributes are not included in the reports for accounts ...
2
votes
1
answer
573
views
Unable to change country in Exchange Admin center 2016, but can in AD
I have started having an issue when trying to change a user/mailboxes country/region through Exchange Admin Center in Exchange 2016.
When attempting to do so, I get this error:
Active Directory ...
2
votes
3
answers
2k
views
Identifying certain Active Directory accounts as "IsHuman"
I'd like to flag certain Active Directory accounts to indicate that they represent individual, physical people as opposed to groups, service accounts, built-in accounts, etc. This could be via a ...
4
votes
1
answer
2k
views
Permission denied when changing timestamp of a directory on a CIFS mount
The server dir is mounted with a user, who definitely has "Write Attributes" permissions in Windows.
/etc/fstab:
//server/shared /mnt/fs1 cifs noperm,rw,nounix,iocharset=utf8,gid=java,file_mode=0774,...
0
votes
0
answers
2k
views
Cannot set ACL permission at Samba share
I have setup samba share at xfs file system. Samba 4.2 runs at CentOS 7.
Setting POSIX ACLs and extended attributes works as expected (setfacl -m user:joe:rw example.txt, setfattr -n user.example -v ...
1
vote
1
answer
144
views
openldap alternative to modifying core schema syntax
I have an application that stores contacts in OpenLDAP. It uses the c attribute to store a string describing a country name. The syntax of c only allows a two-letter country code, but the application ...
2
votes
1
answer
2k
views
Resetting Windows' File Security Permissions
I'm trying to find the correct commands to reset each of my hard drives permissions to remove all of the incorrect, outdated groups/usernames that have built up on folders over time and reset the ...
0
votes
0
answers
53
views
Needed permissions to read msDS-ReplLinkFailures attribute
I'm using powershell to get the value of msDS-ReplLinkFailures attribute like this:
Get-ADRootDSE -Properties msDS-ReplLinkFailures
This works ok if the current user is member of domain's ...
2
votes
0
answers
711
views
How to search based on custom attribute?
I have some special custom attributes with my ldap setup. I have a custom attribute called GroupCode. I have bunch of entries with this special attribute that I was able to write to the ldap database. ...
2
votes
1
answer
3k
views
instanceType attribute in Active Directory
I need to change the instanceType attribute of a service account. If I try to change it from Active Directory Users and Computers console it's greyed out and if I try to change it via powershell with ...
19
votes
4
answers
138k
views
How can I list the Active Directory user attributes from a linux computer?
How can I list the Active directory user attributes from a Linux computer?
The Linux computer is already joined to the domain. I can use 'getent' to get the user and group information, but it does ...
2
votes
1
answer
1k
views
Can Mac OS X extended attributes be stored across NFS to a Linux ext4 filesystem?
MacOSX filesystems use extended attributes (e.g. "com.apple.quarantine", "com.apple.FinderInfo"):
$ ls -l@ .DS_Store
-rw-r--r--@ 1 gareth staff 18436 2 Nov 10:35 .DS_Store
com.apple....
4
votes
1
answer
10k
views
Change AD users attributes via Power Shell script
In the domain I'm working we created an attribute "regulationMatrix" . When I try a powershell command like get-aduser USER -properties * that specific attribute shows up only if it has a value set ...
0
votes
1
answer
949
views
Get all files/directories created before a certain date?
We have a samba share on an Ubuntu box that an office full of macs use. Something has happened recently and various folders now seem to have a created date of 1984 and are greyed out/inaccessible for ...
0
votes
1
answer
2k
views
is it possible to search only a files that have specific extended attributes set?
is it possible to search file in the linux OS that have particular extended attribute as this: ---S--l---
---S--l--- 1 root root 0 Mar 1004:25/opt/csTuner/iba/wys/tuer_lolk
What is S ...
0
votes
1
answer
1k
views
Is there a way to update attributes files directly in chef server without uploading cookbook again
I am using hosted chef environment in windows.I need to update the attribute file during each chef client run. Currently ,I update it manually and upload the cookbook in chef server.Is there any way ...
2
votes
0
answers
360
views
LDAP fixed length string attribute
I'm building a LDAP schema for OpenLDAP in which one of the attributes is a numeric identifier that has a constant length (e.g. 10). I am using for it the numericString syntax (1.3.6.1.4.1.1466.115....
2
votes
2
answers
3k
views
Restrict access to active directory attributes from a particular computer?
I know that some attributes in AD are classified as personal information and some are classified as public information (see the "property set" column here - http://www.kouti.com/tables/userattributes....
2
votes
1
answer
2k
views
Retrieve "IP Phone" Attribute from AD for Exchange Disclaimer/Signature
I'm trying to build a company-wide signature in Exchange using the Transport Rules and Disclaimers. I'd like to include our Skype names as part of this signature. In ADAC, the closest field I could ...
2
votes
1
answer
2k
views
Transfer files with extended attributes: Redhat to Redhat
I need to transfer files with extended attributes from my local system (SL 6.5) to a remote server (Centos 5.6). However, both scp and rsync are dropping the attributes, so I'm having to manually ...
2
votes
1
answer
652
views
OpenLDAP and range attributes
I am trying to query the "member" attribute of a groupOfNames object, and in AD, I can be sure to retrieve all of them, should they exceed the maximum of 1000 entries, by using ranged attribute ...
1
vote
2
answers
2k
views
AD - storing last 4 of employee social sec number as the employeeNumber attritubte?
I am currently working on scripting some of our access at work and would love an easy way to enter and retrieve the last 4 of a user's social sec number. It's the primary way we identify people that ...
0
votes
1
answer
203
views
Any debugfs command to set file capability?
I need an executable inside an ext2 loop filesystem to have the CAP_NET_ADMIN (cap_net_admin) file capability set.
If it is possible with debugfs, what exactly would be the commands I would type in?
...
6
votes
3
answers
6k
views
AD plugin or utility that generates unique uidnumber / gidnumber on creation [closed]
I'm looking for either:
A plugin that will auto-generate a unique uidNumber attribute value for new users and a unique gidNumber attribute value for new groups upon creation.
A configurable user/...
8
votes
2
answers
12k
views
View/Find all compressed files on the server?
I need to find all compressed files/folders regardless of file format on a Windows Server 2003 machine.
Search options do not provide this capability.
Is there a way to list/view all compressed ...
1
vote
0
answers
152
views
While using an ntfs smb share for mac users, do symbolic links and extended attributes work?
We have a majority of mac users but we'd rather support their file sharing using a Windows server with an ntfs drive, or at least a Linux server with ext3. We've had trouble, much trouble, utilizing ...
8
votes
5
answers
2k
views
Practical uses of the immutable flag in Linux [closed]
Does anyone have real world scenarios where they've used the immutable flag in Linux?
chattr +i file.txt
Since root can unset the attribute, it seems like you're protecting the file against users ...
1
vote
2
answers
315
views
How to use `list` to locate attributes changed to `s---ia-------`?
My linux CentOS server has been compromised lately (rootkit). Some files attributes have been changed, for example the command :
lsattr /bin/ls
gives
s---ia------- /bin/ls
How cand I use find ...
10
votes
1
answer
7k
views
Why does getfattr not display anything for a file that has the extended attribute bit set?
I've got a Nagios XI install running on CentOS 6.2, and want to modify the backup script. I noticed that the extended attribute bit is set for this shell script, so I want to be sure not to mess ...
2
votes
1
answer
2k
views
Overriding attributes with Chef Solo
I'm trying to install Maven 3 using Chef Solo and the following cookbook:
http://community.opscode.com/cookbooks/maven
The cookbook installs Maven 2 by default, and the first time I ran it, it ...
3
votes
2
answers
3k
views
Custom attributes in Active Directory - determining usage/function and possible removal options?
I've bumped into a highly-customized Active Directory environment (2003 FL) that's got me wondering if there's any particularly easy way to figure out what a custom attribute's function is, and what, ...
10
votes
1
answer
9k
views
Linux ext4 "extents" attribute
I noticed the e attribute on several files/directories on Linux machines installed on ext4 filesystems.
[kelly@p2820887.pubip.serverbeach.com ~]$ lsattr -d /bin
-------------e- /bin
According to ...
1
vote
1
answer
553
views
ActiveDirectory lastLogonTimeStamp Inactive
In joining a new company, I have inherited it's history.
I find that the User and Computer Object property lastLogonTimeStamp is not available. I have checked that the AD Schema version is 2003 R2, ...
2
votes
2
answers
7k
views
Where can I find more information about custom/extension attributes in Active Directory?
I want to be able use a script to write/read from extensionAttribute1-15
I was wondering where I could find more info about the size of these fields, what can be written into them. I've used google, ...
1
vote
1
answer
624
views
How to delegate control to write to directReports attribute
I'm trying to give my bind user account the ability to write to the directReports attribute. When I get into the properties, almost every other attribute has a read and a write option. I only see "...