I found a dirty(?) tips :
1) when I add a new user in my LDAP, I simulate his first connection so that Bob could share with Alice (or add Alice in a group) even if she never connected to seafile-server
mysql -u myseafileuser -p
password: secret
mysql> use ccnet-db;
mysql> INSERT INTO LDAPUser (email,is_staff,is_active,extra_attrs)
2)(optionnal). If I need to insert Alice in group AND IF i know the group_id of this group
mysql > INSERT INTO GroupUser (group_id,user_name,is_staff) VALUES
(1,'
Al...@example.net',0);