Thursday, August 22, 2019
How does an LDAP directory differ from a relational database system Essay Example for Free
How does an LDAP directory differ from a relational database system Essay 5. How does an LDAP directory differ from a relational database system? â⬠¢You cannot write a stored procedure or trigger to help maintain LDAP data. â⬠¢The ââ¬Å"Dâ⬠in ââ¬Å"LDAPâ⬠stands for ââ¬Å"directoryâ⬠, not ââ¬Å"databaseâ⬠â⬠¢The ââ¬Å"Pâ⬠in ââ¬Å"LDAPâ⬠clearly indicates that LDAP is, in fact, a ââ¬Å"protocolâ⬠. â⬠¢LDAP has no notion of rows, tables, or other database elements. â⬠¢LDAP has no notion of relational integrity â⬠¢LDAP data is a hierarchical collection of objects, not a linked collection of relations. 6. What is the basic unit of information in an LDAP directory? What is the structure of an attribute? An entry is the basic unit of information in an LDAP directory. Each attribute has a name (an attribute type or description) and one or more values. 10. Where is the LDAP device object class defined? Which of its attributes are mandatory and which are optional? The device object class is defined in the /etc/ldap/schema/core.ldif file. Its mandatory attribute is cn. Its optional attributes are serial Number, See Also, owner, ou, o, l, and description. 11. How would you determine the longer name for the l (lowercase ââ¬Å"lâ⬠) LDAP object class? $ grep \l\ /etc/openldap/schema/*.ldif/etc/openldap/schema/core.ldif:olcAttributeTypes: (2.5.4.7 NAME ( l localityName ) 1. Which two daemons are part of the Samba suite? What does each do? SMBD: The smbd program provides Sambaââ¬â¢s file and printer services, using one TCP/IP stream and one daemon per client. It is controlled from the default configuration file, samba_dir/lib/smb.conf, and can be overridden by command-line options. NMBD: The nmbd program is Sambaââ¬â¢s NetBIOS name and browsing daemon. It replies to broadcast NetBIOS over TCP/IP (NBT) name-service requests from SMB clients and optionally to Microsoftââ¬â¢s Windows Internet Name Service (WINS) requests. Both of these are versions of the name-to-address lookup required by SMB clients. The broadcast version uses UDP/IP broadcast on the local subnet only, while WINS uses TCP/IP, which may be routed. If running as a WINS server, nmbd keeps a current name and address database in the file wins.dat in the samba_dir/var/locks directory. 2. What steps are required for mapping a Windows user to a Linux user? Set the username map parameter in smb.conf to point to the map file, frequently /etc/samba/smbusers, and assign a Samba password to the user 3. How can a system administrator add a Samba password for a new user? smbpasswd username 4. What is the purpose of the [homes] share? Should this share be browseable? Why? The [homes] share implicitly shares the home directory of each user without having to define specific shares. 5. Describe how Sambaââ¬â¢s handling of users differs from that of NFS. NFS directory hierarchies are mounted by root and NFS maps users on the client to users on the server. A nonroot user mounts a Samba share and all accesses to that share occur in that users name.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.