Home |
Function rtsmb_srv_share_add_tree_ex Function rtsmb_srv_set_group_permissions_ex Function rtsmb_srv_register_user_ex Function rtsmb_set_codepage_OEM Function rtsmb_set_codepage_ANSI |
Function rtsmb_srv_register_user_exThis function adds a user to a user group. int rtsmb_srv_register_user_ex(const char * group, const char * name, const char * password); Parametersgroupname of group to which name should be added. rtsmb_srv_set_group_permissions_ex must have been called at least once before the group name can be used in rtsmb_srv_register_user_ex. nameName of the user. The name must not be longer than 12 characters. passwordThe user's password. The password must not be longer that 128 characters. return value0 on success or -1 on failure. If a user logs on to the SMB server with credentials defined using this function, the respective access rights of the given group will be applied. Under Windows, the credentials are supplied when a user logs on to Windows. Function rtsmb_srv_set_group_permissions_ex
|