← 返回命令列表

Linux command

idmap_rfc2307 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Configure in smb.conf

idmap config DOMAIN : backend = rfc2307

Set range

idmap config DOMAIN : range = 10000-99999

说明

idmap_rfc2307 is a Samba ID mapping backend using RFC 2307 LDAP schema. It maps Windows SIDs to Unix UIDs/GIDs stored in LDAP. The backend reads uidNumber and gidNumber attributes from Active Directory or LDAP. It provides consistent ID mapping across systems.

参数

backend
Set to rfc2307.
range
UID/GID range.
ldap_server
LDAP server mode.
bind_path_user
User search base.
bind_path_group
Group search base.

FAQ

What is the idmap_rfc2307 command used for?

idmap_rfc2307 is a Samba ID mapping backend using RFC 2307 LDAP schema. It maps Windows SIDs to Unix UIDs/GIDs stored in LDAP. The backend reads uidNumber and gidNumber attributes from Active Directory or LDAP. It provides consistent ID mapping across systems.

How do I run a basic idmap_rfc2307 example?

Run `idmap config DOMAIN : backend = rfc2307` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does backend do in idmap_rfc2307?

Set to rfc2307.