Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [attributes]

Extended attributes (commonly called "xattrs") are a way to associate metadata with files/directories in the filesystem.

2
votes
1answer
51 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
1answer
278 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
1answer
239 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
1answer
44 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 ...
0
votes
1answer
38 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
1answer
441 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
1answer
179 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
3answers
840 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 ...
3
votes
1answer
696 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
0answers
900 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
1answer
101 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
1answer
1k 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
0answers
42 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 ...
1
vote
0answers
519 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
1answer
1k 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 ...
8
votes
3answers
40k 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
1answer
764 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
1answer
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
1answer
647 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
1answer
701 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
1answer
939 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
0answers
155 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
2answers
2k 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
1answer
1k 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
1answer
1k 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 ...
1
vote
1answer
496 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
2answers
1k 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
1answer
137 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
2answers
3k views

AD plugin or utility that generates unique uidnumber / gidnumber on creation

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/...
7
votes
2answers
9k 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
0answers
143 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
5answers
956 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
2answers
282 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
1answer
5k 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
1answer
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
2answers
2k 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, ...
7
votes
1answer
6k 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
1answer
508 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
2answers
6k 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
1answer
555 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
2answers
557 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 ...
4
votes
2answers
17k 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 ...
5
votes
3answers
9k 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.
2
votes
1answer
446 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 ...
0
votes
1answer
1k views

SharePoint and use of AD's wWWHomePage attribute

While looking at the wWWHomePage attribute in Active Directory, a web search found some questions on lousier Q&A sites, that indicate that SharePoint will populate the wWWHomePage attribute on a ...
0
votes
1answer
1k views

Defining date attributes in openldap

There doesn't appear to be a standard date syntax. How do people handle entering dates into ldap so that they are comparable and invalid data can't be entered? I'm hoping to enforce a fairly ...
0
votes
1answer
525 views

SharePoint: users cannot see document create or last modified dates

As the SharePointServices admin user for my organization, I can see all the attributes created and last modified date on documents. However, all non-admin users cannot see them. For example, all ...
2
votes
1answer
1k 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. ...
3
votes
2answers
772 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 ...
1
vote
2answers
195 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 ...