Questions tagged [attributes]
Extended attributes (commonly called "xattrs") are a way to associate metadata with files/directories in the filesystem.
64
questions
20
votes
4
answers
161k
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 ...
11
votes
1
answer
10k
views
Linux ext4 "extents" attribute
I noticed the e attribute on several files/directories on Linux machines installed on ext4 filesystems.
[[email protected] ~]$ lsattr -d /bin
-------------e- /bin
According to ...
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 ...
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 ...
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 ...
7
votes
5
answers
523
views
Is there a tool that lets an end user manage attributes in Active Directory?
There are attributes in Active Directory such as manager and telephone numbers which can get out of date quickly. Is there an open source or inexpensive tool that can help with management of these ...
6
votes
3
answers
7k
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/...
5
votes
3
answers
11k
views
In Chef, how do I access attributes set in the environment JSON from cookbook attributes files?
I have a chef system where we have multiple environments and have attributes set in evironment JSON.
I'm having trouble accessing these from within cookbook attribute files and recipes.
4
votes
2
answers
23k
views
How to allow some (non-admin) users to edit address/phone properties for all AD users?
I need to allow HR people to edit some attributes for all Active Directory users (phone numbers, address, and similar contact informations), without giving them full administrative rights. They will ...
4
votes
1
answer
11k
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 ...
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,...
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, ...
3
votes
5
answers
1k
views
Fastest way to search for file attributes on windows?
I have many files, 2TB be exact, and must find/search for files by creator and creation date and others file attributes.
What in your opinion would be the best way to do these kinds of searches?
...
3
votes
2
answers
909
views
How do I figure out what is changing the userWorkstations attribute in Active Directory?
I just took over the IT for a medium sized business with a three domain controllers (2003/2008 Standard) and whenever I create a new user, after some time the user account cannot log into most ...
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 ...
2
votes
1
answer
4k
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 ...
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
238
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 ...
2
votes
1
answer
2k
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....
2
votes
2
answers
4k
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
698
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 ...
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 ...
2
votes
2
answers
8k
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, ...
2
votes
1
answer
2k
views
how to delete files owned by Apache?
I've installed a CMS on a shared host running Apache, now when I try to delete the root directory, some sub-directories are left with a "Permission denied" error and I can't change their attributes.
...
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 ...
2
votes
1
answer
551
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 ...
2
votes
1
answer
587
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
0
answers
799
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
0
answers
379
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
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
466
views
NTFS network file copy hangs on +R attrib files / Server 2008 R2
I have encountered at least two server 2008 R2 machines that were recently built that exhibit identical behavior. When using explorer to copy a folder of files from or to the affected host, any file ...
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 ...
1
vote
2
answers
228
views
Using rsync and which directories should I place in my exclude file when using rsync?
I would like to use a CentOS VM for a mirrored full backup of my CentOS mail server. Both are the same version and are up-to-date. I have found that without excluding certain directories the VM backup ...
1
vote
2
answers
669
views
How can I use rsync from serverA to serverB via USB hard disk drives?
I'm trying to syncronize two NAS remotely located. They run FreeNAS 8.0.3 and I've been using rsync to syncronize data over the Internet. The sync literally copies NAS1 to NAS2. Unfortunately, the ...
1
vote
2
answers
322
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 ...
1
vote
1
answer
566
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, ...
1
vote
2
answers
461
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
419
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 ...
1
vote
1
answer
721
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 "...
1
vote
0
answers
149
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=...
1
vote
1
answer
944
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 ...
1
vote
1
answer
172
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 ...
1
vote
0
answers
160
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 ...
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
2
answers
4k
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
63
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
1
answer
1k
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
617
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
1
answer
696
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
2
answers
516
views
Powershell .lnk deployment/syncing - lnk description attribute
I have been working on a powershell sync script that will be used to control what users have on their desktop (mainly lnk/shortcut files). I have it currently setup to do basic comparisons to add/...