How does an LDAP directory differ from a relational database system Essay
How does an LDAP directory differ from a relational database system
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: (188.8.131.52 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 user’s name.