Questions tagged [attributes]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
98 views

How Object-GUID replicated

since Object-GUID is a non replicated attribute, then how All DCs have same object-GUID for an object? how object-GUID is replicated to all DC
Sandy Santhosh's user avatar
0 votes
2 answers
3k 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 ...
jrd1989's user avatar
  • 688
0 votes
1 answer
599 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 ...
user944790's user avatar
0 votes
2 answers
2k 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 ...
kiloponge's user avatar
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=...
Gontzal's user avatar
  • 21
2 votes
1 answer
237 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 ...
ieronymous's user avatar
0 votes
0 answers
150 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 ...
Aharna's user avatar
  • 1
0 votes
1 answer
2k 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 ...
int3g3r's user avatar
0 votes
1 answer
728 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 ...
ThatKidMike's user avatar
1 vote
2 answers
457 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 - ...
Marco Ferrara's user avatar
1 vote
1 answer
412 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 ...
cyzczy's user avatar
  • 149
2 votes
1 answer
534 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 ...
Dzamo Norton's user avatar
0 votes
1 answer
733 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 = ...
Marcus's user avatar
  • 1
0 votes
1 answer
679 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 ...
Richard's user avatar
  • 21
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 (...
E235's user avatar
  • 111
0 votes
2 answers
418 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....
BowPark's user avatar
  • 103
1 vote
1 answer
938 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 ...
LupusAlbus's user avatar
2 votes
1 answer
586 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 ...
James Edmonds's user avatar
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 ...
mwolfe02's user avatar
  • 193
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,...
Ilya Shinkarenko's user avatar
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 ...
JiriHnidek's user avatar
1 vote
1 answer
170 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 ...
roelvanmeer's user avatar
  • 1,784
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 ...
Ryflex's user avatar
  • 139
0 votes
0 answers
57 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 ...
iPath's user avatar
  • 622
2 votes
0 answers
785 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. ...
special_cheese's user avatar
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 ...
Cranta Ionut's user avatar
20 votes
4 answers
159k 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 ...
Vishnu's user avatar
  • 741
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....
Gareth Randall's user avatar
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 ...
Cranta Ionut's user avatar
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 ...
jblz's user avatar
  • 215
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 ...
maihabunash's user avatar
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 ...
Nina's user avatar
  • 1
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....
Dumitru's user avatar
  • 186
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....
Sapg's user avatar
  • 21
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 ...
DTI-Matt's user avatar
  • 259
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 ...
EML's user avatar
  • 460
2 votes
1 answer
693 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 ...
Michael Böckling's user avatar
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 ...
soMuch2Learn's user avatar
0 votes
1 answer
241 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? ...
D S's user avatar
  • 1
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/...
jasonpvp's user avatar
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 ...
Volodymyr Molodets's user avatar
1 vote
0 answers
158 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 ...
scape's user avatar
  • 365
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 ...
steelcityamir's user avatar
1 vote
2 answers
321 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 ...
Danijel's user avatar
  • 256
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 ...
Alan's user avatar
  • 541
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 ...
user avatar
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, ...
HopelessN00b's user avatar
  • 53.9k
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 ...
tylerl's user avatar
  • 15.1k
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, ...
gWaldo's user avatar
  • 12k
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, ...
Jenski's user avatar
  • 145